tencent cloud

Feedback

Electron

Last updated: 2024-05-20 15:43:47

    Event Callback APIs

    API
    Description
    Adds the callback for receiving new messages.
    Deletes the callback for receiving new messages.
    Sets the callback for message read receipts.
    Sets the callback for message recalls.
    Sets the callback for the upload progress of message element files.
    Sets the callback for group system messages.
    Sets the callback for conversation events.
    Sets the callback for network connection status.
    Sets the callback for notifications of forced logout.
    Sets the callback for user ticket expiration.
    Sets the callback for adding friends.
    Sets the callback for deleting friends.
    Sets the callback for updating friends' profiles.
    Sets the callback for friend requests.
    Sets the callback for logs.
    Sets the callback for message update notifications returned after messages are modified in the cloud.

    Chat SDK Initialization APIs

    API
    Description
    TIMInit
    Initializes the Chat SDK.
    TIMUninit
    Uninstalls the Chat SDK.
    Gets Chat SDK version number.
    Sets extra user configurations.

    Login and Logout APIs

    API
    Description
    TIMLogin
    Logs in.
    TIMLogout
    Logs out.

    Conversation APIs

    API
    Description
    Creates a conversation.
    Deletes a conversation.
    Gets the conversation list of recent contacts.
    Sets the draft of a conversation.
    Deletes the draft of a conversation.
    Gets a conversation list.
    Gets the total unread message count of all conversations.
    Pins a conversation to the top.

    Message APIs

    API
    Description
    Sends a message to multiple users at a time, but not to groups.
    Cancels a message being sent based on messageID.
    Clears the messages of a conversation.
    Deletes the messages of a conversation.
    Deletes message extensions.
    Downloads message elements to a path.
    Downloads a combined message.
    Locates a message of a conversation by using the message locator.
    Queries local messages by messageID.
    Queries the one-to-one message receiving option of a user.
    Gets message extensions.
    Gets the message list of a specified conversation.
    Imports a message list to a conversation.
    Deletes the local and roaming messages of a conversation.
    Modifies a message.
    Marks a message as read.
    Recalls a message.
    Saves a custom message.
    Searches for local messages.
    Sends a new message.
    Sends a new message. (V2)
    Sets the one-to-one message receiving option of a user.
    Sets the group message receiving option.
    Sets message extensions.
    Translates text message.
    Converts voice message to text message.

    Group APIs

    API
    Description
    Creates a group.
    Disbands a group.
    Deletes group attributes.
    Deletes a group member.
    Gets specified group attributes.
    Gets group information.
    Gets the list of groups that a user has joined.
    Gets group member information.
    Gets the number of online members of a group.
    Gets the list of pending group requests.
    Handles pending group requests.
    Initializes group attributes.
    Invites someone to join a group.
    Requests to join a group.
    Modifies group information.
    Modifies group member information.
    Leaves a group.
    Reports that a pending group request is read.
    Searches for group members.
    Searches for groups.
    Sets group attributes.
    Gets the list of members who have or have not read the group message.
    Gets message read receipts.
    Sends message read receipts.

    User Profile APIs

    API
    Description
    Gets the profiles of specified users.
    Modifies one's own profile.

    Relationship Chain APIs

    API
    Description
    Adds friends.
    Adds a user to the blocklist.
    Checks the friend type (one-way or two-way).
    Creates a friend list.
    Deletes friends.
    Deletes a friend list.
    Removes a user from the blocklist.
    Deletes a pending friend request.
    Gets the blocklist.
    Gets the information of a friend list.
    Gets friend lists.
    Gets friend information.
    Gets the pending friend request list.
    Handles a friend request.
    Modifies a friend list.
    Updates friends' profiles (such as remarks).
    Reports that a pending friend request is read.
    Searches for friends.