NIMMessagePushConfig class

消息推送设置

Annotations
  • @JsonSerializable.new(explicitToJson: true)

Constructors

NIMMessagePushConfig({bool? pushEnabled, bool? pushNickEnabled, String? pushContent, String? pushPayload, bool? forcePush, String? forcePushContent, List<String?>? forcePushAccountIds})
NIMMessagePushConfig.fromJson(Map<String, dynamic> map)
factory

Properties

forcePush bool?
是否强制推送,忽略用户消息提醒相关设置
getter/setter pair
forcePushAccountIds List<String?>?
强制推送目标账号列表
getter/setter pair
forcePushContent String?
强制推送文案,只消息类型有效
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
pushContent String?
推送文本
getter/setter pair
pushEnabled bool?
是否需要推送消息。YES:需要,NO:不需要,默认YES
getter/setter pair
pushNickEnabled bool?
是否需要推送消息发送者昵称。YES:需要,NO:不需要,默认YES
getter/setter pair
pushPayload String?
推送数据
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited