NIM CPP SDK  8.3.5
nim_chatroom_def.h
Go to the documentation of this file.
1 
7 #ifndef NIM_CHATROOM_SDK_EXPORT_HEADERS_NIM_CHATROOM_DEF_H_
8 #define NIM_CHATROOM_SDK_EXPORT_HEADERS_NIM_CHATROOM_DEF_H_
9 
10 #include "public_define/nim_util_include.h"
11 #ifdef __cplusplus
12  extern"C"
13  {
14 #endif
15 
26  typedef void(*nim_chatroom_enter_cb_func)(int64_t room_id, int enter_step, int error_code, const char *result, const char *json_extension, const void *user_data);
27 
37  typedef void(*nim_chatroom_exit_cb_func)(int64_t room_id, int error_code, int exit_type, const char *json_extension, const void *user_data);
38 
47  typedef void(*nim_chatroom_link_condition_cb_func)(int64_t room_id, int condition, const char *json_extension, const void *user_data);
48 
58  typedef void(*nim_chatroom_sendmsg_arc_cb_func)(int64_t room_id, int error_code, const char *result, const char *json_extension, const void *user_data);
59 
68  typedef void(*nim_chatroom_receive_msg_cb_func)(int64_t room_id, const char *result, const char *json_extension, const void *user_data);
69 
78  typedef void(*nim_chatroom_receive_notification_cb_func)(int64_t room_id, const char *result, const char *json_extension, const void *user_data);
79 
89  typedef void(*nim_chatroom_get_members_cb_func)(int64_t room_id, int error_code, const char *result, const char *json_extension, const void *user_data);
90 
100  typedef void(*nim_chatroom_get_msg_cb_func)(int64_t room_id, int error_code, const char *result, const char *json_extension, const void *user_data);
101 
111  typedef void(*nim_chatroom_set_member_attribute_cb_func)(int64_t room_id, int error_code, const char *result, const char *json_extension, const void *user_data);
112 
122  typedef void(*nim_chatroom_get_info_cb_func)(int64_t room_id, int error_code, const char *result, const char *json_extension, const void *user_data);
123 
132  typedef void(*nim_chatroom_kick_member_cb_func)(int64_t room_id, int error_code, const char *json_extension, const void *user_data);
133 
143  typedef void(*nim_chatroom_temp_mute_member_cb_func)(int64_t room_id, int error_code, const char *result, const char *json_extension, const void *user_data);
144 
153  typedef void(*nim_chatroom_update_room_info_cb_func)(int64_t room_id, int error_code, const char *json_extension, const void *user_data);
154 
163  typedef void(*nim_chatroom_update_my_role_cb_func)(int64_t room_id, int error_code, const char *json_extension, const void *user_data);
164 
173  typedef void(*nim_chatroom_queue_offer_cb_func)(int64_t room_id, int error_code, const char *json_extension, const void *user_data);
174 
184  typedef void(*nim_chatroom_queue_poll_cb_func)(int64_t room_id, int error_code, const char *result, const char *json_extension, const void *user_data);
185 
195  typedef void(*nim_chatroom_queue_list_cb_func)(int64_t room_id, int error_code, const char *result, const char *json_extension, const void *user_data);
196 
206  typedef void(*nim_chatroom_queue_header_cb_func)(int64_t room_id, int error_code, const char *result, const char *json_extension, const void *user_data);
207 
216  typedef void(*nim_chatroom_queue_drop_cb_func)(int64_t room_id, int error_code, const char *json_extension, const void *user_data);
217 
226  typedef void(*nim_chatroom_queue_init_cb_func)(int64_t room_id, int error_code, const char *json_extension, const void *user_data);
227 
236  typedef void(*nim_chatroom_query_robots_cb_func)(int rescode, const char *result, const char *json_extension, const void *user_data);
237 
247  typedef void(*nim_chatroom_batch_update_cb)(int64_t room_id, int error_code, const char *result, const char *json_extension, const void *user_data);
248 
252  static const char *kNIMChatRoomEnterKeyNick = "nick";
253  static const char *kNIMChatRoomEnterKeyAvatar = "avatar";
254  static const char *kNIMChatRoomEnterKeyExt = "ext";
255  static const char *kNIMChatRoomEnterKeyNotifyExt = "notify_ext"; //进入聊天室的可选填信息Json Keys
257 
261  static const char *kNIMChatRoomEnterKeyAppKey = "app_key";
262  static const char *kNIMChatRoomEnterKeyAppDataPath = "app_data_path";
263  static const char *kNIMChatRoomEnterKeyLogLevel = "log_level";
264  static const char *kNIMChatRoomEnterKeyAddress = "address";
265  static const char *kNIMChatRoomEnterKeyRandomID = "random_id";
266  static const char *kNIMChatRoomEnterKeyAccID = "accid";
267  static const char *kNIMChatRoomEnterKeyToken = "token"; //独立聊天室进入的信息Json Keys
269 
270 
274  //协议定义
275  static const char *kNIMChatRoomMsgKeyType = "msg_type";
276  static const char *kNIMChatRoomMsgKeyAttach = "msg_attach";
277  static const char *kNIMChatRoomMsgKeyClientMsgid = "client_msg_id";
278  static const char *kNIMChatRoomMsgKeyResendFlag = "resend_flag";
279  static const char *kNIMChatRoomMsgKeyExt = "ext";
280  static const char *kNIMChatRoomMsgKeyAntiSpamEnable = "anti_spam_enable";
281  static const char *kNIMChatRoomMsgKeyAntiSpamContent = "anti_spam_content";
282  static const char *kNIMChatRoomMsgKeyAntiSpamBizId = "anti_spam_business_id";
283  static const char *kNIMChatRoomMsgKeyHistorySave = "history_save";
284  static const char *kNIMChatRoomMsgKeyAntiSpamUsingYiDun = "anti_spam_using_yidun";
285  static const char *kNIMChatRoomMsgKeyBody = "body";
286  //v7.8 新增
287  static const char* kNIMChatRoomMsgKeyThirdPartyCBEXT = "third_party_callback_ext";
288  static const char* kNIMChatRoomMsgKeySubType = "msg_sub_type";
289  static const char* kNIMChatRoomMsgKeyYiDunAntiCheating = "yidun_anti_cheating";
291  //v8.0.0新增
292  static const char* kNIMChatRoomMsgKeyEnvConfig = "env_config";
294  //以下定义对于客户端只读
295  static const char *kNIMChatRoomMsgKeyRoomID = "room_id";
296  static const char *kNIMChatRoomMsgKeyFromAccount = "from_id";
297  static const char *kNIMChatRoomMsgKeyTime = "time";
298  static const char *kNIMChatRoomMsgKeyFromClientType = "from_client_type";
299  static const char *kNIMChatRoomMsgKeyFromNick = "from_nick";
300  static const char *kNIMChatRoomMsgKeyFromAvatar = "from_avator";
301  static const char *kNIMChatRoomMsgKeyFromExt = "from_ext";
302  static const char *kNIMChatRoomMsgKeyHighPriorityFlag = "high_priority_flag";
304  //本地定义
305  static const char *kNIMChatRoomMsgKeyLocalFilePath = "local_res_path";
306  static const char *kNIMChatRoomMsgKeyLocalResId = "res_id";
307  static const int iNIMMaxBatchQueue = 100; /*< 聊天室更新的批量最大数*/ //消息结构 Json Keys
309 
312  {
326  };
327 
330  {
339  };
340 
344  static const char *kNIMChatRoomEnterCallbackKeyRoomInfo = "room_info";
345  static const char *kNIMChatRoomEnterCallbackKeyMyInfo = "my_info"; //进入回调结果Json Keys
348 
352  static const char *kNIMChatRoomInfoKeyID = "id";
353  static const char *kNIMChatRoomInfoKeyName = "name";
354  static const char *kNIMChatRoomInfoKeyAnnouncement = "announcement";
355  static const char *kNIMChatRoomInfoKeyBroadcastUrl = "broadcast_url";
356  static const char *kNIMChatRoomInfoKeyCreatorID = "creator_id";
357  static const char *kNIMChatRoomInfoKeyValidFlag = "valid_flag";
358  static const char *kNIMChatRoomInfoKeyExt = "ext";
359  static const char *kNIMChatRoomInfoKeyOnlineCount = "online_count";
360  static const char *kNIMChatRoomInfoKeyMuteAll = "mute_all";
361  static const char *kNIMChatRoomInfoKeyQueuelevel = "queuelevel"; //聊天室Info Json Keys
363 
366  {
373  };
374 
378  static const char *kNIMChatRoomMemberInfoKeyRoomID = "room_id";
379  static const char *kNIMChatRoomMemberInfoKeyAccID = "account_id";
380  static const char *kNIMChatRoomMemberInfoKeyType = "type";
381  static const char *kNIMChatRoomMemberInfoKeyLevel = "level";
382  static const char *kNIMChatRoomMemberInfoKeyNick = "nick";
383  static const char *kNIMChatRoomMemberInfoKeyAvatar = "avatar";
384  static const char *kNIMChatRoomMemberInfoKeyExt = "ext";
385  //以下字段即时生成,仅在在线状态中存储
386  static const char *kNIMChatRoomMemberInfoKeyOnlineState = "online_state";
387  static const char *kNIMChatRoomMemberInfoKeyGuestFlag = "guest_flag";
388  static const char *kNIMChatRoomMemberInfoKeyEnterTimetag = "enter_timetag";
389  //以下字段仅在返回前端时使用
390  static const char *kNIMChatRoomMemberInfoKeyBlacklist = "is_blacklist";
391  static const char *kNIMChatRoomMemberInfoKeyMuted = "is_muted";
392  static const char *kNIMChatRoomMemberInfoKeyValid = "valid";
393  static const char *kNIMChatRoomMemberInfoKeyUpdateTimetag = "update_timetag";
394  static const char *kNIMChatRoomMemberInfoKeyTempMute = "temp_mute";
395  static const char *kNIMChatRoomMemberInfoKeyTempMuteRestDuration = "temp_mute_rest_duration"; //聊天室个人Info Json Keys
397 
401  static const char *kNIMChatRoomUpdateMyRoleExtNeedSave = "need_save"; //更新我的信息扩展字段 Json Keys
403 
406  {
409  };
410 
413  {
416  };
417 
420  {
423  };
424 
427  {
432  };
433 
436  {
441  };
442 
446  static const char *kNIMChatRoomGetMembersKeyType = "type";
447  static const char *kNIMChatRoomGetMembersKeyOffset = "offset";
448  static const char *kNIMChatRoomGetMembersKeyLimit = "limit"; //分页获取成员列表条件Keys
450 
454  static const char *kNIMChatRoomGetMsgHistoryKeyStartTime = "start";
455  static const char *kNIMChatRoomGetMsgHistoryKeyLimit = "limit";
456  static const char *kNIMChatRoomGetMsgHistoryKeyReverse = "reverse";
457  static const char *kNIMChatRoomGetMsgHistoryKeyMsgtypes = "msgtypes"; //分获取历史消息条件Keys
459 
463  static const char *kNIMChatRoomSetMemberAttributeKeyAccoutID = "account_id";
464  static const char *kNIMChatRoomSetMemberAttributeKeyAttribute = "attribute";
465  static const char *kNIMChatRoomSetMemberAttributeKeyOpt = "opt";
466  static const char *kNIMChatRoomSetMemberAttributeKeyNotifyExt = "notify_ext"; //设定聊天室成员标记身份条件Keys
468 
472  static const char *kChatRoomNotificationKeyData = "data";
473  static const char *kChatRoomNotificationKeyID = "id";
474  static const char *kChatRoomNotificationDataKeyExt = "ext";
475  static const char *kChatRoomNotificationDataKeyOpt = "operator";
476  static const char *kChatRoomNotificationDataKeyOptNick = "opeNick";
477  static const char *kChatRoomNotificationDataKeyTargetNick = "tarNick";
478  static const char *kChatRoomNotificationDataKeyTarget = "target";
479  static const char *kChatRoomNotificationDataKeyTempMuteDuration = "muteDuration";
480  static const char *kChatRoomNotificationDataKeyMuteFlag = "muted";
481  static const char *kChatRoomNotificationDataKeyTempMutedFlag = "tempMuted";
483  static const char *kChatRoomNotificationDataKeyQueueChange = "queueChange"; //聊天室通知Keys
485 
489  static const char *kNIMChatRoomQueueElementKey = "key";
490  static const char *kNIMChatRoomQueueElementValue = "value"; //聊天室麦序队列元素Keys
492 
496  static const char *kNIMChatRoomNotificationQueueChangedType_OFFER = "OFFER"; //放元素到新队列
497  static const char *kNIMChatRoomNotificationQueueChangedType_POLL = "POLL"; //从队列中取出新队列
498  static const char *kNIMChatRoomNotificationQueueChangedType_DROP = "DROP"; //清理队列操作
499  static const char *kNIMChatRoomNotificationQueueChangedType_PARTCLEAR = "PARTCLEAR";//部分清理操作(发生在提交元素的用户掉线时,清理这个用户对应的key //麦序队列变更通知扩展字段type取值
501 
502 
507  static const char *kNIMChatRoomNotificationQueueChangedKeyKey = "key";
508  static const char *kNIMChatRoomNotificationQueueChangedKeyValue = "content"; //聊天室通知 麦序队列变更通知扩展字段queueChange keys
510 
518  static const char *kNIMChatRoomNotificationQueueBatchChangedKeyObject = "kvObject"; //聊天室通知 麦序队列中有批量变更通知扩展字段queueBatchChange keys
520 
523  {
544  };
545 
548  {
552  };
553 
556  {
562  };
563 
566  {
572  };
573 
578  //协议定义
579  static const char *kNIMRobotInfoKeyAccid = "accid";
580  static const char *kNIMRobotInfoKeyName = "name";
581  static const char *kNIMRobotInfoKeyIcon = "icon";
582  static const char *kNIMRobotInfoKeyIntro = "intro";
583  static const char *kNIMRobotInfoKeyRobotId = "rid";
584  static const char *kNIMRobotInfoKeyCreateTime = "create_timetag";
585  static const char *kNIMRobotInfoKeyUpdateTime = "update_timetag"; //机器人信息 Json Keys
587 
591  static const char* kEnterKeyPublicConfigRoot = "public_config";
592  static const char* kEnterKeyDedicatedClusteFlag = "dedicated_cluste_flag";
593  static const char* kEnterKeyNegoKeyNECA = "nego_key_neca";
594  static const char* kEnterKeyCommNECA = "comm_enca";
595  static const char* kEnterKeyHandShakeType = "hand_shake_type";
600  static const char* kEnterKeyPrivateConfigRoot = "private_config";
601  static const char* kEnterKeyNegoKeyNECAKeyPA = "nego_key_enca_key_parta";
602  static const char* kEnterKeyNegoKeyNECAKeyPB = "nego_key_enca_key_partb";
603  static const char* kEnterKeyNegoKeyNECAKeyV = "nego_key_enca_key_version";
605  typedef char* NIMChatRoomConfigGetter;
606 #define EmptyNIMChatRoomConfigGetter ("")
607 #ifdef __cplusplus
608 };
609 #endif //__cplusplus
610 #endif //NIM_CHATROOM_SDK_EXPORT_HEADERS_NIM_CHATROOM_DEF_H_
kNIMChatRoomEnterCallbackKeyMyInfo
static const char * kNIMChatRoomEnterCallbackKeyMyInfo
Definition: nim_chatroom_def.h:345
kNIMChatRoomGetMembersKeyLimit
static const char * kNIMChatRoomGetMembersKeyLimit
Definition: nim_chatroom_def.h:448
kNIMChatRoomNotificationIdMemberTempUnMute
@ kNIMChatRoomNotificationIdMemberTempUnMute
Definition: nim_chatroom_def.h:538
kNIMRobotInfoKeyName
static const char * kNIMRobotInfoKeyName
Definition: nim_chatroom_def.h:580
NIMChatRoomLoginState
NIMChatRoomLoginState
Definition: nim_chatroom_def.h:405
kNIMChatRoomMsgKeyHistorySave
static const char * kNIMChatRoomMsgKeyHistorySave
Definition: nim_chatroom_def.h:283
kChatRoomNotificationDataKeyTempMuteDuration
static const char * kChatRoomNotificationDataKeyTempMuteDuration
Definition: nim_chatroom_def.h:479
kNIMChatRoomNotificationQueueBatchChangedKeyType
static const char * kNIMChatRoomNotificationQueueBatchChangedKeyType
Definition: nim_chatroom_def.h:515
kNIMChatRoomMsgKeyClientMsgid
static const char * kNIMChatRoomMsgKeyClientMsgid
Definition: nim_chatroom_def.h:277
kNIMChatRoomEnterKeyNick
static const char * kNIMChatRoomEnterKeyNick
Definition: nim_chatroom_def.h:252
kNIMChatRoomExitReasonExit
@ kNIMChatRoomExitReasonExit
Definition: nim_chatroom_def.h:367
NIMChatRoomExitReason
NIMChatRoomExitReason
Definition: nim_chatroom_def.h:365
kNIMChatRoomNotificationIdRemoveMute
@ kNIMChatRoomNotificationIdRemoveMute
Definition: nim_chatroom_def.h:529
kEnterKeyPublicConfigRoot
static const char * kEnterKeyPublicConfigRoot
Definition: nim_chatroom_def.h:591
nim_chatroom_get_members_cb_func
void(* nim_chatroom_get_members_cb_func)(int64_t room_id, int error_code, const char *result, const char *json_extension, const void *user_data)
Definition: nim_chatroom_def.h:89
kNIMChatRoomMemberInfoKeyUpdateTimetag
static const char * kNIMChatRoomMemberInfoKeyUpdateTimetag
Definition: nim_chatroom_def.h:393
kNIMChatRoomMemberInfoKeyAvatar
static const char * kNIMChatRoomMemberInfoKeyAvatar
Definition: nim_chatroom_def.h:383
kEnterKeyNegoKeyNECAKeyV
static const char * kEnterKeyNegoKeyNECAKeyV
Definition: nim_chatroom_def.h:603
kNIMChatRoomMemberInfoKeyRoomID
static const char * kNIMChatRoomMemberInfoKeyRoomID
Definition: nim_chatroom_def.h:378
kNIMChatRoomMsgKeyFromAvatar
static const char * kNIMChatRoomMsgKeyFromAvatar
Definition: nim_chatroom_def.h:300
kNIMChatRoomMsgTypeRobot
@ kNIMChatRoomMsgTypeRobot
Definition: nim_chatroom_def.h:320
kNIMChatRoomMemberInfoKeyType
static const char * kNIMChatRoomMemberInfoKeyType
Definition: nim_chatroom_def.h:380
kChatRoomNotificationDataKeyOpt
static const char * kChatRoomNotificationDataKeyOpt
Definition: nim_chatroom_def.h:475
kNIMChatRoomGuestFlagGuest
@ kNIMChatRoomGuestFlagGuest
Definition: nim_chatroom_def.h:422
kNIMChatRoomProxyHttp11
@ kNIMChatRoomProxyHttp11
Definition: nim_chatroom_def.h:568
nim_chatroom_exit_cb_func
void(* nim_chatroom_exit_cb_func)(int64_t room_id, int error_code, int exit_type, const char *json_extension, const void *user_data)
Definition: nim_chatroom_def.h:37
NIMChatRoomMemberAttribute
NIMChatRoomMemberAttribute
Definition: nim_chatroom_def.h:435
kNIMChatRoomMemberInfoKeyMuted
static const char * kNIMChatRoomMemberInfoKeyMuted
Definition: nim_chatroom_def.h:391
kNIMChatRoomGetMemberTypeTemp
@ kNIMChatRoomGetMemberTypeTemp
Definition: nim_chatroom_def.h:429
kNIMChatRoomMsgTypeVideo
@ kNIMChatRoomMsgTypeVideo
Definition: nim_chatroom_def.h:316
kNIMRobotInfoKeyRobotId
static const char * kNIMRobotInfoKeyRobotId
Definition: nim_chatroom_def.h:583
kNIMChatRoomMsgKeySubType
static const char * kNIMChatRoomMsgKeySubType
Definition: nim_chatroom_def.h:288
kNIMChatRoomQueueElementKey
static const char * kNIMChatRoomQueueElementKey
Definition: nim_chatroom_def.h:489
kNIMChatRoomEnterStepRoomAuthOver
@ kNIMChatRoomEnterStepRoomAuthOver
Definition: nim_chatroom_def.h:561
kNIMChatRoomGetMembersKeyType
static const char * kNIMChatRoomGetMembersKeyType
Definition: nim_chatroom_def.h:446
kEnterKeyNegoKeyNECAKeyPA
static const char * kEnterKeyNegoKeyNECAKeyPA
Definition: nim_chatroom_def.h:601
kNIMChatRoomClientTypePCWindows
@ kNIMChatRoomClientTypePCWindows
Definition: nim_chatroom_def.h:334
kNIMChatRoomMsgKeyExt
static const char * kNIMChatRoomMsgKeyExt
Definition: nim_chatroom_def.h:279
kNIMChatRoomNotificationIdMemberIn
@ kNIMChatRoomNotificationIdMemberIn
Definition: nim_chatroom_def.h:524
kNIMChatRoomNotificationIdMemberExit
@ kNIMChatRoomNotificationIdMemberExit
Definition: nim_chatroom_def.h:525
kNIMChatRoomMemberInfoKeyValid
static const char * kNIMChatRoomMemberInfoKeyValid
Definition: nim_chatroom_def.h:392
kNIMChatRoomMemberInfoKeyGuestFlag
static const char * kNIMChatRoomMemberInfoKeyGuestFlag
Definition: nim_chatroom_def.h:387
nim_chatroom_enter_cb_func
void(* nim_chatroom_enter_cb_func)(int64_t room_id, int enter_step, int error_code, const char *result, const char *json_extension, const void *user_data)
Definition: nim_chatroom_def.h:26
kNIMChatRoomNotificationQueueChangedKeyType
static const char * kNIMChatRoomNotificationQueueChangedKeyType
Definition: nim_chatroom_def.h:506
kNIMChatRoomMsgKeyAntiSpamContent
static const char * kNIMChatRoomMsgKeyAntiSpamContent
Definition: nim_chatroom_def.h:281
kNIMChatRoomMsgKeyFromClientType
static const char * kNIMChatRoomMsgKeyFromClientType
Definition: nim_chatroom_def.h:298
kNIMChatRoomQueueElementValue
static const char * kNIMChatRoomQueueElementValue
Definition: nim_chatroom_def.h:490
kChatRoomNotificationDataKeyTarget
static const char * kChatRoomNotificationDataKeyTarget
Definition: nim_chatroom_def.h:478
kNIMChatRoomProxySocks4
@ kNIMChatRoomProxySocks4
Definition: nim_chatroom_def.h:569
kChatRoomNotificationDataKeyMuteFlag
static const char * kChatRoomNotificationDataKeyMuteFlag
Definition: nim_chatroom_def.h:480
kNIMChatRoomMemberInfoKeyEnterTimetag
static const char * kNIMChatRoomMemberInfoKeyEnterTimetag
Definition: nim_chatroom_def.h:388
kNIMChatRoomInfoKeyAnnouncement
static const char * kNIMChatRoomInfoKeyAnnouncement
Definition: nim_chatroom_def.h:354
kNIMChatRoomLinkConditionDeadAndRetry
@ kNIMChatRoomLinkConditionDeadAndRetry
Definition: nim_chatroom_def.h:550
nim_chatroom_queue_poll_cb_func
void(* nim_chatroom_queue_poll_cb_func)(int64_t room_id, int error_code, const char *result, const char *json_extension, const void *user_data)
Definition: nim_chatroom_def.h:184
NIMChatRoomProxyType
NIMChatRoomProxyType
Definition: nim_chatroom_def.h:565
kNIMChatRoomClientTypeAndroid
@ kNIMChatRoomClientTypeAndroid
Definition: nim_chatroom_def.h:332
kNIMChatRoomNotificationIdInfoUpdated
@ kNIMChatRoomNotificationIdInfoUpdated
Definition: nim_chatroom_def.h:535
kEnterKeyHandShakeType
static const char * kEnterKeyHandShakeType
Definition: nim_chatroom_def.h:595
kNIMChatRoomUpdateMyRoleExtNeedSave
static const char * kNIMChatRoomUpdateMyRoleExtNeedSave
Definition: nim_chatroom_def.h:401
NIMChatRoomEnterStep
NIMChatRoomEnterStep
Definition: nim_chatroom_def.h:555
kNIMChatRoomInfoKeyExt
static const char * kNIMChatRoomInfoKeyExt
Definition: nim_chatroom_def.h:358
kNIMChatRoomNotificationQueueChangedKeyKey
static const char * kNIMChatRoomNotificationQueueChangedKeyKey
Definition: nim_chatroom_def.h:507
kNIMChatRoomEnterStepRoomAuthing
@ kNIMChatRoomEnterStepRoomAuthing
Definition: nim_chatroom_def.h:560
kNIMChatRoomGetMsgHistoryKeyLimit
static const char * kNIMChatRoomGetMsgHistoryKeyLimit
Definition: nim_chatroom_def.h:455
kNIMChatRoomMsgKeyHighPriorityFlag
static const char * kNIMChatRoomMsgKeyHighPriorityFlag
Definition: nim_chatroom_def.h:302
kNIMChatRoomMsgKeyLocalFilePath
static const char * kNIMChatRoomMsgKeyLocalFilePath
Definition: nim_chatroom_def.h:305
kNIMChatRoomInfoKeyMuteAll
static const char * kNIMChatRoomInfoKeyMuteAll
Definition: nim_chatroom_def.h:360
kNIMRobotInfoKeyCreateTime
static const char * kNIMRobotInfoKeyCreateTime
Definition: nim_chatroom_def.h:584
kNIMChatRoomMsgKeyType
static const char * kNIMChatRoomMsgKeyType
Definition: nim_chatroom_def.h:275
kNIMChatRoomGetMsgHistoryKeyMsgtypes
static const char * kNIMChatRoomGetMsgHistoryKeyMsgtypes
Definition: nim_chatroom_def.h:457
kNIMChatRoomGetMemberTypeSolid
@ kNIMChatRoomGetMemberTypeSolid
Definition: nim_chatroom_def.h:428
NIMChatRoomGetMemberType
NIMChatRoomGetMemberType
Definition: nim_chatroom_def.h:426
kNIMChatRoomEnterKeyAppDataPath
static const char * kNIMChatRoomEnterKeyAppDataPath
Definition: nim_chatroom_def.h:262
kNIMChatRoomGetMsgHistoryKeyStartTime
static const char * kNIMChatRoomGetMsgHistoryKeyStartTime
Definition: nim_chatroom_def.h:454
kChatRoomNotificationDataKeyTempMutedFlag
static const char * kChatRoomNotificationDataKeyTempMutedFlag
Definition: nim_chatroom_def.h:481
kNIMChatRoomMsgKeyResendFlag
static const char * kNIMChatRoomMsgKeyResendFlag
Definition: nim_chatroom_def.h:278
kChatRoomNotificationKeyData
static const char * kChatRoomNotificationKeyData
Definition: nim_chatroom_def.h:472
kNIMChatRoomNotificationIdAddFixed
@ kNIMChatRoomNotificationIdAddFixed
Definition: nim_chatroom_def.h:532
kNIMChatRoomMsgKeyAntiSpamBizId
static const char * kNIMChatRoomMsgKeyAntiSpamBizId
Definition: nim_chatroom_def.h:282
kEnterKeyNegoKeyNECAKeyPB
static const char * kEnterKeyNegoKeyNECAKeyPB
Definition: nim_chatroom_def.h:602
kNIMChatRoomMemberInfoKeyTempMute
static const char * kNIMChatRoomMemberInfoKeyTempMute
Definition: nim_chatroom_def.h:394
kNIMChatRoomMsgTypeText
@ kNIMChatRoomMsgTypeText
Definition: nim_chatroom_def.h:313
kNIMChatRoomMsgTypeFile
@ kNIMChatRoomMsgTypeFile
Definition: nim_chatroom_def.h:319
kNIMChatRoomMsgTypeNotification
@ kNIMChatRoomMsgTypeNotification
Definition: nim_chatroom_def.h:318
kNIMChatRoomMsgKeyFromAccount
static const char * kNIMChatRoomMsgKeyFromAccount
Definition: nim_chatroom_def.h:296
kNIMChatRoomClientTypeMacOS
@ kNIMChatRoomClientTypeMacOS
Definition: nim_chatroom_def.h:338
kNIMChatRoomMsgKeyTime
static const char * kNIMChatRoomMsgKeyTime
Definition: nim_chatroom_def.h:297
kNIMChatRoomSetMemberAttributeKeyNotifyExt
static const char * kNIMChatRoomSetMemberAttributeKeyNotifyExt
Definition: nim_chatroom_def.h:466
nim_chatroom_queue_list_cb_func
void(* nim_chatroom_queue_list_cb_func)(int64_t room_id, int error_code, const char *result, const char *json_extension, const void *user_data)
Definition: nim_chatroom_def.h:195
kNIMChatRoomNotificationIdRemoveManager
@ kNIMChatRoomNotificationIdRemoveManager
Definition: nim_chatroom_def.h:531
NIMChatRoomNotificationId
NIMChatRoomNotificationId
Definition: nim_chatroom_def.h:522
NIMChatRoomMsgType
NIMChatRoomMsgType
Definition: nim_chatroom_def.h:311
nim_chatroom_receive_notification_cb_func
void(* nim_chatroom_receive_notification_cb_func)(int64_t room_id, const char *result, const char *json_extension, const void *user_data)
Definition: nim_chatroom_def.h:78
kNIMChatRoomProxySocks5
@ kNIMChatRoomProxySocks5
Definition: nim_chatroom_def.h:571
kNIMChatRoomSetMemberAttributeKeyAccoutID
static const char * kNIMChatRoomSetMemberAttributeKeyAccoutID
Definition: nim_chatroom_def.h:463
kNIMRobotInfoKeyAccid
static const char * kNIMRobotInfoKeyAccid
Definition: nim_chatroom_def.h:579
kNIMChatRoomEnterKeyAppKey
static const char * kNIMChatRoomEnterKeyAppKey
Definition: nim_chatroom_def.h:261
kNIMChatRoomSetMemberAttributeKeyAttribute
static const char * kNIMChatRoomSetMemberAttributeKeyAttribute
Definition: nim_chatroom_def.h:464
kNIMChatRoomNotificationIdAddManager
@ kNIMChatRoomNotificationIdAddManager
Definition: nim_chatroom_def.h:530
kNIMChatRoomNotificationIdMemberKicked
@ kNIMChatRoomNotificationIdMemberKicked
Definition: nim_chatroom_def.h:536
nim_chatroom_kick_member_cb_func
void(* nim_chatroom_kick_member_cb_func)(int64_t room_id, int error_code, const char *json_extension, const void *user_data)
Definition: nim_chatroom_def.h:132
kNIMRobotInfoKeyIntro
static const char * kNIMRobotInfoKeyIntro
Definition: nim_chatroom_def.h:582
kNIMChatRoomNotificationIdQueueBatchChanged
@ kNIMChatRoomNotificationIdQueueBatchChanged
Definition: nim_chatroom_def.h:543
kNIMChatRoomOnlineStateOffline
@ kNIMChatRoomOnlineStateOffline
Definition: nim_chatroom_def.h:414
kNIMChatRoomEnterKeyLogLevel
static const char * kNIMChatRoomEnterKeyLogLevel
Definition: nim_chatroom_def.h:263
kNIMChatRoomNotificationQueueChangedKeyValue
static const char * kNIMChatRoomNotificationQueueChangedKeyValue
Definition: nim_chatroom_def.h:508
kNIMChatRoomProxySocks4a
@ kNIMChatRoomProxySocks4a
Definition: nim_chatroom_def.h:570
nim_chatroom_get_info_cb_func
void(* nim_chatroom_get_info_cb_func)(int64_t room_id, int error_code, const char *result, const char *json_extension, const void *user_data)
Definition: nim_chatroom_def.h:122
kNIMChatRoomMsgKeyAntiSpamUsingYiDun
static const char * kNIMChatRoomMsgKeyAntiSpamUsingYiDun
Definition: nim_chatroom_def.h:284
kNIMChatRoomEnterKeyNotifyExt
static const char * kNIMChatRoomEnterKeyNotifyExt
Definition: nim_chatroom_def.h:255
kNIMChatRoomNotificationIdAddMute
@ kNIMChatRoomNotificationIdAddMute
Definition: nim_chatroom_def.h:528
kNIMChatRoomMsgKeyLocalResId
static const char * kNIMChatRoomMsgKeyLocalResId
Definition: nim_chatroom_def.h:306
kNIMChatRoomMemberInfoKeyTempMuteRestDuration
static const char * kNIMChatRoomMemberInfoKeyTempMuteRestDuration
Definition: nim_chatroom_def.h:395
kNIMChatRoomEnterKeyExt
static const char * kNIMChatRoomEnterKeyExt
Definition: nim_chatroom_def.h:254
kNIMChatRoomLinkConditionDead
@ kNIMChatRoomLinkConditionDead
Definition: nim_chatroom_def.h:551
nim_chatroom_queue_drop_cb_func
void(* nim_chatroom_queue_drop_cb_func)(int64_t room_id, int error_code, const char *json_extension, const void *user_data)
Definition: nim_chatroom_def.h:216
kChatRoomNotificationDataKeyExt
static const char * kChatRoomNotificationDataKeyExt
Definition: nim_chatroom_def.h:474
kNIMChatRoomLinkConditionAlive
@ kNIMChatRoomLinkConditionAlive
Definition: nim_chatroom_def.h:549
NIMChatRoomGuestFlag
NIMChatRoomGuestFlag
Definition: nim_chatroom_def.h:419
nim_chatroom_batch_update_cb
void(* nim_chatroom_batch_update_cb)(int64_t room_id, int error_code, const char *result, const char *json_extension, const void *user_data)
Definition: nim_chatroom_def.h:247
NIMChatRoomClientType
NIMChatRoomClientType
Definition: nim_chatroom_def.h:329
nim_chatroom_update_my_role_cb_func
void(* nim_chatroom_update_my_role_cb_func)(int64_t room_id, int error_code, const char *json_extension, const void *user_data)
Definition: nim_chatroom_def.h:163
kNIMChatRoomGetMembersKeyOffset
static const char * kNIMChatRoomGetMembersKeyOffset
Definition: nim_chatroom_def.h:447
kNIMChatRoomClientTypeDefault
@ kNIMChatRoomClientTypeDefault
Definition: nim_chatroom_def.h:331
kNIMChatRoomEnterKeyAvatar
static const char * kNIMChatRoomEnterKeyAvatar
Definition: nim_chatroom_def.h:253
kNIMChatRoomMemberInfoKeyNick
static const char * kNIMChatRoomMemberInfoKeyNick
Definition: nim_chatroom_def.h:382
kNIMChatRoomMsgKeyThirdPartyCBEXT
static const char * kNIMChatRoomMsgKeyThirdPartyCBEXT
Definition: nim_chatroom_def.h:287
kNIMChatRoomNotificationIdRemoveBlack
@ kNIMChatRoomNotificationIdRemoveBlack
Definition: nim_chatroom_def.h:527
kNIMChatRoomNotificationIdRemoveFixed
@ kNIMChatRoomNotificationIdRemoveFixed
Definition: nim_chatroom_def.h:533
kNIMChatRoomMsgKeyAntiSpamEnable
static const char * kNIMChatRoomMsgKeyAntiSpamEnable
Definition: nim_chatroom_def.h:280
kNIMChatRoomMsgTypeCustom
@ kNIMChatRoomMsgTypeCustom
Definition: nim_chatroom_def.h:323
kNIMChatRoomInfoKeyCreatorID
static const char * kNIMChatRoomInfoKeyCreatorID
Definition: nim_chatroom_def.h:356
nim_chatroom_get_msg_cb_func
void(* nim_chatroom_get_msg_cb_func)(int64_t room_id, int error_code, const char *result, const char *json_extension, const void *user_data)
Definition: nim_chatroom_def.h:100
kChatRoomNotificationDataKeyMemberInTempMutedDuration
static const char * kChatRoomNotificationDataKeyMemberInTempMutedDuration
Definition: nim_chatroom_def.h:482
kNIMChatRoomMsgTypeUnknown
@ kNIMChatRoomMsgTypeUnknown
Definition: nim_chatroom_def.h:325
kEnterKeyPrivateConfigRoot
static const char * kEnterKeyPrivateConfigRoot
Definition: nim_chatroom_def.h:600
NIMChatRoomLinkCondition
NIMChatRoomLinkCondition
Definition: nim_chatroom_def.h:547
kNIMChatRoomExitReasonRoomInvalid
@ kNIMChatRoomExitReasonRoomInvalid
Definition: nim_chatroom_def.h:368
kNIMChatRoomExitReasonKickByManager
@ kNIMChatRoomExitReasonKickByManager
Definition: nim_chatroom_def.h:369
kNIMChatRoomInfoKeyOnlineCount
static const char * kNIMChatRoomInfoKeyOnlineCount
Definition: nim_chatroom_def.h:359
kNIMChatRoomMsgTypeLocation
@ kNIMChatRoomMsgTypeLocation
Definition: nim_chatroom_def.h:317
kNIMChatRoomClientTypeWeb
@ kNIMChatRoomClientTypeWeb
Definition: nim_chatroom_def.h:336
kNIMChatRoomMsgKeyBody
static const char * kNIMChatRoomMsgKeyBody
Definition: nim_chatroom_def.h:285
kNIMChatRoomNotificationIdQueueChanged
@ kNIMChatRoomNotificationIdQueueChanged
Definition: nim_chatroom_def.h:540
kNIMChatRoomMemberInfoKeyAccID
static const char * kNIMChatRoomMemberInfoKeyAccID
Definition: nim_chatroom_def.h:379
kNIMRobotInfoKeyIcon
static const char * kNIMRobotInfoKeyIcon
Definition: nim_chatroom_def.h:581
kNIMChatRoomNotificationIdRoomMuted
@ kNIMChatRoomNotificationIdRoomMuted
Definition: nim_chatroom_def.h:541
kNIMChatRoomExitReasonKickByMultiSpot
@ kNIMChatRoomExitReasonKickByMultiSpot
Definition: nim_chatroom_def.h:370
kNIMChatRoomGetMemberTypeTempOL
@ kNIMChatRoomGetMemberTypeTempOL
Definition: nim_chatroom_def.h:431
kNIMChatRoomNotificationQueueBatchChangedKeyKey
static const char * kNIMChatRoomNotificationQueueBatchChangedKeyKey
Definition: nim_chatroom_def.h:516
nim_chatroom_update_room_info_cb_func
void(* nim_chatroom_update_room_info_cb_func)(int64_t room_id, int error_code, const char *json_extension, const void *user_data)
Definition: nim_chatroom_def.h:153
kNIMChatRoomEnterKeyAccID
static const char * kNIMChatRoomEnterKeyAccID
Definition: nim_chatroom_def.h:266
nim_chatroom_queue_offer_cb_func
void(* nim_chatroom_queue_offer_cb_func)(int64_t room_id, int error_code, const char *json_extension, const void *user_data)
Definition: nim_chatroom_def.h:173
nim_chatroom_receive_msg_cb_func
void(* nim_chatroom_receive_msg_cb_func)(int64_t room_id, const char *result, const char *json_extension, const void *user_data)
Definition: nim_chatroom_def.h:68
kEnterKeyCommNECA
static const char * kEnterKeyCommNECA
Definition: nim_chatroom_def.h:594
kNIMChatRoomExitReasonBeBlacklisted
@ kNIMChatRoomExitReasonBeBlacklisted
Definition: nim_chatroom_def.h:372
kEnterKeyNegoKeyNECA
static const char * kEnterKeyNegoKeyNECA
Definition: nim_chatroom_def.h:593
kNIMChatRoomNotificationQueueBatchChangedKeyValue
static const char * kNIMChatRoomNotificationQueueBatchChangedKeyValue
Definition: nim_chatroom_def.h:517
kNIMChatRoomLoginStateUnLogin
@ kNIMChatRoomLoginStateUnLogin
Definition: nim_chatroom_def.h:408
kNIMChatRoomNotificationIdRoomDeMuted
@ kNIMChatRoomNotificationIdRoomDeMuted
Definition: nim_chatroom_def.h:542
kNIMChatRoomMemberInfoKeyExt
static const char * kNIMChatRoomMemberInfoKeyExt
Definition: nim_chatroom_def.h:384
kNIMChatRoomEnterStepInit
@ kNIMChatRoomEnterStepInit
Definition: nim_chatroom_def.h:557
kNIMChatRoomInfoKeyBroadcastUrl
static const char * kNIMChatRoomInfoKeyBroadcastUrl
Definition: nim_chatroom_def.h:355
kNIMChatRoomNotificationIdMyRoleUpdated
@ kNIMChatRoomNotificationIdMyRoleUpdated
Definition: nim_chatroom_def.h:539
kNIMChatRoomClientTypeiOS
@ kNIMChatRoomClientTypeiOS
Definition: nim_chatroom_def.h:333
kNIMChatRoomMsgKeyFromNick
static const char * kNIMChatRoomMsgKeyFromNick
Definition: nim_chatroom_def.h:299
kNIMChatRoomEnterStepServerConnectOver
@ kNIMChatRoomEnterStepServerConnectOver
Definition: nim_chatroom_def.h:559
kNIMChatRoomSetMemberAttributeKeyOpt
static const char * kNIMChatRoomSetMemberAttributeKeyOpt
Definition: nim_chatroom_def.h:465
kChatRoomNotificationKeyID
static const char * kChatRoomNotificationKeyID
Definition: nim_chatroom_def.h:473
kNIMChatRoomEnterKeyAddress
static const char * kNIMChatRoomEnterKeyAddress
Definition: nim_chatroom_def.h:264
nim_chatroom_queue_init_cb_func
void(* nim_chatroom_queue_init_cb_func)(int64_t room_id, int error_code, const char *json_extension, const void *user_data)
Definition: nim_chatroom_def.h:226
nim_chatroom_query_robots_cb_func
void(* nim_chatroom_query_robots_cb_func)(int rescode, const char *result, const char *json_extension, const void *user_data)
Definition: nim_chatroom_def.h:236
kNIMChatRoomExitReasonIllegalState
@ kNIMChatRoomExitReasonIllegalState
Definition: nim_chatroom_def.h:371
kNIMChatRoomInfoKeyID
static const char * kNIMChatRoomInfoKeyID
Definition: nim_chatroom_def.h:352
nim_chatroom_queue_header_cb_func
void(* nim_chatroom_queue_header_cb_func)(int64_t room_id, int error_code, const char *result, const char *json_extension, const void *user_data)
Definition: nim_chatroom_def.h:206
kEnterKeyDedicatedClusteFlag
static const char * kEnterKeyDedicatedClusteFlag
Definition: nim_chatroom_def.h:592
kNIMChatRoomMemberInfoKeyLevel
static const char * kNIMChatRoomMemberInfoKeyLevel
Definition: nim_chatroom_def.h:381
kNIMChatRoomMsgTypeTips
@ kNIMChatRoomMsgTypeTips
Definition: nim_chatroom_def.h:322
kNIMChatRoomMemberInfoKeyBlacklist
static const char * kNIMChatRoomMemberInfoKeyBlacklist
Definition: nim_chatroom_def.h:390
kNIMChatRoomInfoKeyName
static const char * kNIMChatRoomInfoKeyName
Definition: nim_chatroom_def.h:353
kNIMChatRoomMemberAttributeAdminister
@ kNIMChatRoomMemberAttributeAdminister
Definition: nim_chatroom_def.h:437
kNIMChatRoomInfoKeyQueuelevel
static const char * kNIMChatRoomInfoKeyQueuelevel
Definition: nim_chatroom_def.h:361
kNIMChatRoomMsgKeyEnvConfig
static const char * kNIMChatRoomMsgKeyEnvConfig
Definition: nim_chatroom_def.h:292
kNIMChatRoomMsgKeyAttach
static const char * kNIMChatRoomMsgKeyAttach
Definition: nim_chatroom_def.h:276
kNIMChatRoomMsgKeyYiDunAntiCheating
static const char * kNIMChatRoomMsgKeyYiDunAntiCheating
Definition: nim_chatroom_def.h:289
kNIMChatRoomMsgTypeAudio
@ kNIMChatRoomMsgTypeAudio
Definition: nim_chatroom_def.h:315
kNIMRobotInfoKeyUpdateTime
static const char * kNIMRobotInfoKeyUpdateTime
Definition: nim_chatroom_def.h:585
nim_chatroom_temp_mute_member_cb_func
void(* nim_chatroom_temp_mute_member_cb_func)(int64_t room_id, int error_code, const char *result, const char *json_extension, const void *user_data)
Definition: nim_chatroom_def.h:143
nim_chatroom_set_member_attribute_cb_func
void(* nim_chatroom_set_member_attribute_cb_func)(int64_t room_id, int error_code, const char *result, const char *json_extension, const void *user_data)
Definition: nim_chatroom_def.h:111
kNIMChatRoomMsgKeyFromExt
static const char * kNIMChatRoomMsgKeyFromExt
Definition: nim_chatroom_def.h:301
kNIMChatRoomClientTypeWindowsPhone
@ kNIMChatRoomClientTypeWindowsPhone
Definition: nim_chatroom_def.h:335
NIMChatRoomOnlineState
NIMChatRoomOnlineState
Definition: nim_chatroom_def.h:412
kNIMChatRoomClientTypeRestAPI
@ kNIMChatRoomClientTypeRestAPI
Definition: nim_chatroom_def.h:337
kChatRoomNotificationDataKeyOptNick
static const char * kChatRoomNotificationDataKeyOptNick
Definition: nim_chatroom_def.h:476
kNIMChatRoomMemberInfoKeyOnlineState
static const char * kNIMChatRoomMemberInfoKeyOnlineState
Definition: nim_chatroom_def.h:386
kNIMChatRoomMemberAttributeBlackList
@ kNIMChatRoomMemberAttributeBlackList
Definition: nim_chatroom_def.h:439
kNIMChatRoomEnterKeyRandomID
static const char * kNIMChatRoomEnterKeyRandomID
Definition: nim_chatroom_def.h:265
kNIMChatRoomOnlineStateOnline
@ kNIMChatRoomOnlineStateOnline
Definition: nim_chatroom_def.h:415
kNIMChatRoomGetMemberTypeSolidOL
@ kNIMChatRoomGetMemberTypeSolidOL
Definition: nim_chatroom_def.h:430
kNIMChatRoomMemberAttributeNomalMember
@ kNIMChatRoomMemberAttributeNomalMember
Definition: nim_chatroom_def.h:438
kNIMChatRoomMemberAttributeMuteList
@ kNIMChatRoomMemberAttributeMuteList
Definition: nim_chatroom_def.h:440
kNIMChatRoomNotificationQueueBatchChangedKeyObject
static const char * kNIMChatRoomNotificationQueueBatchChangedKeyObject
Definition: nim_chatroom_def.h:518
kNIMChatRoomEnterCallbackKeyRoomInfo
static const char * kNIMChatRoomEnterCallbackKeyRoomInfo
Definition: nim_chatroom_def.h:344
nim_chatroom_link_condition_cb_func
void(* nim_chatroom_link_condition_cb_func)(int64_t room_id, int condition, const char *json_extension, const void *user_data)
Definition: nim_chatroom_def.h:47
kNIMChatRoomMsgKeyRoomID
static const char * kNIMChatRoomMsgKeyRoomID
Definition: nim_chatroom_def.h:295
kNIMChatRoomGuestFlagNoGuest
@ kNIMChatRoomGuestFlagNoGuest
Definition: nim_chatroom_def.h:421
kNIMChatRoomEnterKeyToken
static const char * kNIMChatRoomEnterKeyToken
Definition: nim_chatroom_def.h:267
kNIMChatRoomGetMsgHistoryKeyReverse
static const char * kNIMChatRoomGetMsgHistoryKeyReverse
Definition: nim_chatroom_def.h:456
kNIMChatRoomInfoKeyValidFlag
static const char * kNIMChatRoomInfoKeyValidFlag
Definition: nim_chatroom_def.h:357
kNIMChatRoomNotificationIdClosed
@ kNIMChatRoomNotificationIdClosed
Definition: nim_chatroom_def.h:534
nim_chatroom_sendmsg_arc_cb_func
void(* nim_chatroom_sendmsg_arc_cb_func)(int64_t room_id, int error_code, const char *result, const char *json_extension, const void *user_data)
Definition: nim_chatroom_def.h:58
kChatRoomNotificationDataKeyTargetNick
static const char * kChatRoomNotificationDataKeyTargetNick
Definition: nim_chatroom_def.h:477
kChatRoomNotificationDataKeyQueueChange
static const char * kChatRoomNotificationDataKeyQueueChange
Definition: nim_chatroom_def.h:483
kNIMChatRoomProxyNone
@ kNIMChatRoomProxyNone
Definition: nim_chatroom_def.h:567
kNIMChatRoomMsgTypeImage
@ kNIMChatRoomMsgTypeImage
Definition: nim_chatroom_def.h:314
kNIMChatRoomEnterStepServerConnecting
@ kNIMChatRoomEnterStepServerConnecting
Definition: nim_chatroom_def.h:558
kNIMChatRoomLoginStateLogin
@ kNIMChatRoomLoginStateLogin
Definition: nim_chatroom_def.h:407
kNIMChatRoomNotificationIdMemberTempMute
@ kNIMChatRoomNotificationIdMemberTempMute
Definition: nim_chatroom_def.h:537
kNIMChatRoomNotificationIdAddBlack
@ kNIMChatRoomNotificationIdAddBlack
Definition: nim_chatroom_def.h:526