Variables

finalchat:Null<AvailableChat>

Chat metadata for this participant when it is available as a direct Chat

finaldisplayName:String

Display name to show for this participant

finalisSelf:Bool

True when this participant is the connected account

finalphotoUri:Null<String>

Avatar URI for this participant, or null when none is known

finalplaceholderUri:String

Fallback avatar URI to use when no photo is available

finalroles:ReadOnlyArray<Role>

Roles this participant has in the Chat

Methods

profile(client:Client):Promise<Profile>

Load the participant's profile

Parameters:

client

connected client used to send the profile query

Returns:

Promise resolving to the participant profile

status(client:Client):Promise<Status>

Load the participant's status

Parameters:

client

connected client used to send the profile query

Returns:

Promise resolving to the participant status