NIM PC Cross Platform SDK
载入中...
搜索中...
未找到
nim_qchat_system_notification_def.h
浏览该文件的文档.
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
31};
32
110
117};
118
123 kNIMQChatSystemNotificationUser = 10000 // 大于10000为用户自定义状态
125
131 uint64_t server_id;
133 uint64_t channel_id;
137 char* msg_body;
141 char* msg_ext;
161 char* env;
162 // 以下字段仅在收到消息时有效
166 char* msg_id;
178 uint64_t timestamp;
182 void* msg_data;
185};
186
190 uint64_t server_id;
192 uint64_t channel_id;
195 // 以下字段仅在收到事件时有效
201 uint64_t timestamp;
202};
203
207 uint64_t request_id;
208};
209
213 uint64_t request_id;
214};
215
219 uint64_t request_id;
220};
221
225 uint64_t request_id;
226};
227
232};
233
238};
239
244};
245
250};
251
259 uint64_t request_id;
260};
261
269 uint64_t request_id;
270};
271
277 uint64_t request_id;
278};
279
287 uint64_t request_id;
288};
289
296};
297
302};
303
308};
309
313 uint64_t server_id;
315 uint64_t channel_id;
317 uint64_t role_id;
322};
323
327 uint64_t server_id;
329 uint64_t channel_id;
331 char** accids;
338};
339
343 uint64_t server_id;
345 uint64_t channel_id;
353 uint64_t type;
358};
359
364};
365
369 uint64_t category_id;
370};
371
374
378 uint64_t server_id;
380 uint64_t category_id;
382 uint64_t role_id;
387};
388
392 uint64_t server_id;
394 uint64_t category_id;
396 char** accids;
403};
404
408 uint64_t server_id;
410 uint64_t role_id;
412 char** accids;
415};
416
419
423 uint64_t server_id;
425 uint64_t role_id;
430};
431
435 uint64_t server_id;
437 uint64_t channel_id;
441 uint64_t role_id;
446};
447
451 uint64_t server_id;
453 uint64_t channel_id;
455 char* accid;
460};
461
466};
467
472};
473
479 uint64_t request_id;
482};
483
488};
489
493 uint64_t server_id;
495 char* nick;
497 char* avatar;
498};
499
506};
507
516};
517
526};
527
531 uint32_t res_code;
536};
537
541 uint32_t res_code;
546};
547
550
557};
558
562 uint32_t res_code;
567};
568
569/* --------------------------------- 接口回调模板 -----------------------------*/
570
585
586/* --------------------------------- 接口调用参数 ------------------------------- */
587
594};
595
602};
603
612};
613
627 char* msg_body;
629 char* msg_ext;
632};
633
644};
645
652};
653
662};
663
664#ifdef __cplusplus
665}
666#endif
667
668#endif // __NIM_QCHAT_SYSTEM_NOTIFICATION_DEF_H__
NIMQChatChannelWhiteBlackOpeType
Definition: nim_qchat_channel_def.h:52
NIMQChatChannelWhiteBlackType
Definition: nim_qchat_channel_def.h:46
NIMQChatQuickCommentOperation
Definition: nim_qchat_message_def.h:70
void(* nim_qchat_notification_updated_cb_func)(const NIMQChatSystemNotificationUpdatedResp *resp)
消息更新通知回调
Definition: nim_qchat_system_notification_def.h:574
NIMQChatBaseResp NIMQChatMarkReadSystemNotificationResp
Definition: nim_qchat_system_notification_def.h:549
void(* nim_qchat_send_typing_event_cb_func)(const NIMQChatSendTypingEventResp *resp)
发送正在输入事件回调
Definition: nim_qchat_system_notification_def.h:584
NIMQChatSystemNotificationDataServerRoleAddMember NIMQChatSystemNotificationDataServerRoleRemoveMember
Definition: nim_qchat_system_notification_def.h:418
NIMQChatSystemNotificationType
Definition: nim_qchat_system_notification_def.h:34
@ kNIMQChatSystemNotificationTypeMemberInvite
服务器成员邀请 msg_data: NULL
Definition: nim_qchat_system_notification_def.h:38
@ kNIMQChatSystemNotificationTypeChannelDelete
频道解散 msg_data: NULL
Definition: nim_qchat_system_notification_def.h:68
@ kNIMQChatSystemNotificationTypeChannelCategoryRemove
删除频道分组 msg_data: NIMQChatSystemNotificationDataChannelCategoryRemove
Definition: nim_qchat_system_notification_def.h:80
@ kNIMQChatSystemNotificationTypeChannelCreate
频道创建 msg_data: NIMQChatSystemNotificationDataChannelCreate
Definition: nim_qchat_system_notification_def.h:66
@ kNIMQChatSystemNotificationTypeMemberRolePermissionChange
频道个人定制权限变更 msg_data: NIMQChatSystemNotificationDataMemberRolePermissionChange
Definition: nim_qchat_system_notification_def.h:96
@ kNIMQChatSystemNotificationTypeServerRemove
服务器解散 msg_data: NULL
Definition: nim_qchat_system_notification_def.h:48
@ kNIMQChatSystemNotificationTypeServerRoleRemoveMember
服务器身份组移出成员 msg_data: NIMQChatSystemNotificationDataServerRoleRemoveMember
Definition: nim_qchat_system_notification_def.h:90
@ kNIMQChatSystemNotificationTypeServerUpdate
服务器更新 msg_data: NIMQChatSystemNotificationDataServerUpdate
Definition: nim_qchat_system_notification_def.h:50
@ kNIMQChatSystemNotificationTypeMemberUpdate
服务器成员更新 msg_data: NIMQChatSystemNotificationDataMemberUpdate
Definition: nim_qchat_system_notification_def.h:64
@ kNIMQChatSystemNotificationTypeMemberApplyReject
服务器成员申请被拒绝 msg_data: NULL
Definition: nim_qchat_system_notification_def.h:44
@ kNIMQChatSystemNotificationTypeMemberApplyDone
服务器成员申请完成 msg_data: NIMQChatSystemNotificationDataMemberApplyDone
Definition: nim_qchat_system_notification_def.h:56
@ kNIMQChatSystemNotificationTypeWhiteBlackRoleUpdate
频道白/黑名单身份组更新 msg_data: NIMQChatSystemNotificationDataWhiteBlackRoleUpdate
Definition: nim_qchat_system_notification_def.h:72
@ kNIMQChatSystemNotificationTypeChannelVisitorVisibilityChange
频道对游客可见性变更 msg_data: NIMQChatSystemNotificationDataChannelVisitorVisibilityChange
Definition: nim_qchat_system_notification_def.h:104
@ kNIMQChatSystemNotificationTypeChannelCategoryUpdate
更新频道分组 msg_data: NIMQChatSystemNotificationDataChannelCategoryUpdate
Definition: nim_qchat_system_notification_def.h:82
@ kNIMQChatSystemNotificationTypeMemberInviteDone
服务器成员邀请完成 msg_data: NIMQChatSystemNotificationDataMemberInviteDone
Definition: nim_qchat_system_notification_def.h:52
@ kNIMQChatSystemNotificationTypeServerRolePermissionChange
服务器身份组权限变更 msg_data: NIMQChatSystemNotificationDataServerRolePermissionChange
Definition: nim_qchat_system_notification_def.h:92
@ kNIMQChatSystemNotificationTypeServerCreate
服务器创建 msg_data: NIMQChatSystemNotificationDataServerCreate
Definition: nim_qchat_system_notification_def.h:46
@ kNIMQChatSystemNotificationTypeChannelUpdate
频道更新 msg_data: NIMQChatSystemNotificationDataChannelUpdate
Definition: nim_qchat_system_notification_def.h:70
@ kNIMQChatSystemNotificationTypeCustom
自定义系统通知 msg_data: NULL
Definition: nim_qchat_system_notification_def.h:108
@ kNIMQChatSystemNotificationTypeChannelVisibilityChange
频道对当前用户可见性变更 msg_data: NIMQChatSystemNotificationDataChannelVisibilityChange
Definition: nim_qchat_system_notification_def.h:98
@ kNIMQChatSystemNotificationTypeMemberKick
服务器成员被踢出 msg_data: NIMQChatSystemNotificationDataMemberKick
Definition: nim_qchat_system_notification_def.h:60
@ kNIMQChatSystemNotificationTypeServerEnterLeave
当前用户进入/离开服务器 msg_data: NIMQChatSystemNotificationDataServerEnterLeave
Definition: nim_qchat_system_notification_def.h:100
@ kNIMQChatSystemNotificationTypeMemberInviteReject
服务器成员邀请被拒绝 msg_data: NULL
Definition: nim_qchat_system_notification_def.h:40
@ kNIMQChatSystemNotificationTypeWhiteBlackMembersUpdate
频道白/黑名单成员更新 msg_data: NIMQChatSystemNotificationDataWhiteBlackMembersUpdate
Definition: nim_qchat_system_notification_def.h:74
@ kNIMQChatSystemNotificationTypeChannelCategoryWhiteBlackRoleUpdate
频道分组白/黑名单身份组更新 msg_data: NIMQChatSystemNotificationDataChannelCategoryWhiteBlackRoleUpdate
Definition: nim_qchat_system_notification_def.h:84
@ kNIMQChatSystemNotificationTypeMemberInviteAccept
服务器成员邀请被接受 msg_data: NIMQChatSystemNotificationDataMemberInviteAccept
Definition: nim_qchat_system_notification_def.h:54
@ kNIMQChatSystemNotificationTypeChannelCategoryCreate
创建频道分组 msg_data: NIMQChatSystemNotificationDataChannelCategoryCreate
Definition: nim_qchat_system_notification_def.h:78
@ kNIMQChatSystemNotificationTypeChannelRolePermissionChange
频道定制身份组权限变更 msg_data: NIMQChatSystemNotificationDataChannelRolePermissionChange
Definition: nim_qchat_system_notification_def.h:94
@ kNIMQChatSystemNotificationTypeServerRoleAddMember
服务器身份组加入成员 msg_data: NIMQChatSystemNotificationDataServerRoleAddMember
Definition: nim_qchat_system_notification_def.h:88
@ kNIMQChatSystemNotificationTypeMyMemberInfoUpdated
当前用户服务器成员信息对IM资料的联动变更 msg_data: NIMQChatSystemNotificationDataMyMemberInfoUpdated
Definition: nim_qchat_system_notification_def.h:106
@ kNIMQChatSystemNotificationTypeMemberLeave
服务器成员离开 msg_data: NIMQChatSystemNotificationDataMemberLeave
Definition: nim_qchat_system_notification_def.h:62
@ kNIMQChatSystemNotificationTypeMemberApply
服务器成员申请 msg_data: NULL
Definition: nim_qchat_system_notification_def.h:42
@ kNIMQChatSystemNotificationTypeChannelCategoryWhiteBlackMembersUpdate
频道分组白/黑名单成员更新 msg_data: NIMQChatSystemNotificationDataChannelCategoryWhiteBlackMembersUpdate
Definition: nim_qchat_system_notification_def.h:86
@ kNIMQChatSystemNotificationTypeUnkonwn
未知类型系统通知
Definition: nim_qchat_system_notification_def.h:36
@ kNIMQChatSystemNotificationTypeServerJoinByInviteCode
用户通过邀请码加入服务器 msg_data: NIMQChatSystemNotificationDataServerJoinByInviteCode
Definition: nim_qchat_system_notification_def.h:102
@ kNIMQChatSystemNotificationTypeMemberApplyAccept
服务器成员申请被接受 msg_data: NIMQChatSystemNotificationDataMemberApplyAccept
Definition: nim_qchat_system_notification_def.h:58
@ kNIMQChatSystemNotificationTypeQuickCommentChanged
添加或删除快捷评论通知 msg_data: NIMQChatSystemNotificationQuickCommentChanged
Definition: nim_qchat_system_notification_def.h:76
void(* nim_qchat_update_notification_cb_func)(const NIMQChatUpdateSystemNotificationResp *resp)
更新系统通知回调
Definition: nim_qchat_system_notification_def.h:578
NIMQChatSystemNotificationToType
Definition: nim_qchat_system_notification_def.h:24
@ kNIMQChatSystemNotificationToTypeUnknown
默认值,需要由用户修改,否则报错 10414 参数错误
Definition: nim_qchat_system_notification_def.h:25
@ kNIMQChatSystemNotificationToTypeChannel
发送到 Channel,server_id 和 channel_id 必填
Definition: nim_qchat_system_notification_def.h:27
@ kNIMQChatSystemNotificationToTypeServerAccids
发送到 Server 中的指定用户,server_id 和 to_accids 必填
Definition: nim_qchat_system_notification_def.h:28
@ kNIMQChatSystemNotificationToTypeServer
发送到 Server,server_id 必填
Definition: nim_qchat_system_notification_def.h:26
@ kNIMQChatSystemNotificationToTypeAccids
发送给指定用户,to_accids 必填
Definition: nim_qchat_system_notification_def.h:30
@ kNIMQChatSystemNotificationToTypeChannelAccids
发送到 Channel 中的指定用户,server_id、channel_id 和 to_accids 必填
Definition: nim_qchat_system_notification_def.h:29
NIMQChatSystemNotificationDataChannelCategoryCreate NIMQChatSystemNotificationDataChannelCategoryUpdate
Definition: nim_qchat_system_notification_def.h:373
NIMQChatSystemNotificationStatus
Definition: nim_qchat_system_notification_def.h:120
@ kNIMQChatSystemNotificationNormal
普通状态
Definition: nim_qchat_system_notification_def.h:122
@ kNIMQChatSystemNotificationUser
Definition: nim_qchat_system_notification_def.h:123
void(* nim_qchat_mark_read_notification_cb_func)(const NIMQChatMarkReadSystemNotificationResp *resp)
标记系统通知消息已读回调
Definition: nim_qchat_system_notification_def.h:580
void(* nim_qchat_recv_notification_cb_func)(const NIMQChatRecvSystemNotificationResp *resp)
接收系统通知回调
Definition: nim_qchat_system_notification_def.h:572
void(* nim_qchat_recv_typing_event_cb_func)(const NIMQChatRecvTypingEventResp *resp)
接受正在输入事件回调
Definition: nim_qchat_system_notification_def.h:582
void(* nim_qchat_send_notification_cb_func)(const NIMQChatSendSystemNotificationResp *resp)
发送系统通知回调
Definition: nim_qchat_system_notification_def.h:576
Definition: nim_qchat_public_def.h:141
Definition: nim_qchat_channel_def.h:120
Definition: nim_qchat_channel_def.h:58
Definition: nim_qchat_system_notification_def.h:635
size_t mark_read_infos_count
标记已读系统通知消息列表长度
Definition: nim_qchat_system_notification_def.h:641
void * user_data
自定义用户数据
Definition: nim_qchat_system_notification_def.h:639
NIMQChatSystemNotificationMarkReadInfo * mark_read_infos
标记已读系统通知消息列表
Definition: nim_qchat_system_notification_def.h:643
nim_qchat_mark_read_notification_cb_func cb
标记消息系统通知消息已读异步回调
Definition: nim_qchat_system_notification_def.h:637
Definition: nim_qchat_member_def.h:21
Definition: nim_qchat_public_def.h:165
Definition: nim_qchat_role_def.h:86
Definition: nim_qchat_system_notification_def.h:509
bool is_leave
是否为离线通知
Definition: nim_qchat_system_notification_def.h:515
void * user_data
自定义用户数据
Definition: nim_qchat_system_notification_def.h:511
NIMQChatSystemNotification notification
系统通知
Definition: nim_qchat_system_notification_def.h:513
Definition: nim_qchat_system_notification_def.h:552
void * user_data
自定义用户数据
Definition: nim_qchat_system_notification_def.h:554
NIMQChatTypingEvent typing_event
正在输入事件
Definition: nim_qchat_system_notification_def.h:556
Definition: nim_qchat_system_notification_def.h:589
nim_qchat_recv_notification_cb_func cb
接收系统通知异步回调
Definition: nim_qchat_system_notification_def.h:591
void * user_data
自定义用户数据
Definition: nim_qchat_system_notification_def.h:593
Definition: nim_qchat_system_notification_def.h:647
void * user_data
自定义用户数据
Definition: nim_qchat_system_notification_def.h:651
nim_qchat_recv_typing_event_cb_func cb
接收正在输入事件异步回调
Definition: nim_qchat_system_notification_def.h:649
Definition: nim_qchat_system_notification_def.h:597
nim_qchat_notification_updated_cb_func cb
系统通知更新异步回调
Definition: nim_qchat_system_notification_def.h:599
void * user_data
自定义用户数据
Definition: nim_qchat_system_notification_def.h:601
Definition: nim_qchat_system_notification_def.h:605
nim_qchat_send_notification_cb_func cb
发送系统通知异步回调
Definition: nim_qchat_system_notification_def.h:607
void * user_data
自定义用户数据
Definition: nim_qchat_system_notification_def.h:609
NIMQChatSystemNotification notification
系统通知体
Definition: nim_qchat_system_notification_def.h:611
Definition: nim_qchat_system_notification_def.h:529
NIMQChatSystemNotification notification
系统通知
Definition: nim_qchat_system_notification_def.h:535
void * user_data
自定义用户数据
Definition: nim_qchat_system_notification_def.h:533
uint32_t res_code
操作结果, 参考NIMResCode
Definition: nim_qchat_system_notification_def.h:531
Definition: nim_qchat_system_notification_def.h:655
void * user_data
自定义用户数据
Definition: nim_qchat_system_notification_def.h:659
nim_qchat_send_typing_event_cb_func cb
发送正在输入事件异步回调
Definition: nim_qchat_system_notification_def.h:657
NIMQChatTypingEvent typing_event
正在输入事件
Definition: nim_qchat_system_notification_def.h:661
Definition: nim_qchat_system_notification_def.h:560
void * user_data
自定义用户数据
Definition: nim_qchat_system_notification_def.h:564
uint32_t res_code
操作结果, 参考NIMResCode
Definition: nim_qchat_system_notification_def.h:562
NIMQChatTypingEvent typing_event
正在输入事件
Definition: nim_qchat_system_notification_def.h:566
Definition: nim_qchat_server_def.h:53
Definition: nim_qchat_system_notification_def.h:361
NIMQChatChannelCategoryInfo category_info
频道分组信息
Definition: nim_qchat_system_notification_def.h:363
Definition: nim_qchat_system_notification_def.h:367
uint64_t category_id
频道分组id
Definition: nim_qchat_system_notification_def.h:369
Definition: nim_qchat_system_notification_def.h:390
uint64_t server_id
服务器ID
Definition: nim_qchat_system_notification_def.h:392
NIMQChatChannelWhiteBlackType type
白/黑名单类型
Definition: nim_qchat_system_notification_def.h:400
NIMQChatChannelWhiteBlackOpeType ope_type
操作类型
Definition: nim_qchat_system_notification_def.h:402
size_t accids_count
被踢人id列表长度
Definition: nim_qchat_system_notification_def.h:398
uint64_t category_id
频道分组ID
Definition: nim_qchat_system_notification_def.h:394
char ** accids
被踢人id列表
Definition: nim_qchat_system_notification_def.h:396
Definition: nim_qchat_system_notification_def.h:376
uint64_t server_id
服务器ID
Definition: nim_qchat_system_notification_def.h:378
uint64_t category_id
频道分组ID
Definition: nim_qchat_system_notification_def.h:380
NIMQChatChannelWhiteBlackType type
白/黑名单类型
Definition: nim_qchat_system_notification_def.h:384
uint64_t role_id
身份组id
Definition: nim_qchat_system_notification_def.h:382
NIMQChatChannelWhiteBlackOpeType ope_type
操作类型
Definition: nim_qchat_system_notification_def.h:386
Definition: nim_qchat_system_notification_def.h:241
NIMQChatChannelInfo channel_info
圈组频道信息
Definition: nim_qchat_system_notification_def.h:243
Definition: nim_qchat_system_notification_def.h:433
size_t permissions_count
变更的权限列表长度
Definition: nim_qchat_system_notification_def.h:445
uint64_t channel_id
频道id
Definition: nim_qchat_system_notification_def.h:437
uint64_t server_id
服务器id
Definition: nim_qchat_system_notification_def.h:435
uint64_t role_id
身份组id
Definition: nim_qchat_system_notification_def.h:441
NIMQChatPermissionGroup * permissions
变更的权限列表
Definition: nim_qchat_system_notification_def.h:443
uint64_t parent_role_id
继承的服务器身份组 ID
Definition: nim_qchat_system_notification_def.h:439
Definition: nim_qchat_system_notification_def.h:247
NIMQChatChannelInfo channel_info
圈组频道信息
Definition: nim_qchat_system_notification_def.h:249
Definition: nim_qchat_system_notification_def.h:463
bool visible
频道可见性
Definition: nim_qchat_system_notification_def.h:465
Definition: nim_qchat_system_notification_def.h:485
bool visible
频道游客可见性
Definition: nim_qchat_system_notification_def.h:487
Definition: nim_qchat_system_notification_def.h:281
uint64_t request_id
请求ID
Definition: nim_qchat_system_notification_def.h:287
NIMQChatServerInfo server_info
圈组服务器信息
Definition: nim_qchat_system_notification_def.h:283
char * apply_accid
申请的accid
Definition: nim_qchat_system_notification_def.h:285
Definition: nim_qchat_system_notification_def.h:273
uint64_t request_id
请求ID
Definition: nim_qchat_system_notification_def.h:277
NIMQChatServerInfo server_info
圈组服务器信息
Definition: nim_qchat_system_notification_def.h:275
Definition: nim_qchat_system_notification_def.h:263
char * invite_accid
邀请的accid
Definition: nim_qchat_system_notification_def.h:267
uint64_t request_id
请求ID
Definition: nim_qchat_system_notification_def.h:269
NIMQChatServerInfo server_info
圈组服务器信息
Definition: nim_qchat_system_notification_def.h:265
Definition: nim_qchat_system_notification_def.h:253
uint64_t request_id
请求ID
Definition: nim_qchat_system_notification_def.h:259
NIMQChatServerInfo server_info
圈组服务器信息
Definition: nim_qchat_system_notification_def.h:255
char * invite_accids
邀请的accid列表 json array
Definition: nim_qchat_system_notification_def.h:257
Definition: nim_qchat_system_notification_def.h:291
NIMQChatServerInfo server_info
圈组服务器信息
Definition: nim_qchat_system_notification_def.h:293
char * kick_accids
被踢的accid列表 json array
Definition: nim_qchat_system_notification_def.h:295
Definition: nim_qchat_system_notification_def.h:299
NIMQChatServerInfo server_info
圈组服务器信息
Definition: nim_qchat_system_notification_def.h:301
Definition: nim_qchat_system_notification_def.h:449
size_t permissions_count
变更的权限列表长度
Definition: nim_qchat_system_notification_def.h:459
char * accid
accid
Definition: nim_qchat_system_notification_def.h:455
uint64_t server_id
服务器id
Definition: nim_qchat_system_notification_def.h:451
NIMQChatPermissionGroup * permissions
变更的权限列表
Definition: nim_qchat_system_notification_def.h:457
uint64_t channel_id
频道id
Definition: nim_qchat_system_notification_def.h:453
Definition: nim_qchat_system_notification_def.h:305
NIMQChatMemberInfo member_info
圈组成员信息
Definition: nim_qchat_system_notification_def.h:307
Definition: nim_qchat_system_notification_def.h:501
size_t updated_infos_count
当前用户成员信息发生变更的信息列表长度
Definition: nim_qchat_system_notification_def.h:505
NIMQChatUpdatedMyMemberInfo * updated_infos
当前用户成员信息发生变更的信息列表
Definition: nim_qchat_system_notification_def.h:503
Definition: nim_qchat_system_notification_def.h:341
NIMQChatQuickCommentOperation operate_type
操作类型
Definition: nim_qchat_system_notification_def.h:355
uint64_t msg_server_id
消息id
Definition: nim_qchat_system_notification_def.h:349
char * msg_sender_accid
发送者accid
Definition: nim_qchat_system_notification_def.h:347
uint64_t server_id
服务器ID
Definition: nim_qchat_system_notification_def.h:343
uint64_t msg_timestamp
消息时间戳
Definition: nim_qchat_system_notification_def.h:351
uint64_t channel_id
频道ID
Definition: nim_qchat_system_notification_def.h:345
uint64_t type
消息类型
Definition: nim_qchat_system_notification_def.h:353
char * operator_accid
操作者
Definition: nim_qchat_system_notification_def.h:357
Definition: nim_qchat_system_notification_def.h:217
uint64_t request_id
请求ID
Definition: nim_qchat_system_notification_def.h:219
Definition: nim_qchat_system_notification_def.h:223
uint64_t request_id
请求ID
Definition: nim_qchat_system_notification_def.h:225
Definition: nim_qchat_system_notification_def.h:229
NIMQChatServerInfo server_info
圈组服务器信息
Definition: nim_qchat_system_notification_def.h:231
Definition: nim_qchat_system_notification_def.h:469
bool is_enter
进入/离开
Definition: nim_qchat_system_notification_def.h:471
Definition: nim_qchat_system_notification_def.h:205
uint64_t request_id
请求ID
Definition: nim_qchat_system_notification_def.h:207
Definition: nim_qchat_system_notification_def.h:211
uint64_t request_id
请求ID
Definition: nim_qchat_system_notification_def.h:213
Definition: nim_qchat_system_notification_def.h:475
NIMQChatServerInfo server_info
圈组服务器信息
Definition: nim_qchat_system_notification_def.h:477
uint64_t request_id
请求id
Definition: nim_qchat_system_notification_def.h:479
char * invite_code
邀请码
Definition: nim_qchat_system_notification_def.h:481
Definition: nim_qchat_system_notification_def.h:406
uint64_t server_id
服务器id
Definition: nim_qchat_system_notification_def.h:408
size_t accids_count
accid列表长度
Definition: nim_qchat_system_notification_def.h:414
uint64_t role_id
身份组id
Definition: nim_qchat_system_notification_def.h:410
char ** accids
accid列表
Definition: nim_qchat_system_notification_def.h:412
Definition: nim_qchat_system_notification_def.h:421
uint64_t role_id
身份组id
Definition: nim_qchat_system_notification_def.h:425
size_t permissions_count
变更的权限列表长度
Definition: nim_qchat_system_notification_def.h:429
uint64_t server_id
服务器id
Definition: nim_qchat_system_notification_def.h:423
NIMQChatPermissionGroup * permissions
变更的权限列表
Definition: nim_qchat_system_notification_def.h:427
Definition: nim_qchat_system_notification_def.h:235
NIMQChatServerInfo server_info
圈组服务器信息
Definition: nim_qchat_system_notification_def.h:237
Definition: nim_qchat_system_notification_def.h:325
uint64_t channel_id
频道ID
Definition: nim_qchat_system_notification_def.h:329
NIMQChatChannelWhiteBlackType type
白/黑名单类型
Definition: nim_qchat_system_notification_def.h:335
char ** accids
被踢人id列表
Definition: nim_qchat_system_notification_def.h:331
NIMQChatChannelWhiteBlackOpeType ope_type
操作类型
Definition: nim_qchat_system_notification_def.h:337
size_t accids_count
被踢人id列表长度
Definition: nim_qchat_system_notification_def.h:333
uint64_t server_id
服务器ID
Definition: nim_qchat_system_notification_def.h:327
Definition: nim_qchat_system_notification_def.h:311
uint64_t server_id
服务器ID
Definition: nim_qchat_system_notification_def.h:313
uint64_t role_id
身份组id
Definition: nim_qchat_system_notification_def.h:317
NIMQChatChannelWhiteBlackType type
白/黑名单类型
Definition: nim_qchat_system_notification_def.h:319
NIMQChatChannelWhiteBlackOpeType ope_type
操作类型
Definition: nim_qchat_system_notification_def.h:321
uint64_t channel_id
频道ID
Definition: nim_qchat_system_notification_def.h:315
Definition: nim_qchat_system_notification_def.h:127
char * msg_attach
消息附件
Definition: nim_qchat_system_notification_def.h:139
bool history_enable
false 或者 true, 是否存离线,只有 to_accids 不为空,才能设置为存离线,默认 false
Definition: nim_qchat_system_notification_def.h:147
NIMQChatSystemNotificationType msg_type
系统通知类型
Definition: nim_qchat_system_notification_def.h:135
char * from_device_id
消息发送者的设备id
Definition: nim_qchat_system_notification_def.h:174
char * to_accids
通知接受者账号列表, json array
Definition: nim_qchat_system_notification_def.h:145
char * from_accid
消息发送者的accid
Definition: nim_qchat_system_notification_def.h:170
bool resend_flag
重发标记,false:不是重发,true:是重发
Definition: nim_qchat_system_notification_def.h:143
char * msg_ext
消息扩展字段
Definition: nim_qchat_system_notification_def.h:141
bool need_push_nick
是否需要推送昵称, false: 不需要, true: 需要, 默认 true
Definition: nim_qchat_system_notification_def.h:157
uint64_t timestamp
消息发送时间戳
Definition: nim_qchat_system_notification_def.h:178
NIMQChatSystemNotificationToType to_type
消息通知目标
Definition: nim_qchat_system_notification_def.h:129
char * push_payload
自定义的推送属性,限制json
Definition: nim_qchat_system_notification_def.h:149
char * callback_ext
回调扩展字段
Definition: nim_qchat_system_notification_def.h:184
char * msg_id
消息id
Definition: nim_qchat_system_notification_def.h:166
uint64_t channel_id
消息所属的channel id
Definition: nim_qchat_system_notification_def.h:133
NIMQChatSystemNotificationStatus status
消息状态
Definition: nim_qchat_system_notification_def.h:164
uint32_t from_client_type
消息发送者的客户端类型
Definition: nim_qchat_system_notification_def.h:172
bool need_badge
是否需要消息计数, false: 不需要, true: 需要, 默认 true
Definition: nim_qchat_system_notification_def.h:155
uint64_t update_timestamp
消息更新时间戳
Definition: nim_qchat_system_notification_def.h:180
char * msg_body
消息内容
Definition: nim_qchat_system_notification_def.h:137
char * from_nick
消息发送者的昵称
Definition: nim_qchat_system_notification_def.h:176
char * env
环境变量,用户可以根据不同的env配置不同的抄送和回调地址
Definition: nim_qchat_system_notification_def.h:161
bool route_enable
是否需要抄送, false: 不需要, true: 需要, 默认 true
Definition: nim_qchat_system_notification_def.h:159
bool push_enable
是否需要推送, false: 不需要, true: 需要, 默认 false
Definition: nim_qchat_system_notification_def.h:153
uint64_t msg_server_id
消息服务器 id
Definition: nim_qchat_system_notification_def.h:168
uint64_t server_id
消息所属的server id
Definition: nim_qchat_system_notification_def.h:131
void * msg_data
系统通知数据, 根据不同的系统通知类型,数据结构不同
Definition: nim_qchat_system_notification_def.h:182
char * push_content
自定义的推送内容
Definition: nim_qchat_system_notification_def.h:151
Definition: nim_qchat_system_notification_def.h:112
NIMQChatSystemNotificationType msg_type
系统通知类型
Definition: nim_qchat_system_notification_def.h:116
uint64_t msg_server_id
消息服务器 id
Definition: nim_qchat_system_notification_def.h:114
Definition: nim_qchat_system_notification_def.h:519
void * user_data
自定义用户数据
Definition: nim_qchat_system_notification_def.h:521
NIMQChatSystemNotification notification
系统通知
Definition: nim_qchat_system_notification_def.h:525
NIMQChatMessageUpdateInfo update_info
消息更新信息
Definition: nim_qchat_system_notification_def.h:523
Definition: nim_qchat_system_notification_def.h:188
char * from_nick
事件发送者的昵称
Definition: nim_qchat_system_notification_def.h:199
char * extension
事件扩展字段
Definition: nim_qchat_system_notification_def.h:194
uint64_t channel_id
事件所属的channel id
Definition: nim_qchat_system_notification_def.h:192
uint64_t timestamp
事件发送时间戳
Definition: nim_qchat_system_notification_def.h:201
uint64_t server_id
事件所属的server id
Definition: nim_qchat_system_notification_def.h:190
char * from_accid
事件发送者的accid
Definition: nim_qchat_system_notification_def.h:197
Definition: nim_qchat_system_notification_def.h:615
NIMQChatSystemNotificationType msg_type
系统通知类型
Definition: nim_qchat_system_notification_def.h:623
void * user_data
自定义用户数据
Definition: nim_qchat_system_notification_def.h:619
NIMQChatSystemNotificationStatus status
消息状态
Definition: nim_qchat_system_notification_def.h:625
nim_qchat_update_notification_cb_func cb
发送系统通知异步回调
Definition: nim_qchat_system_notification_def.h:617
char * msg_body
消息内容
Definition: nim_qchat_system_notification_def.h:627
NIMQChatMessageUpdateInfo update_info
更新信息
Definition: nim_qchat_system_notification_def.h:631
uint64_t msg_server_id
系统通知服务器ID
Definition: nim_qchat_system_notification_def.h:621
char * msg_ext
消息扩展字段
Definition: nim_qchat_system_notification_def.h:629
Definition: nim_qchat_system_notification_def.h:539
NIMQChatSystemNotification notification
系统通知
Definition: nim_qchat_system_notification_def.h:545
void * user_data
自定义用户数据
Definition: nim_qchat_system_notification_def.h:543
uint32_t res_code
操作结果, 参考NIMResCode
Definition: nim_qchat_system_notification_def.h:541
Definition: nim_qchat_system_notification_def.h:491
char * nick
变更后的昵称
Definition: nim_qchat_system_notification_def.h:495
uint64_t server_id
服务器id
Definition: nim_qchat_system_notification_def.h:493
char * avatar
变更后的头像
Definition: nim_qchat_system_notification_def.h:497