# Presence

data class Presence

Presence information instance.

This class contains presence information for a user defined by a userUri.

#### Parameters

userUri

User identifier.

state

Current user status.

avatar

User avatar encoded in base64.

avatarUrl

Public Url containing the user's avatar.

displayName

DisplayName assigned to the user.

userName

Username assigned to the user.

domain

Domain where the user belongs to.

mood

Current user mood.

role

Current user Role.

note

Current user notes.

## Types

State
Link copied to clipboard
enum State : Enum<Presence.State>

## Properties

avatar
Link copied to clipboard
val avatar: String?
avatarUrl
Link copied to clipboard
val avatarUrl: URL?
displayName
Link copied to clipboard
val displayName: String?
domain
Link copied to clipboard
val domain: String
mood
Link copied to clipboard
val mood: String?
note
Link copied to clipboard
val note: String?
role
Link copied to clipboard
val role: Role
state
Link copied to clipboard
val state: Presence.State
userName
Link copied to clipboard
val userName: String
userUri
Link copied to clipboard
val userUri: String