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

#import <NIMQChatSendSystemNotificationParam.h>

类 NIMQChatSendSystemNotificationParam 继承关系图:

构造函数

(instancetype) - initWithServerId:
 
(instancetype) - initWithServerId:channelId:
 
(instancetype) - initWithServerId:toAccids:
 
(instancetype) - initWithServerId:channelId:toAccids:
 
(instancetype) - initWithAccids:
 
(NIMQChatSystemNotification *) - toQChatSystemNotification
 

属性

NIMQChatSystemNotificationToType toType
 
unsigned long long serverId
 
unsigned long long channelId
 
NSArray< NSString * > * toAccids
 
NSString * body
 
NSDictionary * attach
 
NSString * ext
 
NSString * pushPayload
 
NSString * pushContent
 
NSString * env
 
NIMQChatSystemNotificationSettingsetting
 

详细描述

发送自定义系统通知的参数

函数文档

◆ initWithAccids:

- (instancetype) initWithAccids: (NSArray< NSString * > *)  toAccids

◆ initWithServerId:

- (instancetype) initWithServerId: (unsigned long long)  serverId

◆ initWithServerId:channelId:

- (instancetype) initWithServerId: (unsigned long long)  serverId
channelId: (unsigned long long)  channelId 

◆ initWithServerId:channelId:toAccids:

- (instancetype) initWithServerId: (unsigned long long)  serverId
channelId: (unsigned long long)  channelId
toAccids: (NSArray< NSString * > *)  toAccids 

◆ initWithServerId:toAccids:

- (instancetype) initWithServerId: (unsigned long long)  serverId
toAccids: (NSArray< NSString * > *)  toAccids 

◆ toQChatSystemNotification

- (NIMQChatSystemNotification *) toQChatSystemNotification

属性说明

◆ attach

- (NSDictionary*) attach
readwritenonatomiccopy

消息附件

◆ body

- (NSString*) body
readwritenonatomiccopy

通知内容

◆ channelId

- (unsigned long long) channelId
readnonatomicassign

消息所属的频道ID

◆ env

- (NSString*) env
readwritenonatomiccopy

环境变量

◆ ext

- (NSString*) ext
readwritenonatomiccopy

消息自定义扩展字段,推荐使用json格式

◆ pushContent

- (NSString*) pushContent
readwritenonatomiccopy

自定义推送文案

◆ pushPayload

- (NSString*) pushPayload
readwritenonatomiccopy

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

◆ serverId

- (unsigned long long) serverId
readnonatomicassign

消息所属的服务器ID

◆ setting

- (NIMQChatSystemNotificationSetting*) setting
readwritenonatomiccopy

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

◆ toAccids

- (NSArray<NSString *>*) toAccids
readnonatomiccopy

通知接受者账号列表

◆ toType

- (NIMQChatSystemNotificationToType) toType
readnonatomicassign

目标


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