Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Enumeration Members

Enumeration Members

CHATROOM_MEMBERS_FULL: 704

The number of chatroom members reaches the limit.

CHATROOM_NOT_EXIST: 705

The chatroom is not found.

CHATROOM_NOT_JOINED: 702

The user being operated is not in the chatroom.

CONVERSATION_NOT_EXIST: 1400

The current conversation not exist .

GROUP_ALREADY_JOINED: 601

The current user is already in the group.

GROUP_MEMBERS_FULL: 606

The number of members in the group reaches the limit.

GROUP_MEMBERS_LIMIT: 607

The maximum number of group members exceeds the limit during group creation.

GROUP_MEMBER_ATTRIBUTES_SET_FAILED: 609

Failed to set the custom attributes of a group member.

GROUP_NOT_EXIST: 605

The group is not found.

GROUP_NOT_JOINED: 602

The user being operated is not in the group.

MAX_LIMIT: 50

The upper limit is reached.

MESSAGE_CURRENT_LIMITING: 509

Group chat ID current limiting.

MESSAGE_EXTERNAL_LOGIC_BLOCKED: 502

The message was blocked.

MESSAGE_INCLUDE_ILLEGAL_CONTENT: 501

The message content contains illegal or sensitive words.

MESSAGE_MODERATION_BLOCKED: 508

The message is blocked by the Moderation service.

MESSAGE_NOT_FOUND: 51

The message is not found.

MESSAGE_PARAMETER_ERROR: 205

The message parameter is invalid.

MESSAGE_RECALL_TIME_LIMIT: 504

The message recall has exceeded the time limit.

MESSAGE_SIZE_LIMIT: 511

You have exceeded the maximum allowed size of a message body.

MESSAGE_WEBSOCKET_DISCONNECTED: 510

The network is disconnected, causing message sending failure.

MODIFY_MESSAGE_FAILED: 1304

The message modification failed.

MODIFY_MESSAGE_FORMAT_ERROR: 1303

The format of the modified messaged is incorrect.

MODIFY_MESSAGE_NOT_EXIST: 1302

The message to modify does not exist.

NO_PERMISSION: 52

Unauthorized operation.

OPERATION_NOT_ALLOWED: 54

An operation that is not allowed.

OPERATION_UNSUPPORTED: 53

Unsupported Operation.

PARSE_FILE_ERROR: 203

Parse file failed.

PERMISSION_DENIED: 603

Permission denied.

PRESENCE_PARAM_EXCEED: 1100

The parameter length exceeds the limit when posting custom presence status.

REACTION_ALREADY_ADDED: 1101

The Reaction already exists.

REACTION_CREATING: 1102

A Reaction is being created by multiple users at the same time.

REACTION_OPERATION_IS_ILLEGAL: 1103

The user does not have the permission for the Reaction operation. For example, the user who does not add the reaction attempts to delete it, or the user that is neither the sender nor recipient of the one-to-one message attempts to add the Reaction.

REQUEST_ABORT: -4

The request is canceled.

REQUEST_PARAMETER_ERROR: -3

The parameter is invalid.

REQUEST_SUCCESS: 0

No error.

REQUEST_TIMEOUT: -1

The server response times out.

REQUEST_UNKNOWN: -2

A general error.

REST_PARAMS_STATUS: 700

Invalid token or App Key.

SDK_RUNTIME_ERROR: 999

Websocket error.

SERVER_BUSY: 500

The server is busy.

SERVER_UNKNOWN_ERROR: 503

Unknown error.

SERVICE_NOT_ALLOW_MESSAGING: 506

The message fails to be delivered because the user is not on the allow list.

SERVICE_NOT_ALLOW_MESSAGING_MUTE: 507

The current user is muted.

SERVICE_NOT_ENABLED: 505

The service is not enabled.

THREAD_ALREADY_EXIST: 1301

Chat thread already exists.

THREAD_NOT_EXIST: 1300

The chatThread is not found.

TRANSLATION_FAILED: 1204

Failed to obtain the translation service.

TRANSLATION_NOT_VALID: 1200

Invalid language code.

TRANSLATION_TEXT_TOO_LONG: 1201

The translated text is too long.

USER_MUTED_BY_ADMIN: 219

Global muted.

USER_NOT_FOUND: 204

User does not found.

USER_NOT_FRIEND: 221

The user is not on your contact list, and you cannot send messages to him or her. Note: You can send messages to strangers by default. This error occurs only when you enable the function of allowing to send messages only to your contacts.

WEBIM_CONNCTION_AJAX_ERROR: 17

A general error.

WEBIM_CONNCTION_APPKEY_NOT_ASSIGN_ERROR: 27

The App Key is invalid.

WEBIM_CONNCTION_AUTH_ERROR: 2

The user authentication fails. The reasons are as follows. The SDK is not initiated. The user is not login.

WEBIM_CONNCTION_CALLBACK_INNER_ERROR: 31

The callback inner error code while the message is successfully sent.

WEBIM_CONNCTION_CLIENT_OFFLINE: 32

The current user is offline.

WEBIM_CONNCTION_DISCONNECTED: 16

Websocket is disconnected

WEBIM_CONNCTION_GETROSTER_ERROR: 12

Fails to get the token.

WEBIM_CONNCTION_OPEN_ERROR: 1

Login failed.

WEBIM_CONNCTION_TOKEN_NOT_ASSIGN_ERROR: 28

The token is invalid.

WEBIM_CONNCTION_USER_KICKED_BY_CHANGE_PASSWORD: 216

The password is renewed.

WEBIM_CONNCTION_USER_KICKED_BY_OTHER_DEVICE: 217

The user was kicked off from another device.

WEBIM_CONNCTION_USER_LOGIN_ANOTHER_DEVICE: 206

The user is logged in on another device.

WEBIM_CONNCTION_USER_REMOVED: 207

The user was removed.

WEBIM_CONNECTION_CLOSED: 39

The user is not logged in.

WEBIM_CONNECTION_ERROR: 40

The user authentication fails.

WEBIM_DOWNLOADFILE_ERROR: 200

File-downloading failed.

WEBIM_LOAD_MSG_ERROR: 604

Internal error.

WEBIM_UPLOADFILE_ERROR: 101

The uploading of the file failed.

WEBIM_UPLOADFILE_NO_LOGIN: 102

The current user is not logged in when uploading the file.

Generated using TypeDoc