tencent cloud

All product documents
Chat
Last updated: 2025-03-03 15:33:00
Unity
Last updated: 2025-03-03 15:33:00

Feature Description

The Chat SDK provides an API for getting conversations, which you can use to get the ConvInfo object information of one or multiple specified conversations. Call ConvGetConvInfo (Details) to get the information of one or multiple conversations.
Sample code:
List<ConvParam> list = new List<ConvParam>();
ConvParam conv1 = new ConvParam();
conv1.get_conversation_list_param_conv_id = "group_conv_id";
conv1.get_conversation_list_param_conv_type = TIMConvType.kTIMConv_Group;
list.Add(conv1);
ConvParam conv2 = new ConvParam();
conv2.get_conversation_list_param_conv_id = "c2c_conv_id";
conv2.get_conversation_list_param_conv_type = TIMConvType.kTIMConv_C2C;
list.Add(conv2);
TIMResult res = TencentIMSDK.ConvGetConvInfo(list, (int code, string desc, List<ConvInfo> info_list, string user_data)=>{
// Process the async logic
});

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