tencent cloud

Tencent Real-Time Communication

Release Notes and Announcements
Release Notes
Recent Product Announcement
TRTC Live (TUILiveKit) Product Launch Announcement
TRTC Conference Official Editions Launched
The commercial version of Conference is coming soon
Terms and Conditions Applicable to $9.9 Starter Package
Rules for the "First Subscription $100 Discount" Promotion
Announcement on the Start of Beta Testing for Multi-person Audio and Video Conference
TRTC Call Official Editions Launched
License Required for Video Playback in New Version of LiteAV SDK
TRTC to Offer Monthly Packages
Product Introduction
Overview
Concepts
Features
Strengths
Use Cases
Performance Statistics
Tencent RTC Quickplay: Experience Ultimate Real-Time Audio and Video Interaction!
Purchase Guide
Billing Overview
Free Minutes
Monthly subscription
Pay-as-you-go
TRTC Overdue and Suspension Policy
FAQs
Refund Instructions
User Tutorial
Free Demo
Call
Overview
Activate the Service
Run Demo
Integration
Offline Call Push
Conversational Chat
On-Cloud Recording
AI Noise Reduction
UI Customization
Calls integration to Chat
Additional Features
No UI Integration
Server APIs
Client APIs
Solution
ErrorCode
Release Notes
FAQs
Conference
Overview(TUIRoomKit)
Activate the Service (TUIRoomKit)
Run Demo(TUIRoomKit)
Integration(TUIRoomKit)
Screen Sharing (TUIRoomKit)
Schedule a meeting (TUIRoomKit)
In-meeting Call (TUIRoomKit)
UI Customization(TUIRoomKit)
Virtual Background (TUIRoomKit)
Conference Control (TUIRoomKit)
Cloud Recording (TUIRoomKit)
AI Noise Reduction (TUIRoomKit)
In-Conference Chat (TUIRoomKit)
Robot Streaming (TUIRoomKit)
Enhanced Features (TUIRoomKit)
Client APIs (TUIRoomKit)
Server APIs (TUIRoomKit)
FAQs (TUIRoomKit)
Error Code (TUIRoomKit)
SDK Update Log (TUIRoomKit)
Live
Billing of Video Live Component
Overview
Activating the Service (TUILiveKit)
Run Demo
No UI Integration
UI Customization
Live Broadcast Monitoring
Video Live Streaming
Voice Chat Room
Advanced Features
Client APIs
Server APIs
Error Codes
Release Notes
FAQs
RTC Engine
Activate Service
SDK Download
API Examples
Usage Guidelines
API Reference Manual
Advanced Features
AI Integration
Overview
Configure MCP Server
Install Skills
Integration Guide
FAQ
RTC RESTFUL API
History
Introduction
API Category
Room Management APIs
Stream mixing and relay APIs
On-cloud recording APIs
Data Monitoring APIs
Pull stream Relay Related interface
Web Record APIs
AI Service APIs
Cloud Slicing APIs
Cloud Moderation APIs
Making API Requests
Call Quality Monitoring APIs
Usage Statistics APIs
Data Types
Appendix
Error Codes
Console Guide
Application Management
Package Management
Usage Statistics
Monitoring Dashboard
Development Assistance
Solution
Real-Time Chorus
FAQs
Migration Guide
Billing
Features
UserSig
Firewall Restrictions
How to Downsize Installation Package
Android and iOS
Web
Flutter
Electron
TRTCCalling for Web
Audio and Video Quality
Others
Legacy Documentation
RTC RoomEngine SDK(Old)
Integrating TUIRoom (Web)
Integrating TUIRoom (Android)
Integrating TUIRoom (iOS)
Integrating TUIRoom (Flutter)
Integrating TUIRoom (Electron)
TUIRoom APIs
On-Cloud Recording and Playback (Old)
RTC Analytics Monthly Packages (Previous Version)
Protocols and Policies
Compliance
Security White Paper
Notes on Information Security
Service Level Agreement
Apple Privacy Policy: PrivacyInfo.xcprivacy
TRTC Policy
Privacy Policy
Data Processing And Security Agreement
Glossary

Profile Management

PDF
Focus Mode
Font Size
Last updated: 2025-05-20 10:38:10
Live and Instant Messaging (Chat) share the same account system, and the data belongs to some information bound to the user in the account system.

Profile System Overview

