OnConversationsAddedToGroup
Introduction
The callback of new conversations added to the a conversation group event.
Returned template
OnConversationsAddedToGroup = void Function(
String groupName, List<V2TimConversation> conversationList);
)
Return value details
name | type | description |
---|---|---|
groupName | String | The name of the conversation group. |
conversationList | List< V2TimConversation > | The newly added conversations. |
Code example
V2TimConversationListener listener = V2TimConversationListener(
onConversationsAddedToGroup:
(String groupName, List<V2TimConversation> conversationList) => {
});
TencentImSDKPlugin.v2TIMManager
.getConversationManager()
.addConversationListener(listener: listener);