Message.avatarare both empty, how can the message be processed to normally display the nickname and profile photo on the screen?
You can call getMyProfile to obtain your nickname and profile photo.
You can use a custom message to mute a specific group member. The custom message must contain the Members_Account of the group member to be muted and the muting time. Send the custom message to the business backend by calling the Callback Before Delivering Group Messages. The business backend will call Muting and Unmuting Group Members to mute the group member.
You can use a custom message to remove a specific group member. The custom message must contain the Members_Account of the group member to be removed. Set the priority of the custom message to High to prevent the message from being discarded by the backend due to the message sending frequency limit of 40 messages per second. After the SDK receives the message, it calls the kickGroupMember API to remove the group member from the group.
Messages can be lost due to the following conditions:
If the problem persists, submit a ticket to contact us.
Customize the like or follow message type. When a user clicks the like or follow icon on the frontend to deliver a custom message, send the like or follow message to the business side by calling the Callback Before Delivering Group Messages. The business side counts the number of received like and follow messages and updates the data to the group profile field every 3 to 5 seconds by calling Modify Basic Group Profiles. The SDK calls the getGroupsInfo API to count the number of like or follow messages.
To prevent important messages from being discarded, a livestreaming group provides three message priorities for all messages. The SDK preferentially obtains high priority messages. We recommend that you set the priorities of custom messages as follows:
Yes. The code is also open-source. For more information, see Tencent Cloud TWebLive.