Home > borogove > Member

Member class

Signature:

export class borogove_Member 

Constructors

Constructor Modifiers Description
(constructor)(id, displayName, photoUri, isSelf, roles, jid, presence, chat) protected Constructs a new instance of the borogove_Member class

Properties

Property Modifiers Type Description
chat borogove_AvailableChat | null Chat metadata for this member when it is available as a direct Chat
displayName string Display name to show for this member
id string A unique id for this member
isSelf boolean True when this member is the connected account
photoUri string | null Avatar URI for this member, or null when none is known
placeholderUri string Fallback avatar URI to use when no photo is available
roles Array<borogove_Role> Roles this member has in the Chat
showPresence borogove_ShowPresence

Methods

Method Modifiers Description
profile(client) Load the member's profile
status(client) Load the member's status