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