@tencentcloud/chat-uikit-react
TypeScript icon, indicating that this package has built-in type declarations

2.3.0 • Public • Published

chat-uikit-react

About Tencent Cloud Chat

Tencent Cloud Chat provides globally interconnected chat APIs, multi-platform SDKs, and UIKit components to help you quickly bring messaging capabilities such as one-to-one chat, group chat, chat rooms, and system notifications to your applications and websites.

Global Compliance Certifications

Core Capabilities

  • 1 Billion+ Monthly active users
  • 550 Billion+ Daily peak messages
  • 100,000+ Customers worldwid
  • 99.99% Message success rate

Low-Code UIKit and Free Demo

👉🏻 Free Demo

Get Started

In respect for the copyright of emoji designs, the Chat Demo/TUIKit project does not include large emoji element cutouts. Please replace them with your own designed or copyrighted emoji packs before the official commercial launch. The default QQ emojis are copyrighted by Tencent and do not support authorization. We ask for your understanding and to be aware of this.

Step 1. Create an app

  1. Log in to the Chat console.
  2. Click Create Application, enter your app name, and click Create.
  3. After creation, you can see the status, service version, SDKAppID, creation time, tag, and expiration time of the new app on the overview page of the console.

Step 2. Obtain the SDKAppID and SECRETKEY

  1. Click the target app card to go to the basic configuration page of the app.
  2. In the Basic info area, click Display key, and then copy and save the key information, which is SECRETKEY.

Step 3. Download the source code and install dependencies

# Please run the following code in the terminal.
$ git clone https://github.com/TencentCloud/chat-uikit-react
# Go to the project  
$ cd chat-uikit-react/examples/sample-chat
# Install dependencies of the demo and build chat-uikit-react
$ npm install

Step 4. Configure

  1. Open the examples/sample-chat project and locate the GenerateTestUserSig.js file in ./examples/sample-chat/src/debug/GenerateTestUserSig.js.
  2. Set the SDKAppID and SECRETKEY obtained at Step 2.

Step 5. Run the demo

$ npm run start

Send your first message

  1. Run the demo in two seperate tab pages.
  2. In the search box of the demo in the first tab page, search for the login ID of the demo in the second tab page.
  3. Click on the user avatar to initiate a conversation.
  4. Enter a message in the input box and press Enter to send it. Emoji/Image/Video/Document messages are supported.

Contact Us

Join a Tencent Cloud Chat developer group for Reliable technical support & Product details & Constant exchange of ideas.

  • Telegram group (EN): join
  • WhatsApp group (EN): join
  • Telegram group (ZH): join
  • WhatsApp group (ZH): join

Package Sidebar

Install

npm i @tencentcloud/chat-uikit-react

Weekly Downloads

65

Version

2.3.0

License

MIT

Unpacked Size

1.66 MB

Total Files

872

Last publish

Collaborators

  • harperhpliu
  • mango2630
  • allen0809npm
  • rgzhao
  • jasperdai
  • raingxm
  • tencent-im
  • jonytang
  • chenximo
  • jiushu530
  • dawnrking
  • mileszzhang
  • ashster
  • tencent-cloud-im
  • yangq