NIMSDK-iOS
载入中...
搜索中...
未找到
NIMQChatSystemNotification类 参考

#import <NIMQChatSystemNotification.h>

类 NIMQChatSystemNotification 继承关系图:

属性

NIMQChatSystemNotificationToType toType
 
unsigned long long serverId
 
unsigned long long channelId
 
NSArray< NSString * > * toAccids
 
NSString * fromAccount
 
NSInteger fromClientType
 
NSString * fromDeviceId
 
NSString * fromNick
 
NSTimeInterval time
 
NSTimeInterval updateTime
 
NIMQChatSystemNotificationType type
 
NSString * messageClientId
 
unsigned long long messageServerID
 
NSString * body
 
id< NIMQChatSystemNotificationAttachmentattach
 
NSString * ext
 
NSInteger status
 
NSString * pushPayload
 
NSString * pushContent
 
NIMQChatSystemNotificationSettingsetting
 
NSString * env
 
NSString * callbackExt
 

详细描述

圈组系统消息

属性说明

◆ attach

- (id<NIMQChatSystemNotificationAttachment>) attach
readwritenonatomiccopy

系统通知附件

◆ body

- (NSString*) body
readwritenonatomiccopy

通知内容

◆ callbackExt

- (NSString*) callbackExt
readwritenonatomiccopy

第三方回调回来的自定义扩展字段

◆ channelId

- (unsigned long long) channelId
readnonatomicassign

消息所属的频道ID

◆ env

- (NSString*) env
readwritenonatomiccopy

环境变量

◆ ext

- (NSString*) ext
readwritenonatomiccopy

系统通知自定义扩展字段,推荐使用json格式

◆ fromAccount

- (NSString*) fromAccount
readwritenonatomiccopy

消息发送者的accid

◆ fromClientType

- (NSInteger) fromClientType
readwritenonatomicassign

消息发送者这的客户端类型

◆ fromDeviceId

- (NSString*) fromDeviceId
readwritenonatomiccopy

发送设备id

◆ fromNick

- (NSString*) fromNick
readwritenonatomiccopy

发送方昵称

◆ messageClientId

- (NSString*) messageClientId
readwritenonatomiccopy

客户端生成的消息id, 会用于去重

◆ messageServerID

- (unsigned long long) messageServerID
readwritenonatomicassign

服务端生成的消息id,全局唯一

◆ pushContent

- (NSString*) pushContent
readwritenonatomiccopy

自定义推送文案

◆ pushPayload

- (NSString*) pushPayload
readwritenonatomiccopy

第三方自定义的推送属性,限制json

◆ serverId

- (unsigned long long) serverId
readnonatomicassign

消息所属的服务器ID

◆ setting

- (NIMQChatSystemNotificationSetting*) setting
readwritenonatomiccopy

自定义系统通知设置 @discussion 可以通过这个字段制定当前通知的各种设置,如是否需要计入推送未读,是否需要带推送前缀等等

◆ status

- (NSInteger) status
readwritenonatomicassign

系统通知状态

◆ time

- (NSTimeInterval) time
readwritenonatomicassign

消息发送时间

◆ toAccids

- (NSArray<NSString *>*) toAccids
readnonatomiccopy

消息接收者的账号列表

◆ toType

- (NIMQChatSystemNotificationToType) toType
readnonatomicassign

目标

◆ type

- (NIMQChatSystemNotificationType) type
readwritenonatomicassign

系统通知类型

◆ updateTime

- (NSTimeInterval) updateTime
readwritenonatomicassign

消息更新时间,可以更新body/attach/ext三个字段


该类的文档由以下文件生成: