tencent cloud

All product documents
Chat
Last updated: 2024-02-06 17:53:11
Flutter
Last updated: 2024-02-06 17:53:11

Feature Description

The methods to manipulate the group member profile are in the TencentImSDKPlugin.v2TIMManager.getGroupManager() core class.


Getting the Profile of a Group Member

Call getGroupMembersInfo (Details) to get the group member profile. This API supports passing in multiple userID values at a time to batch get group member profiles and therefore improve the network transfer efficiency.
Sample code:
// Get the group member profile
V2TimValueCallback<List<V2TimGroupMemberFullInfo>> memberInfos = await groupManager.getGroupMembersInfo(groupID: "groupID", memberList: ["id1"]);


Modifying the Profile of a Group Member

The group owner or admin can call the setGroupMemberInfo API (Details) to modify the group name card (nameCard), custom field (customInfo), and other information of a group member.
Sample code:
// Set the group member profile
groupManager.setGroupMemberInfo(groupID: "",userID: "",nameCard: "",customInfo: {});
Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback

Contact Us

Contact our sales team or business advisors to help your business.

Technical Support

Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

7x24 Phone Support
Hong Kong, China
+852 800 906 020 (Toll Free)
United States
+1 844 606 0804 (Toll Free)
United Kingdom
+44 808 196 4551 (Toll Free)
Canada
+1 888 605 7930 (Toll Free)
Australia
+61 1300 986 386 (Toll Free)
EdgeOne hotline
+852 300 80699
More local hotlines coming soon