Enumeration MessagingEvents

Index

Enumeration members

isDelivered

isDelivered:

conversation

conversation: Conversation

isReaded

isReaded:

conversation

conversation: Conversation

onCreateConversation

onCreateConversation:

conversation

conversation: Conversation

onEditConversation

onEditConversation:

conversation

conversation: Conversation

onEditMessage

onEditMessage:

message

message: Message

onEditUser

onEditUser:

customData

customData: Object

privateCustomData

privateCustomData: Object

userId

userId: string

onError

onError:

code

code: number

Messaging error code, possible values are:

code description
Error_1 Wrong transport message structure
Error_2 Unknown event name
Error_3 User not auth
Error_4 Wrong message structure
Error_5 Conversation not found or user not in participant list
Error_6 Conversation not found or user can't moderate conversation
Error_7 Conversation already exists
Error_8 Conversation does not exists
Error_9 Message already exists
Error_10 Message does not exists
Error_11 Message was deleted
Error_12 ACL error
Error_13 User already in participant list
Error_14 No rights to edit user
Error_15 Public join is not available in this conversation
Error_16 Conversation was deleted
Error_17 Conversation is distinct
Error_18 RESERVED
Error_19 RESERVED
Error_20 RESERVED
Error_21 Range larger then allowed by service
Error_22 Requested counter more than current
Error_23 Message size so large
Error_777 Oops! Something went wrong

description

description: string

onGetConversation

onGetConversation:

conversation

conversation: Conversation

onGetUser

onGetUser:

Optional conversations_list

conversations_list: Array<string>

customData

customData: Object

Optional privateCustomData

privateCustomData: Object

userId

userId: string

onRemoveConversation

onRemoveConversation:

conversation

conversation: Conversation

onRemoveMessage

onRemoveMessage:

message

message: Message

onSendMessage

onSendMessage:

message

message: Message

onTyping

onTyping:

userId

userId: string