CreateMsgInfo class
Constructors
-
CreateMsgInfo({required String to, ConversationType conversationType = ConversationType.convGroup, PriorityType priority = PriorityType.mgsPriorityNormal, dynamic payload, String cloudCustomData = '', bool needReadReceipt = false, List<
String> ? receiverList, bool isSupportExtension = false, Function? onProgress, String? customModerationConfigurationID}) -
const
Properties
- cloudCustomData → String
-
消息自定义数据(云端保存,会发送到对端,程序卸载重装后还能拉取到)
final
- conversationType → ConversationType
-
会话类型,默认 ConversationType.convGroup
final
- customModerationConfigurationID → String?
-
消息自定义审核配置 ID
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isSupportExtension → bool
-
是否支持消息扩展,true 支持 false 不支持(需要您购买旗舰版或企业版套餐)
final
- needReadReceipt → bool
-
如果您发消息需要已读回执,需购买旗舰版或企业版套餐,并且创建消息时将 needReadReceipt 设置为 true
final
- onProgress → Function?
-
获取上传进度的回调函数
final
- payload → dynamic
-
消息内容的容器
final
- priority → PriorityType
-
消息优先级,默认 PriorityType.mgsPriorityNormal
final
-
receiverList
→ List<
String> ? -
定向接收消息的群成员列表(社群和直播群不支持)
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- to → String
-
消息接收方的 userID 或 groupID
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJS(
) → JSObject -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited