tencent cloud

Feedback

Development Guidelines

Last updated: 2024-05-17 16:11:45
    Chat provides a rich UI component library, including TUIKit, which focuses on chat interactions, and TUICallKit, which works with TRTC. Using the UI component library, you can quickly build an app avoiding the tedious UI development.
    Chat also supports various features, such as cloud review, an integrated online/offline push solution, intelligent customer service, intelligent robots, etc.
    You can get a general idea of Chat and its derived capabilities through the diagram below:
    
    If you are accessing Chat for the first time, we recommend:
    1. If you need a UI, you can choose from the UI components close to your business for a quick start, such as TUIKit and TUICallKit.
    2. If you have already implemented your own UI and only need Chat capabilities, you can integrate the Chat SDK alone without UI.
    Below, we will explain the access steps of different components in turn.

    Chat Interaction (TUIKit)

    TUIKit is a UI component library based on Tencent Cloud Chat SDK. It offers a number of general-purpose UI components, including session, chat, search, relationship chain, group, and audio and video call features. You can use these components to quickly build your own business logic, similar to assembling blocks.
    Taking the mobile app as an example, TUIKit offers 3 styles of interfaces:
    Classic Edition, similar to the WeChat interface style.
    Minimalist Edition, similar to the WhatsApp interface style.
    RTL Language, supports Arabic, reading from right to left.
    Classic Edition, similar to the WeChat style.
    Minimalist Edition
    RTL Language
    Classic Edition
    
    
    
    
    
    You can start by trying out the Demo:
    
    To get to know the code structure further, you can download the Demo source code and run it locally:
    
    If TUIKit meets your needs, you can begin integrating:
    
    Note:
    After integration, you can explore more rich features in the document: Chat.

    

    Video Call (TUICallKit)

    TUICallKit is an audio and video call UI component that uses the Chat SDK's signaling, chat, user status, and other features.
    Taking mobile as an example, the main features of TUICallKit are shown in the following figure:
    
    You can download the Demo source code and run it locally:
    
    If TUICallKit meets your needs, you can begin integrating:
    
    Note:
    After integration, you can explore more rich features in the document: Chat.

    No UI Integration

    If the above UI-inclusive products do not meet your needs, you can also directly integrate the Chat SDK that does not contain UI.
    The integration process is very simple, you only need to perform 2 steps (initialize SDK and log in to the Chat account) to start sending and receiving messages:
    
    You need to first integrate the Chat SDK:
    
    Next, initialize the Chat SDK as required:
    
    Before using the Chat SDK feature, you need to log in to the account:
    
    Note:
    After login, more rich features can be explored in the document Chat.
    
    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