Home > borogove > Participant
Participant class
Signature:
export class borogove_Participant
Constructors
| Constructor | Modifiers | Description |
|---|---|---|
| (constructor)(displayName, photoUri, placeholderUri, isSelf, roles, jid, chat) |
protected
|
Constructs a new instance of the borogove_Participant class
|
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
| chat | borogove_AvailableChat | null | Chat metadata for this participant when it is available as a direct Chat | |
| displayName | string | Display name to show for this participant | |
| isSelf | boolean | True when this participant is the connected account | |
| photoUri | string | null | Avatar URI for this participant, or null when none is known | |
| placeholderUri | string | Fallback avatar URI to use when no photo is available | |
| roles | borogove_Role[] | Roles this participant has in the Chat |
Methods
| Method | Modifiers | Description |
|---|---|---|
| profile(client) | Load the participant's profile | |
| status(client) | Load the participant's status |