이 페이지는 현재 영어로만 제공되며 한국어 버전은 곧 제공될 예정입니다. 기다려 주셔서 감사드립니다.

대화 획득

Feature Description

The IM 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
});