Security News
38% of CISOs Fear They’re Not Moving Fast Enough on AI
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
@tencentcloud/chat-uikit-vue
Advanced tools
Build In-App Chat & Audio/Video Call & Live Streaming in minutes with UIKit components for Vue.
Globally interconnected In-App Chat, user profile and relationship chains and online/offline push.
English / 简体中文
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.
👉🏻 Free Demo
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();
Join a Tencent Cloud Chat developer group for Reliable technical support & Product details & Constant exchange of ideas.
FAQs
Build In-App Chat & Audio/Video Call & Live Streaming in minutes with UIKit components for Vue.
The npm package @tencentcloud/chat-uikit-vue receives a total of 151 weekly downloads. As such, @tencentcloud/chat-uikit-vue popularity was classified as not popular.
We found that @tencentcloud/chat-uikit-vue demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.
Security News
Company News
Socket is joining TC54 to help develop standards for software supply chain security, contributing to the evolution of SBOMs, CycloneDX, and Package URL specifications.