GroupManager class
群管理器:建群 / 解散 / 详情,以及 WS 群事件分发。
Constructors
- GroupManager(ConversationManager _conversations)
Properties
- groupListener → OnGroupListener?
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
bindWsEvents(
) → void -
createGroup(
{required String name, required List< int> userIds}) → Future<int> -
创建群聊。
userIds为其他成员,服务端要求至少 2 人(不含自己)。 -
dismissGroup(
int groupId) → Future< void> -
群主解散群。成功后删除本地会话(解散后
session-delete可能失败)。 -
getGroupDetail(
int groupId) → Future< GroupDetail> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setGroupListener(
OnGroupListener listener) → void -
toString(
) → String -
A string representation of this object.
inherited
-
unbindWsEvents(
) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited