tencent cloud

Feedback

Last updated: 2024-01-31 16:27:04

    Feature Description

    You can call MsgFindMessages to query a local message by messageID.
    1. Only local messages can be queried, for example, received messages or historical messages pulled by API.
    2. Audio-video group (AVChatRoom) messages cannot be queried, as they are not saved locally.

    Querying a Local Message

    Call the MsgFindMessages API (Details) to query a local message.
    Sample code:
    // Query a message by message ID
    TIMResult res = TencentIMSDK.MsgFindMessages(message_id_array, (int code, string desc, List<Message> messages, string user_data) => {
    // Process the callback logic
    });
    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