OnGroupCreatedCallback
Introduction
The callback of a new group been created event.
Returned template
OnGroupCreatedCallback = void Function(
String groupID
)
Return value details
name | type | description |
---|---|---|
groupID | String | The group ID. |
Code example
V2TimGroupListener listener = V2TimGroupListener(
onGroupCreated: (String groupID) async {
}
);
TencentImSDKPlugin.v2TIMManager.addGroupListener(listener: listener);