@tencentcloud/chat-uikit-vue

2.3.3 • Public • Published

chat-uikit-vue

Globally interconnected In-App Chat, user profile and relationship chains and online/offline push.

English / 简体中文

image image

About chat-uikit-vue

chat-uikit-vue is a Vue UI component library based on Tencent Cloud Chat SDK. It provides universally used UI components that include Conversation, Chat, and Group components. Leveraging these meticulously crafted UI components, you can quickly construct an elegant, reliable, and scalable Chat application.

In respect for the copyright of the emoji design, the Chat Demo/TUIKit project does not include the cutouts of large emoji elements. Please replace them with your own designed or copyrighted emoji packs before the official launch for commercial use. The default small yellow face emoji pack is copyrighted by Tencent Cloud and can be authorized for a fee. If you wish to obtain authorization, please submit a ticket to contact us.

Core Capabilities

  • UIKit: Build a fully-featured chat app in just ten minutes using UIKit components
  • Various Message Types: Support multiple message types, such as text, images, audio, and video messages
  • Notifications: Timely notify users of app messages and drive higher conversion rates
  • Group Management: Create groups, manage group members, and customize profiles
  • Conversation Management: View information about unread messages, recent, pinned, or deleted chats

Demo

👉🏻 Free Demo

Send Your First Message

Vue3

Vue2

TUILogin

import { TUILogin } from '@tencentcloud/tui-core';

The options parameter is of the Object type. It contains the following attribute values:

Name Type Description
SDKAppID number Required, SDKAppID of the chat app
userID string Required, user ID
userSig string Required, the password with which the user logs in to the Chat console. It is essentially the ciphertext generated by encrypting information such as the UserID.For the detailed generation method, see Generating UserSig
TIMPush any Optional, TIMPush plugin instance when uniapp build app packages
pushConfig object Optional, TIMPush plugin's config
useUploadPlugin boolean Optional, whether to use the upload plugin, the default is false
proxyServer string Optional, WebSocket server proxy address
fileUploadProxy string Optional, image, video, file upload proxy address
fileDownloadProxy string Optional, image, video, file download proxy address
framework string | undefined Required, UI framework type, optional values: vue2、vue3、undefined
// Login
TUILogin.login(options);
// Logout
TUILogin.logout();
// Set the SDK log level.
// 0: Common level. You are advised to use this level during access as it covers more logs.
// 1: Release level. You are advised to use this level for key information in a production environment.
TUILogin.setLogLevel(0); 
// Get Chat SDK instance
const { chat } = TUILogin.getContext();

Documentation

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

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
2.3.3107latest

Version History

VersionDownloads (Last 7 Days)Published
2.3.3107
2.3.2557
2.3.10
2.3.00
2.2.90
2.2.80
2.2.7140
2.2.637
2.2.473
2.2.312
2.2.221
2.2.10
2.2.00
2.1.44
2.1.30
2.1.20
2.1.00
2.0.910
2.0.80
2.0.70
2.0.651
2.0.50
2.0.41
2.0.30
2.0.20
2.0.10
2.0.00
1.4.53
1.4.40
1.4.32
1.4.20
1.4.10
1.4.00
1.3.60
1.3.50
1.3.40
1.3.30
1.3.20
1.3.11
1.3.00
1.2.50
1.2.40
1.2.30
1.2.20
1.2.10
1.2.00
1.0.110
1.0.100
1.0.90
1.0.80
1.0.70
1.0.60
1.0.50
1.0.41
1.0.20
1.0.10
1.0.00

Package Sidebar

Install

npm i @tencentcloud/chat-uikit-vue

Weekly Downloads

1,020

Version

2.3.3

License

ISC

Unpacked Size

1.36 MB

Total Files

404

Last publish

Collaborators

  • dawnrking
  • bernlao
  • ashfieldfox
  • chenximo
  • llwyct
  • allen0809npm
  • ashster
  • xinli123
  • wbxl2000
  • viktorli
  • alsotang
  • harperhpliu
  • mango2630
  • rgzhao
  • jasperdai
  • raingxm
  • tencent-im
  • jonytang
  • jiushu530
  • mileszzhang
  • tencent-cloud-im
  • yangq