InviteParam class

Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

InviteParam({required String channelId, required String accountId, required String requestId, String? customInfo, SignallingPushConfig? pushConfig, bool? offlineEnabled})
InviteParam.fromJson(Map<String, dynamic> map)
factory

Properties

accountId String
对方帐号id。 eg : 邀请与取消邀请时填被邀请人id ,拒绝邀请与接受邀请时填邀请人id
final
channelId String
频道id
final
customInfo String?
自定义扩展字段,透传给接收方
final
hashCode int
The hash code for this object.
no setterinherited
offlineEnabled bool?
相应的通知事件是否存离线 , 默认不离线
final
pushConfig SignallingPushConfig?
推送配置 ,仅在发出邀请时有效
final
requestId String
requestId 对本次邀请的唯一标识。 发起邀请者需要自行生成(要保证唯一性,不同的邀不能用同一个id),取消邀请时需要传入同一个requestId。 对于接收方 ,requestId可以在收到相应通知时获取
final
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