Participant

interface Participant

Representation of a Conversation Participant object.

Types

Link copied to clipboard
Indicates reason for participant info update.

Functions

Link copied to clipboard
abstract fun getAndSubscribeUser(listener: CallbackListener<User>)
Return subscribed user object for current participant
Link copied to clipboard
abstract fun getAttributes(): Attributes
Custom attributes associated with this participant.
Link copied to clipboard
abstract fun getChannel(): String
Return channel of current participant (chat, sms, whatsapp, etc...
Link copied to clipboard
Return conversation this participant belongs to.
Link copied to clipboard
abstract fun getDateCreated(): String
Get creation date of the participant as an ISO 8601 string.
Link copied to clipboard
abstract fun getDateCreatedAsDate(): Date
Get creation date of the participant.
Link copied to clipboard
abstract fun getDateUpdated(): String
Get update date of the participant as an ISO 8601 string.
Link copied to clipboard
abstract fun getDateUpdatedAsDate(): Date
Get update date of the participant.
Link copied to clipboard
abstract fun getIdentity(): String
Return user identity for current participant
Link copied to clipboard
Return participant's last read message index for this conversation
Link copied to clipboard
Return participant's last read message timestamp for this conversation
Link copied to clipboard
abstract fun getSid(): String
Returns unique identifier of a participant on a conversation.
Link copied to clipboard
abstract fun remove(listener: StatusListener)
Remove this participant from conversation
Link copied to clipboard
abstract fun setAttributes(attributes: Attributes, listener: StatusListener)
Set attributes associated with this participant.