NIMQChatSystemNotification Class Reference
| Inherits from | NSObject |
|---|---|
| Conforms to | NSCopying |
| Declared in | NIMQChatSystemNotification.h |
toType
目标
@property (nonatomic, assign, readonly) NIMQChatSystemNotificationToType toTypeDiscussion
目标
Declared In
NIMQChatSystemNotification.h
serverId
消息所属的服务器ID
@property (nonatomic, assign, readonly) unsigned long long serverIdDiscussion
消息所属的服务器ID
Declared In
NIMQChatSystemNotification.h
channelId
消息所属的频道ID
@property (nonatomic, assign, readonly) unsigned long long channelIdDiscussion
消息所属的频道ID
Declared In
NIMQChatSystemNotification.h
toAccids
消息接收者的账号列表
@property (nullable, nonatomic, copy, readonly) NSArray<NSString*> *toAccidsDiscussion
消息接收者的账号列表
Declared In
NIMQChatSystemNotification.h
fromAccount
消息发送者的accid
@property (nullable, nonatomic, copy) NSString *fromAccountDiscussion
消息发送者的accid
Declared In
NIMQChatSystemNotification.h
fromClientType
消息发送者这的客户端类型
@property (nonatomic, assign) NSInteger fromClientTypeDiscussion
消息发送者这的客户端类型
Declared In
NIMQChatSystemNotification.h
fromDeviceId
发送设备id
@property (nullable, nonatomic, copy) NSString *fromDeviceIdDiscussion
发送设备id
Declared In
NIMQChatSystemNotification.h
fromNick
发送方昵称
@property (nullable, nonatomic, copy) NSString *fromNickDiscussion
发送方昵称
Declared In
NIMQChatSystemNotification.h
time
消息发送时间
@property (nonatomic, assign) NSTimeInterval timeDiscussion
消息发送时间
Declared In
NIMQChatSystemNotification.h
updateTime
消息更新时间,可以更新body/attach/ext三个字段
@property (nonatomic, assign) NSTimeInterval updateTimeDiscussion
消息更新时间,可以更新body/attach/ext三个字段
Declared In
NIMQChatSystemNotification.h
type
系统通知类型
@property (nonatomic, assign) NIMQChatSystemNotificationType typeDiscussion
系统通知类型
Declared In
NIMQChatSystemNotification.h
messageClientId
客户端生成的消息id, 会用于去重
@property (nullable, nonatomic, copy) NSString *messageClientIdDiscussion
客户端生成的消息id, 会用于去重
Declared In
NIMQChatSystemNotification.h
messageServerID
服务端生成的消息id,全局唯一
@property (nonatomic, assign) unsigned long long messageServerIDDiscussion
服务端生成的消息id,全局唯一
Declared In
NIMQChatSystemNotification.h
body
通知内容
@property (nullable, nonatomic, copy) NSString *bodyDiscussion
通知内容
Declared In
NIMQChatSystemNotification.h
attach
系统通知附件
@property (nullable, nonatomic, copy) id<NIMQChatSystemNotificationAttachment> attachDiscussion
系统通知附件
Declared In
NIMQChatSystemNotification.h
ext
系统通知自定义扩展字段,推荐使用json格式
@property (nullable, nonatomic, copy) NSString *extDiscussion
系统通知自定义扩展字段,推荐使用json格式
Declared In
NIMQChatSystemNotification.h
status
系统通知状态
@property (nonatomic, assign) NSInteger statusDiscussion
系统通知状态
Declared In
NIMQChatSystemNotification.h
pushPayload
第三方自定义的推送属性,限制json
@property (nullable, nonatomic, copy) NSString *pushPayloadDiscussion
第三方自定义的推送属性,限制json
Declared In
NIMQChatSystemNotification.h
pushContent
自定义推送文案
@property (nullable, nonatomic, copy) NSString *pushContentDiscussion
自定义推送文案
Declared In
NIMQChatSystemNotification.h
setting
自定义系统通知设置
@property (nullable, nonatomic, copy) NIMQChatSystemNotificationSetting *settingDiscussion
自定义系统通知设置
可以通过这个字段制定当前通知的各种设置,如是否需要计入推送未读,是否需要带推送前缀等等
Declared In
NIMQChatSystemNotification.h
env
环境变量
@property (nullable, nonatomic, copy) NSString *envDiscussion
环境变量
Declared In
NIMQChatSystemNotification.h
callbackExt
第三方回调回来的自定义扩展字段
@property (nullable, nonatomic, copy) NSString *callbackExtDiscussion
第三方回调回来的自定义扩展字段
Declared In
NIMQChatSystemNotification.h