Online Status

Description

UIKit supports displaying user online status in the conversation list and contact list.
When "Show User Online Status" is enabled, user online status will be displayed on each user's avatar in the chat list and contact list.
When "Show User Online Status" is disabled, user online status will not be displayed.
Note:
1. This feature is only supported by the Pro edition 、Pro Plus edition 、Enterprise edition. Please purchase the Pro edition 、Pro Plus edition 、Enterprise edition to use it.
2. Please enable the user status switch in the Chat Console. Ensure the switch is turned on before use.

Display Effect

Conversation List

Enable "Show User Online Status"
Disable "Show User Online Status"





Contacts List

Enable "Show User Online Status"
Disable "Show User Online Status"





Feature Overview

When initializing UIKit, config useUserOnlineStatus in TencentCloudChatUserConfig to enable this feature.
final bool initRes = await TencentCloudChat.controller.initUIKit(
config: TencentCloudChatConfig(
userConfig: TencentCloudChatUserConfig(
useUserOnlineStatus: true,
// ... other UIKit configurations
),
),
);

FAQs

When calling the Subscription/Unsubscription API, the interface prompts "Error Code 72001".
Error Code 72001 indicates that the corresponding capability is not enabled in the Console. Please log in to the Chat Console to enable the corresponding feature toggle.



Error: The package bundle does not support the use of this interface. Please upgrade to the advanced package.
This feature is only supported in the Pro edition 、Pro Plus edition 、Enterprise edition. The error message indicates that your current package does not support this capability. Please log in to the Chat Purchase Page to activate the Premium Edition and experience it.

Contact Us

If you have any questions during the access and usage process, please contact us through the following methods.