Rate this page:

ConversationParticipant

Props

canEditAllMessages

Optional
Copy URL
canEditAllMessages: 

undefined

|

false

|

true

Specify if 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

Optional
Copy URL
canEditMessages: 

undefined

|

false

|

true

Specify if the participant can edit its own messages in the conversation. The permission is given by default. 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

Optional
Copy URL
canManageParticipants: 

undefined

|

false

|

true

Specify if 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

Optional
Copy URL
canRemoveAllMessages: 

undefined

|

false

|

true

Specify if 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

Optional
Copy URL
canRemoveMessages: 

undefined

|

false

|

true

Specify if the participant can remove its own messages in the conversation. The permission is given by default. 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

Optional
Copy URL
canWrite: 

undefined

|

false

|

true

Specify if the participant can write in the conversation. The permission is given by default. It could be changed only if the user that calls this method has the ConversationParticipant.canManageParticipants permission.

imUserId

Copy URL
imUserId: 

number

IM User id.

lastReadEventSequence

Optional
Copy URL
lastReadEventSequence: 

undefined

|

number

Sequence of the event that was last marked as read or 0, if the participant didn't mark events as read. Participants mark events as read via Conversation.markAsRead.

owner

Optional
Copy URL
owner: 

undefined

|

false

|

true

Specify if 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.