Instant Messaging (Chat) provides a complete set of profile solutions through its user profile hosting capacity. Chat's profile hosting service enables your users to easily set and pull profiles.
Chat can store profile information, ensuring that your data has remote disaster recovery, cross-region deployment, and auto scaling capabilities. In this way, you are completely free from complex processing flows, such as server downtime, multi-copy primary-secondary replication, and capacity scaling.
Chat provides the business processing flows commonly used in the industry, with which you do not have to worry about user profile business logic.
Chat provides professional operation processes and teams, ensuring 99.99% service quality annually and helping you offer services known for their stability.
Chat provides easy-to-use service APIs and easy-to-access guidelines, with premium services throughout the whole process.
By using Chat's profile hosting service, you will be able to:
Store, read, and write standard profile fields.
Store, read, and write custom profile fields.

Profile Fields

A profile is a set of data that describes user properties. Chat's profile system supports standard and custom profile fields. Profile fields have the following characteristics:
Profile fields are expressed in key-value format.
Key is in string format, and its name can only contain uppercase and lowercase letters, numbers, and underscores.
Value has the following types:
a. An integer of uint32_t type (not supported for custom fields)
b. An integer of uint64_t type (not supported for custom fields)
c. A string of string type (the length of the string cannot exceed 500 bytes.)

Standard Profile Fields

Currently, Chat supports the following standard profile fields:
Field Name
Type
Description
Push Notification upon Update
Notes
Tag_Profile_IM_Nick
string
Nickname
Yes
The maximum length is 500 bytes.
Tag_Profile_IM_Gender
string
Gender
Yes
Gender_Type_Unknown: the gender is not set
Gender_Type_Female: female
Gender_Type_Male: male
Tag_Profile_IM_BirthDay
uint32
Date of birth
Yes
Recommended format: 20190419
Tag_Profile_IM_Location
string
Location
Yes
The maximum length is 16 bytes. Recommended usage:
The app locally defines a set of number-location mappings.
The backend stores four uint32_t numbers.
The first uint32_t denotes the country or region.
The second uint32_t denotes the state or province.
The third uint32_t denotes the city.
The fourth uint32_t denotes the district or county.
Tag_Profile_IM_SelfSignature
string
Personal signature
Yes
The maximum length is 500 bytes.
Tag_Profile_IM_AllowType
string
Approval method for new friend requests
Yes
AllowType_Type_NeedConfirm: manually accept new friend requests. AllowType_Type_AllowAny: automatically accept all new friend requests. AllowType_Type_DenyAny: reject all new friend requests.
Tag_Profile_IM_Language
uint32
Language
Yes
The application locally defines the number-language mapping and needs to locally convert the number corresponding to the language into text.
Tag_Profile_IM_Image
string
URL of the profile photo
Yes
The maximum length is 500 bytes.
Tag_Profile_IM_AdminForbidType
string
Admin forbids tagging new friend requests
Yes
AdminForbid_Type_None: the default value, and sending new friend requests is allowed. AdminForbid_Type_SendOut: sending new friend requests is forbidden.
Tag_Profile_IM_Level
uint32
Level
Yes
Generally, a piece of UINT-8 data stores the information of one level.You can divide the level to store the level information of multiple roles.
Tag_Profile_IM_Language
uint32
Role
Yes
Generally, a piece of UINT-8 data stores the information of one role.You can divide the role to store the information of multiple roles.

Custom Profile Fields

Custom profile fields are the user data set by each app according to its own business needs. By using custom profile fields, an app can add additional data to user profiles and perform read and write operations through existing APIs.

Applying for custom profile fields

To apply for custom profile fields, log in to the Chat console and select Application Configuration > Feature Configuration. After your application is submitted, the custom profile fields will take effect in five minutes.
When applying for custom profile fields, you need to submit the following information for each field:
The name of the custom profile field (Key). For more information, see Naming Rules for Custom Profile Fields.
The type of the custom profile field (Value). For more information, see Profile Fields.

Naming rules for custom profile fields

The rules for naming custom profile fields are as follows:
The name of the custom profile field contains the prefix and keyword parts.
The prefix of the custom profile field is Tag_Profile_Custom.
Keyword: the keyword must be a string of letters with a length no more than 8 bytes. We recommend you use an English word or its abbreviation as the keyword.
Example: if the custom field to be applied for by an app has the keyword Test, then the name of the custom profile field is: Tag_Profile_Custom_Test.



Help and Support

Was this page helpful?

Help us improve! Rate your documentation experience in 5 mins.

Feedback