ConversationParticipant
Props
canEditAllMessages
canEditAllMessages: undefined
| false
| true
Whether the participant can edit messages other than its own. It could be set only if the user that calls this method has the ConversationParticipant.canManageParticipants permission. If the user that calls this method has both canManageParticipants and isOwner permissions, it can edit other owners.
canEditMessages
canEditMessages: undefined
| false
| true
Whether the participant can edit its own messages in the conversation. This is a default permission. It could be changed only if the user that calls this method has the ConversationParticipant.canManageParticipants permission. If the user that calls this method has both canManageParticipants and owner permissions, it can edit other owners.
canManageParticipants
canManageParticipants: undefined
| false
| true
Whether the conversation participant can manage other participants in the conversation:
- add, remove and edit permissions
- add and remove participants It could be set only if the user that calls this method has the ConversationParticipant.canManageParticipants permission. If the user that calls this method has both canManageParticipants and isOwner permissions, it can edit other owners.
canRemoveAllMessages
canRemoveAllMessages: undefined
| false
| true
Whether the participant can remove messages other than its own. It could be changed only if the user that calls this method has the ConversationParticipant.canManageParticipants permission. If the user that calls this method has both canManageParticipants and isOwner permissions, it can edit other owners.
canRemoveMessages
canRemoveMessages: undefined
| false
| true
Whether the participant can remove its own messages in the conversation. This is a default permission. It could be changed only if the user that calls this method has the ConversationParticipant.canManageParticipants permission. If the user that calls this method has both canManageParticipants and isOwner permissions, it can edit other owners.
canWrite
canWrite: undefined
| false
| true
Whether the participant can write in the conversation. This is a default permission. It could be changed only if the user that calls this method has the ConversationParticipant.canManageParticipants permission.
imUserId
imUserId: number
IM User id.
lastReadEventSequence
lastReadEventSequence: undefined
| number
Sequence of the event that has been last marked as read or 0, if the participant has not marked events as read. Participants mark events as read via Conversation.markAsRead.
owner
owner: undefined
| false
| true
Whether the conversation participant is the owner. It could be set only if the user that calls this method has the ConversationParticipant.canManageParticipants and ConversationParticipant.owner permissions. There could be more than one owner in the conversation. If true, the participant can edit the conversation. If true and canManageParticipants is true, the participant can manage other owners.