NIM PC Cross Platform SDK
nim_qchat_system_notification_def.h
Go to the documentation of this file.
1
11#ifndef __NIM_QCHAT_SYSTEM_NOTIFICATION_DEF_H__
12#define __NIM_QCHAT_SYSTEM_NOTIFICATION_DEF_H__
13
18
19#ifdef __cplusplus
20extern "C" {
21#endif
22
95};
96
103};
104
109 kNIMQChatSystemNotificationUser = 10000 // 大于10000为用户自定义状态
110};
111
115 uint64_t server_id;
117 uint64_t channel_id;
121 char* msg_body;
125 char* msg_ext;
145 char* env;
146 // 以下字段仅在收到消息时有效
150 char* msg_id;
162 uint64_t timestamp;
166 void* msg_data;
169};
170
174 uint64_t server_id;
176 uint64_t channel_id;
179 // 以下字段仅在收到事件时有效
185 uint64_t timestamp;
186};
187
191 uint64_t request_id;
192};
193
197 uint64_t request_id;
198};
199
203 uint64_t request_id;
204};
205
209 uint64_t request_id;
210};
211
216};
217
222};
223
228};
229
234};
235
243 uint64_t request_id;
244};
245
253 uint64_t request_id;
254};
255
261 uint64_t request_id;
262};
263
271 uint64_t request_id;
272};
273
280};
281
286};
287
292};
293
297 uint64_t server_id;
299 uint64_t channel_id;
301 uint64_t role_id;
303 NIMQChatChannelWhiteBlackType type;
305 NIMQChatChannelWhiteBlackOpeType ope_type;
306};
307
311 uint64_t server_id;
313 uint64_t channel_id;
315 char** accids;
319 NIMQChatChannelWhiteBlackType type;
321 NIMQChatChannelWhiteBlackOpeType ope_type;
322};
323
327 uint64_t server_id;
329 uint64_t channel_id;
337 uint64_t type;
342};
343
348};
349
353 uint64_t category_id;
354};
355
358
362 uint64_t server_id;
364 uint64_t category_id;
366 uint64_t role_id;
368 NIMQChatChannelWhiteBlackType type;
370 NIMQChatChannelWhiteBlackOpeType ope_type;
371};
372
376 uint64_t server_id;
378 uint64_t category_id;
380 char** accids;
384 NIMQChatChannelWhiteBlackType type;
386 NIMQChatChannelWhiteBlackOpeType ope_type;
387};
388
392 uint64_t server_id;
394 uint64_t role_id;
396 char** accids;
399};
400
403
407 uint64_t server_id;
409 uint64_t role_id;
414};
415
419 uint64_t server_id;
421 uint64_t channel_id;
425 uint64_t role_id;
430};
431
435 uint64_t server_id;
437 uint64_t channel_id;
439 char* accid;
444};
445
450};
451
456};
457
463 uint64_t request_id;
466};
467
476};
477
486};
487
491 uint32_t res_code;
496};
497
501 uint32_t res_code;
506};
507
510
517};
518
522 uint32_t res_code;
527};
528
529/* --------------------------------- 接口回调模板 -----------------------------*/
530
545
546/* --------------------------------- 接口调用参数 ------------------------------- */
547
554};
555
562};
563
572};
573
587 char* msg_body;
589 char* msg_ext;
592};
593
604};
605
612};
613
622};
623
624#ifdef __cplusplus
625}
626#endif
627
628#endif // __NIM_QCHAT_SYSTEM_NOTIFICATION_DEF_H__
NIMQChatQuickCommentOperation
Definition: nim_qchat_message_def.h:68
void(* nim_qchat_send_typing_event_cb_func)(const NIMQChatSendTypingEventResp &resp)
发送正在输入事件回调
Definition: nim_qchat_system_notification_def.h:544
void(* nim_qchat_recv_typing_event_cb_func)(const NIMQChatRecvTypingEventResp &resp)
接受正在输入事件回调
Definition: nim_qchat_system_notification_def.h:542
NIMQChatSystemNotificationType
Definition: nim_qchat_system_notification_def.h:24
@ kNIMQChatSystemNotificationTypeMemberInvite
服务器成员邀请 msg_data: NULL
Definition: nim_qchat_system_notification_def.h:28
@ kNIMQChatSystemNotificationTypeChannelDelete
频道解散 msg_data: NULL
Definition: nim_qchat_system_notification_def.h:58
@ kNIMQChatSystemNotificationTypeChannelCategoryRemove
删除频道分组 msg_data: NIMQChatSystemNotificationDataChannelCategoryRemove
Definition: nim_qchat_system_notification_def.h:70
@ kNIMQChatSystemNotificationTypeChannelCreate
频道创建 msg_data: NIMQChatSystemNotificationDataChannelCreate
Definition: nim_qchat_system_notification_def.h:56
@ kNIMQChatSystemNotificationTypeMemberRolePermissionChange
频道个人定制权限变更 msg_data: NIMQChatSystemNotificationDataMemberRolePermissionChange
Definition: nim_qchat_system_notification_def.h:86
@ kNIMQChatSystemNotificationTypeServerRemove
服务器解散 msg_data: NULL
Definition: nim_qchat_system_notification_def.h:38
@ kNIMQChatSystemNotificationTypeServerRoleRemoveMember
服务器身份组移出成员 msg_data: NIMQChatSystemNotificationDataServerRoleRemoveMember
Definition: nim_qchat_system_notification_def.h:80
@ kNIMQChatSystemNotificationTypeServerUpdate
服务器更新 msg_data: NIMQChatSystemNotificationDataServerUpdate
Definition: nim_qchat_system_notification_def.h:40
@ kNIMQChatSystemNotificationTypeMemberUpdate
服务器成员更新 msg_data: NIMQChatSystemNotificationDataMemberUpdate
Definition: nim_qchat_system_notification_def.h:54
@ kNIMQChatSystemNotificationTypeMemberApplyReject
服务器成员申请被拒绝 msg_data: NULL
Definition: nim_qchat_system_notification_def.h:34
@ kNIMQChatSystemNotificationTypeMemberApplyDone
服务器成员申请完成 msg_data: NIMQChatSystemNotificationDataMemberApplyDone
Definition: nim_qchat_system_notification_def.h:46
@ kNIMQChatSystemNotificationTypeWhiteBlackRoleUpdate
频道白/黑名单身份组更新 msg_data: NIMQChatSystemNotificationDataWhiteBlackRoleUpdate
Definition: nim_qchat_system_notification_def.h:62
@ kNIMQChatSystemNotificationTypeChannelCategoryUpdate
更新频道分组 msg_data: NIMQChatSystemNotificationDataChannelCategoryUpdate
Definition: nim_qchat_system_notification_def.h:72
@ kNIMQChatSystemNotificationTypeMemberInviteDone
服务器成员邀请完成 msg_data: NIMQChatSystemNotificationDataMemberInviteDone
Definition: nim_qchat_system_notification_def.h:42
@ kNIMQChatSystemNotificationTypeServerRolePermissionChange
服务器身份组权限变更 msg_data: NIMQChatSystemNotificationDataServerRolePermissionChange
Definition: nim_qchat_system_notification_def.h:82
@ kNIMQChatSystemNotificationTypeServerCreate
服务器创建 msg_data: NIMQChatSystemNotificationDataServerCreate
Definition: nim_qchat_system_notification_def.h:36
@ kNIMQChatSystemNotificationTypeChannelUpdate
频道更新 msg_data: NIMQChatSystemNotificationDataChannelUpdate
Definition: nim_qchat_system_notification_def.h:60
@ kNIMQChatSystemNotificationTypeCustom
自定义系统通知 msg_data: NULL
Definition: nim_qchat_system_notification_def.h:94
@ kNIMQChatSystemNotificationTypeChannelVisibilityChange
频道对当前用户可见性变更 msg_data: NIMQChatSystemNotificationDataChannelVisibilityChange
Definition: nim_qchat_system_notification_def.h:88
@ kNIMQChatSystemNotificationTypeMemberKick
服务器成员被踢出 msg_data: NIMQChatSystemNotificationDataMemberKick
Definition: nim_qchat_system_notification_def.h:50
@ kNIMQChatSystemNotificationTypeServerEnterLeave
当前用户进入/离开服务器 msg_data: NIMQChatSystemNotificationDataServerEnterLeave
Definition: nim_qchat_system_notification_def.h:90
@ kNIMQChatSystemNotificationTypeMemberInviteReject
服务器成员邀请被拒绝 msg_data: NULL
Definition: nim_qchat_system_notification_def.h:30
@ kNIMQChatSystemNotificationTypeWhiteBlackMembersUpdate
频道白/黑名单成员更新 msg_data: NIMQChatSystemNotificationDataWhiteBlackMembersUpdate
Definition: nim_qchat_system_notification_def.h:64
@ kNIMQChatSystemNotificationTypeChannelCategoryWhiteBlackRoleUpdate
频道分组白/黑名单身份组更新 msg_data: NIMQChatSystemNotificationDataChannelCategoryWhiteBlackRoleUpdate
Definition: nim_qchat_system_notification_def.h:74
@ kNIMQChatSystemNotificationTypeMemberInviteAccept
服务器成员邀请被接受 msg_data: NIMQChatSystemNotificationDataMemberInviteAccept
Definition: nim_qchat_system_notification_def.h:44
@ kNIMQChatSystemNotificationTypeChannelCategoryCreate
创建频道分组 msg_data: NIMQChatSystemNotificationDataChannelCategoryCreate
Definition: nim_qchat_system_notification_def.h:68
@ kNIMQChatSystemNotificationTypeChannelRolePermissionChange
频道定制身份组权限变更 msg_data: NIMQChatSystemNotificationDataChannelRolePermissionChange
Definition: nim_qchat_system_notification_def.h:84
@ kNIMQChatSystemNotificationTypeServerRoleAddMember
服务器身份组加入成员 msg_data: NIMQChatSystemNotificationDataServerRoleAddMember
Definition: nim_qchat_system_notification_def.h:78
@ kNIMQChatSystemNotificationTypeMemberLeave
服务器成员离开 msg_data: NIMQChatSystemNotificationDataMemberLeave
Definition: nim_qchat_system_notification_def.h:52
@ kNIMQChatSystemNotificationTypeMemberApply
服务器成员申请 msg_data: NULL
Definition: nim_qchat_system_notification_def.h:32
@ kNIMQChatSystemNotificationTypeChannelCategoryWhiteBlackMembersUpdate
频道分组白/黑名单成员更新 msg_data: NIMQChatSystemNotificationDataChannelCategoryWhiteBlackMembersUpdate
Definition: nim_qchat_system_notification_def.h:76
@ kNIMQChatSystemNotificationTypeUnkonwn
未知类型系统通知
Definition: nim_qchat_system_notification_def.h:26
@ kNIMQChatSystemNotificationTypeServerJoinByInviteCode
用户通过邀请码加入服务器 msg_data: NIMQChatSystemNotificationDataServerJoinByInviteCode
Definition: nim_qchat_system_notification_def.h:92
@ kNIMQChatSystemNotificationTypeMemberApplyAccept
服务器成员申请被接受 msg_data: NIMQChatSystemNotificationDataMemberApplyAccept
Definition: nim_qchat_system_notification_def.h:48
@ kNIMQChatSystemNotificationTypeQuickCommentChanged
添加或删除快捷评论通知 msg_data: NIMQChatSystemNotificationQuickCommentChanged
Definition: nim_qchat_system_notification_def.h:66
void(* nim_qchat_notification_updated_cb_func)(const NIMQChatSystemNotificationUpdatedResp &resp)
消息更新通知回调
Definition: nim_qchat_system_notification_def.h:534
NIMQChatSystemNotificationStatus
Definition: nim_qchat_system_notification_def.h:106
@ kNIMQChatSystemNotificationNormal
普通状态
Definition: nim_qchat_system_notification_def.h:108
void(* nim_qchat_mark_read_notification_cb_func)(const NIMQChatMarkReadSystemNotificationResp &resp)
标记系统通知消息已读回调
Definition: nim_qchat_system_notification_def.h:540
void(* nim_qchat_update_notification_cb_func)(const NIMQChatUpdateSystemNotificationResp &resp)
更新系统通知回调
Definition: nim_qchat_system_notification_def.h:538
void(* nim_qchat_recv_notification_cb_func)(const NIMQChatRecvSystemNotificationResp &resp)
接收系统通知回调
Definition: nim_qchat_system_notification_def.h:532
void(* nim_qchat_send_notification_cb_func)(const NIMQChatSendSystemNotificationResp &resp)
发送系统通知回调
Definition: nim_qchat_system_notification_def.h:536
Definition: nim_qchat_public_def.h:114
Definition: nim_qchat_channel_def.h:118
Definition: nim_qchat_channel_def.h:58
Definition: nim_qchat_system_notification_def.h:595
size_t mark_read_infos_count
标记已读系统通知消息列表长度
Definition: nim_qchat_system_notification_def.h:601
void * user_data
自定义用户数据
Definition: nim_qchat_system_notification_def.h:599
NIMQChatSystemNotificationMarkReadInfo * mark_read_infos
标记已读系统通知消息列表
Definition: nim_qchat_system_notification_def.h:603
nim_qchat_mark_read_notification_cb_func cb
标记消息系统通知消息已读异步回调
Definition: nim_qchat_system_notification_def.h:597
Definition: nim_qchat_member_def.h:21
Definition: nim_qchat_public_def.h:138
Definition: nim_qchat_role_def.h:88
Definition: nim_qchat_system_notification_def.h:469
bool is_leave
是否为离线通知
Definition: nim_qchat_system_notification_def.h:475
void * user_data
自定义用户数据
Definition: nim_qchat_system_notification_def.h:471
NIMQChatSystemNotification notification
系统通知
Definition: nim_qchat_system_notification_def.h:473
Definition: nim_qchat_system_notification_def.h:512
void * user_data
自定义用户数据
Definition: nim_qchat_system_notification_def.h:514
NIMQChatTypingEvent typing_event
正在输入事件
Definition: nim_qchat_system_notification_def.h:516
Definition: nim_qchat_system_notification_def.h:549
nim_qchat_recv_notification_cb_func cb
接收系统通知异步回调
Definition: nim_qchat_system_notification_def.h:551
void * user_data
自定义用户数据
Definition: nim_qchat_system_notification_def.h:553
Definition: nim_qchat_system_notification_def.h:607
void * user_data
自定义用户数据
Definition: nim_qchat_system_notification_def.h:611
nim_qchat_recv_typing_event_cb_func cb
接收正在输入事件异步回调
Definition: nim_qchat_system_notification_def.h:609
Definition: nim_qchat_system_notification_def.h:557
nim_qchat_notification_updated_cb_func cb
系统通知更新异步回调
Definition: nim_qchat_system_notification_def.h:559
void * user_data
自定义用户数据
Definition: nim_qchat_system_notification_def.h:561
Definition: nim_qchat_system_notification_def.h:565
nim_qchat_send_notification_cb_func cb
发送系统通知异步回调
Definition: nim_qchat_system_notification_def.h:567
void * user_data
自定义用户数据
Definition: nim_qchat_system_notification_def.h:569
NIMQChatSystemNotification notification
系统通知体
Definition: nim_qchat_system_notification_def.h:571
Definition: nim_qchat_system_notification_def.h:489
NIMQChatSystemNotification notification
系统通知
Definition: nim_qchat_system_notification_def.h:495
void * user_data
自定义用户数据
Definition: nim_qchat_system_notification_def.h:493
uint32_t res_code
操作结果, 参考NIMResCode
Definition: nim_qchat_system_notification_def.h:491
Definition: nim_qchat_system_notification_def.h:615
void * user_data
自定义用户数据
Definition: nim_qchat_system_notification_def.h:619
nim_qchat_send_typing_event_cb_func cb
发送正在输入事件异步回调
Definition: nim_qchat_system_notification_def.h:617
NIMQChatTypingEvent typing_event
正在输入事件
Definition: nim_qchat_system_notification_def.h:621
Definition: nim_qchat_system_notification_def.h:520
void * user_data
自定义用户数据
Definition: nim_qchat_system_notification_def.h:524
uint32_t res_code
操作结果, 参考NIMResCode
Definition: nim_qchat_system_notification_def.h:522
NIMQChatTypingEvent typing_event
正在输入事件
Definition: nim_qchat_system_notification_def.h:526
Definition: nim_qchat_server_def.h:53
Definition: nim_qchat_system_notification_def.h:345
NIMQChatChannelCategoryInfo category_info
频道分组信息
Definition: nim_qchat_system_notification_def.h:347
Definition: nim_qchat_system_notification_def.h:351
uint64_t category_id
频道分组id
Definition: nim_qchat_system_notification_def.h:353
Definition: nim_qchat_system_notification_def.h:374
uint64_t server_id
服务器ID
Definition: nim_qchat_system_notification_def.h:376
NIMQChatChannelWhiteBlackType type
白/黑名单类型
Definition: nim_qchat_system_notification_def.h:384
NIMQChatChannelWhiteBlackOpeType ope_type
操作类型
Definition: nim_qchat_system_notification_def.h:386
size_t accids_count
被踢人id列表长度
Definition: nim_qchat_system_notification_def.h:382
uint64_t category_id
频道分组ID
Definition: nim_qchat_system_notification_def.h:378
char ** accids
被踢人id列表
Definition: nim_qchat_system_notification_def.h:380
Definition: nim_qchat_system_notification_def.h:360
uint64_t server_id
服务器ID
Definition: nim_qchat_system_notification_def.h:362
uint64_t category_id
频道分组ID
Definition: nim_qchat_system_notification_def.h:364
NIMQChatChannelWhiteBlackType type
白/黑名单类型
Definition: nim_qchat_system_notification_def.h:368
uint64_t role_id
身份组id
Definition: nim_qchat_system_notification_def.h:366
NIMQChatChannelWhiteBlackOpeType ope_type
操作类型
Definition: nim_qchat_system_notification_def.h:370
Definition: nim_qchat_system_notification_def.h:225
NIMQChatChannelInfo channel_info
圈组频道信息
Definition: nim_qchat_system_notification_def.h:227
Definition: nim_qchat_system_notification_def.h:417
size_t permissions_count
变更的权限列表长度
Definition: nim_qchat_system_notification_def.h:429
uint64_t channel_id
频道id
Definition: nim_qchat_system_notification_def.h:421
uint64_t server_id
服务器id
Definition: nim_qchat_system_notification_def.h:419
uint64_t role_id
身份组id
Definition: nim_qchat_system_notification_def.h:425
NIMQChatPermissionGroup * permissions
变更的权限列表
Definition: nim_qchat_system_notification_def.h:427
uint64_t parent_role_id
继承的服务器身份组 ID
Definition: nim_qchat_system_notification_def.h:423
Definition: nim_qchat_system_notification_def.h:231
NIMQChatChannelInfo channel_info
圈组频道信息
Definition: nim_qchat_system_notification_def.h:233
Definition: nim_qchat_system_notification_def.h:447
bool visible
频道可见性
Definition: nim_qchat_system_notification_def.h:449
Definition: nim_qchat_system_notification_def.h:265
uint64_t request_id
请求ID
Definition: nim_qchat_system_notification_def.h:271
NIMQChatServerInfo server_info
圈组服务器信息
Definition: nim_qchat_system_notification_def.h:267
char * apply_accid
申请的accid
Definition: nim_qchat_system_notification_def.h:269
Definition: nim_qchat_system_notification_def.h:257
uint64_t request_id
请求ID
Definition: nim_qchat_system_notification_def.h:261
NIMQChatServerInfo server_info
圈组服务器信息
Definition: nim_qchat_system_notification_def.h:259
Definition: nim_qchat_system_notification_def.h:247
char * invite_accid
邀请的accid
Definition: nim_qchat_system_notification_def.h:251
uint64_t request_id
请求ID
Definition: nim_qchat_system_notification_def.h:253
NIMQChatServerInfo server_info
圈组服务器信息
Definition: nim_qchat_system_notification_def.h:249
Definition: nim_qchat_system_notification_def.h:237
uint64_t request_id
请求ID
Definition: nim_qchat_system_notification_def.h:243
NIMQChatServerInfo server_info
圈组服务器信息
Definition: nim_qchat_system_notification_def.h:239
char * invite_accids
邀请的accid列表 json array
Definition: nim_qchat_system_notification_def.h:241
Definition: nim_qchat_system_notification_def.h:275
NIMQChatServerInfo server_info
圈组服务器信息
Definition: nim_qchat_system_notification_def.h:277
char * kick_accids
被踢的accid列表 json array
Definition: nim_qchat_system_notification_def.h:279
Definition: nim_qchat_system_notification_def.h:283
NIMQChatServerInfo server_info
圈组服务器信息
Definition: nim_qchat_system_notification_def.h:285
Definition: nim_qchat_system_notification_def.h:433
size_t permissions_count
变更的权限列表长度
Definition: nim_qchat_system_notification_def.h:443
char * accid
accid
Definition: nim_qchat_system_notification_def.h:439
uint64_t server_id
服务器id
Definition: nim_qchat_system_notification_def.h:435
NIMQChatPermissionGroup * permissions
变更的权限列表
Definition: nim_qchat_system_notification_def.h:441
uint64_t channel_id
频道id
Definition: nim_qchat_system_notification_def.h:437
Definition: nim_qchat_system_notification_def.h:289
NIMQChatMemberInfo member_info
圈组成员信息
Definition: nim_qchat_system_notification_def.h:291
Definition: nim_qchat_system_notification_def.h:325
NIMQChatQuickCommentOperation operate_type
操作类型
Definition: nim_qchat_system_notification_def.h:339
uint64_t msg_server_id
消息id
Definition: nim_qchat_system_notification_def.h:333
char * msg_sender_accid
发送者accid
Definition: nim_qchat_system_notification_def.h:331
uint64_t server_id
服务器ID
Definition: nim_qchat_system_notification_def.h:327
uint64_t msg_timestamp
消息时间戳
Definition: nim_qchat_system_notification_def.h:335
uint64_t channel_id
频道ID
Definition: nim_qchat_system_notification_def.h:329
uint64_t type
消息类型
Definition: nim_qchat_system_notification_def.h:337
char * operator_accid
操作者
Definition: nim_qchat_system_notification_def.h:341
Definition: nim_qchat_system_notification_def.h:201
uint64_t request_id
请求ID
Definition: nim_qchat_system_notification_def.h:203
Definition: nim_qchat_system_notification_def.h:207
uint64_t request_id
请求ID
Definition: nim_qchat_system_notification_def.h:209
Definition: nim_qchat_system_notification_def.h:213
NIMQChatServerInfo server_info
圈组服务器信息
Definition: nim_qchat_system_notification_def.h:215
Definition: nim_qchat_system_notification_def.h:453
bool is_enter
进入/离开
Definition: nim_qchat_system_notification_def.h:455
Definition: nim_qchat_system_notification_def.h:189
uint64_t request_id
请求ID
Definition: nim_qchat_system_notification_def.h:191
Definition: nim_qchat_system_notification_def.h:195
uint64_t request_id
请求ID
Definition: nim_qchat_system_notification_def.h:197
Definition: nim_qchat_system_notification_def.h:459
NIMQChatServerInfo server_info
圈组服务器信息
Definition: nim_qchat_system_notification_def.h:461
uint64_t request_id
请求id
Definition: nim_qchat_system_notification_def.h:463
char * invite_code
邀请码
Definition: nim_qchat_system_notification_def.h:465
Definition: nim_qchat_system_notification_def.h:390
uint64_t server_id
服务器id
Definition: nim_qchat_system_notification_def.h:392
size_t accids_count
accid列表长度
Definition: nim_qchat_system_notification_def.h:398
uint64_t role_id
身份组id
Definition: nim_qchat_system_notification_def.h:394
char ** accids
accid列表
Definition: nim_qchat_system_notification_def.h:396
Definition: nim_qchat_system_notification_def.h:405
uint64_t role_id
身份组id
Definition: nim_qchat_system_notification_def.h:409
size_t permissions_count
变更的权限列表长度
Definition: nim_qchat_system_notification_def.h:413
uint64_t server_id
服务器id
Definition: nim_qchat_system_notification_def.h:407
NIMQChatPermissionGroup * permissions
变更的权限列表
Definition: nim_qchat_system_notification_def.h:411
Definition: nim_qchat_system_notification_def.h:219
NIMQChatServerInfo server_info
圈组服务器信息
Definition: nim_qchat_system_notification_def.h:221
Definition: nim_qchat_system_notification_def.h:309
uint64_t channel_id
频道ID
Definition: nim_qchat_system_notification_def.h:313
NIMQChatChannelWhiteBlackType type
白/黑名单类型
Definition: nim_qchat_system_notification_def.h:319
char ** accids
被踢人id列表
Definition: nim_qchat_system_notification_def.h:315
NIMQChatChannelWhiteBlackOpeType ope_type
操作类型
Definition: nim_qchat_system_notification_def.h:321
size_t accids_count
被踢人id列表长度
Definition: nim_qchat_system_notification_def.h:317
uint64_t server_id
服务器ID
Definition: nim_qchat_system_notification_def.h:311
Definition: nim_qchat_system_notification_def.h:295
uint64_t server_id
服务器ID
Definition: nim_qchat_system_notification_def.h:297
uint64_t role_id
身份组id
Definition: nim_qchat_system_notification_def.h:301
NIMQChatChannelWhiteBlackType type
白/黑名单类型
Definition: nim_qchat_system_notification_def.h:303
NIMQChatChannelWhiteBlackOpeType ope_type
操作类型
Definition: nim_qchat_system_notification_def.h:305
uint64_t channel_id
频道ID
Definition: nim_qchat_system_notification_def.h:299
Definition: nim_qchat_system_notification_def.h:113
char * msg_attach
消息附件
Definition: nim_qchat_system_notification_def.h:123
bool history_enable
false 或者 true, 是否存离线,只有 to_accids 不为空,才能设置为存离线,默认 false
Definition: nim_qchat_system_notification_def.h:131
NIMQChatSystemNotificationType msg_type
系统通知类型
Definition: nim_qchat_system_notification_def.h:119
char * from_device_id
消息发送者的设备id
Definition: nim_qchat_system_notification_def.h:158
char * to_accids
通知接受者账号列表, json array
Definition: nim_qchat_system_notification_def.h:129
char * from_accid
消息发送者的accid
Definition: nim_qchat_system_notification_def.h:154
bool resend_flag
重发标记,false:不是重发,true:是重发
Definition: nim_qchat_system_notification_def.h:127
char * msg_ext
消息扩展字段
Definition: nim_qchat_system_notification_def.h:125
bool need_push_nick
是否需要推送昵称, false: 不需要, true: 需要, 默认 true
Definition: nim_qchat_system_notification_def.h:141
uint64_t timestamp
消息发送时间戳
Definition: nim_qchat_system_notification_def.h:162
char * push_payload
自定义的推送属性,限制json
Definition: nim_qchat_system_notification_def.h:133
char * callback_ext
回调扩展字段
Definition: nim_qchat_system_notification_def.h:168
char * msg_id
消息id
Definition: nim_qchat_system_notification_def.h:150
uint64_t channel_id
消息所属的channel id
Definition: nim_qchat_system_notification_def.h:117
NIMQChatSystemNotificationStatus status
消息状态
Definition: nim_qchat_system_notification_def.h:148
uint32_t from_client_type
消息发送者的客户端类型
Definition: nim_qchat_system_notification_def.h:156
bool need_badge
是否需要消息计数, false: 不需要, true: 需要, 默认 true
Definition: nim_qchat_system_notification_def.h:139
uint64_t update_timestamp
消息更新时间戳
Definition: nim_qchat_system_notification_def.h:164
char * msg_body
消息内容
Definition: nim_qchat_system_notification_def.h:121
char * from_nick
消息发送者的昵称
Definition: nim_qchat_system_notification_def.h:160
char * env
环境变量,用户可以根据不同的env配置不同的抄送和回调地址
Definition: nim_qchat_system_notification_def.h:145
bool route_enable
是否需要抄送, false: 不需要, true: 需要, 默认 true
Definition: nim_qchat_system_notification_def.h:143
bool push_enable
是否需要推送, false: 不需要, true: 需要, 默认 false
Definition: nim_qchat_system_notification_def.h:137
uint64_t msg_server_id
消息服务器 id
Definition: nim_qchat_system_notification_def.h:152
uint64_t server_id
消息所属的server id
Definition: nim_qchat_system_notification_def.h:115
void * msg_data
系统通知数据, 根据不同的系统通知类型,数据结构不同
Definition: nim_qchat_system_notification_def.h:166
char * push_content
自定义的推送内容
Definition: nim_qchat_system_notification_def.h:135
Definition: nim_qchat_system_notification_def.h:98
NIMQChatSystemNotificationType msg_type
系统通知类型
Definition: nim_qchat_system_notification_def.h:102
uint64_t msg_server_id
消息服务器 id
Definition: nim_qchat_system_notification_def.h:100
Definition: nim_qchat_system_notification_def.h:479
void * user_data
自定义用户数据
Definition: nim_qchat_system_notification_def.h:481
NIMQChatSystemNotification notification
系统通知
Definition: nim_qchat_system_notification_def.h:485
NIMQChatMessageUpdateInfo update_info
消息更新信息
Definition: nim_qchat_system_notification_def.h:483
Definition: nim_qchat_system_notification_def.h:172
char * from_nick
事件发送者的昵称
Definition: nim_qchat_system_notification_def.h:183
char * extension
事件扩展字段
Definition: nim_qchat_system_notification_def.h:178
uint64_t channel_id
事件所属的channel id
Definition: nim_qchat_system_notification_def.h:176
uint64_t timestamp
事件发送时间戳
Definition: nim_qchat_system_notification_def.h:185
uint64_t server_id
事件所属的server id
Definition: nim_qchat_system_notification_def.h:174
char * from_accid
事件发送者的accid
Definition: nim_qchat_system_notification_def.h:181
Definition: nim_qchat_system_notification_def.h:575
NIMQChatSystemNotificationType msg_type
系统通知类型
Definition: nim_qchat_system_notification_def.h:583
void * user_data
自定义用户数据
Definition: nim_qchat_system_notification_def.h:579
NIMQChatSystemNotificationStatus status
消息状态
Definition: nim_qchat_system_notification_def.h:585
nim_qchat_update_notification_cb_func cb
发送系统通知异步回调
Definition: nim_qchat_system_notification_def.h:577
char * msg_body
消息内容
Definition: nim_qchat_system_notification_def.h:587
NIMQChatMessageUpdateInfo update_info
更新信息
Definition: nim_qchat_system_notification_def.h:591
uint64_t msg_server_id
系统通知服务器ID
Definition: nim_qchat_system_notification_def.h:581
char * msg_ext
消息扩展字段
Definition: nim_qchat_system_notification_def.h:589
Definition: nim_qchat_system_notification_def.h:499
NIMQChatSystemNotification notification
系统通知
Definition: nim_qchat_system_notification_def.h:505
void * user_data
自定义用户数据
Definition: nim_qchat_system_notification_def.h:503
uint32_t res_code
操作结果, 参考NIMResCode
Definition: nim_qchat_system_notification_def.h:501