NIMQChatSendSystemNotificationParam Class Reference

Inherits from NSObject
Declared in NIMQChatSendSystemNotificationParam.h

Overview

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

  toType

目标

@property (nonatomic, assign, readonly) NIMQChatSystemNotificationToType toType

Discussion

目标

Declared In

NIMQChatSendSystemNotificationParam.h

  serverId

消息所属的服务器ID

@property (nonatomic, assign, readonly) unsigned long long serverId

Discussion

消息所属的服务器ID

Declared In

NIMQChatSendSystemNotificationParam.h

  channelId

消息所属的频道ID

@property (nonatomic, assign, readonly) unsigned long long channelId

Discussion

消息所属的频道ID

Declared In

NIMQChatSendSystemNotificationParam.h

  toAccids

通知接受者账号列表

@property (nullable, nonatomic, copy, readonly) NSArray<NSString*> *toAccids

Discussion

通知接受者账号列表

Declared In

NIMQChatSendSystemNotificationParam.h

  body

通知内容

@property (nullable, nonatomic, copy) NSString *body

Discussion

通知内容

Declared In

NIMQChatSendSystemNotificationParam.h

  attach

消息附件

@property (nullable, nonatomic, copy) NSDictionary *attach

Discussion

消息附件

Declared In

NIMQChatSendSystemNotificationParam.h

  ext

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

@property (nullable, nonatomic, copy) NSString *ext

Discussion

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

Declared In

NIMQChatSendSystemNotificationParam.h

  pushPayload

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

@property (nonatomic, copy) NSString *pushPayload

Discussion

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

Declared In

NIMQChatSendSystemNotificationParam.h

  pushContent

自定义推送文案

@property (nullable, nonatomic, copy) NSString *pushContent

Discussion

自定义推送文案

Declared In

NIMQChatSendSystemNotificationParam.h

  env

环境变量

@property (nullable, nonatomic, copy) NSString *env

Discussion

环境变量

Declared In

NIMQChatSendSystemNotificationParam.h

  setting

自定义系统通知设置

@property (nullable, nonatomic, copy) NIMQChatSystemNotificationSetting *setting

Discussion

自定义系统通知设置

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

Declared In

NIMQChatSendSystemNotificationParam.h