Direct Channel
private channel.
indicates two user Between one-on-one private chat channel. private channel In either party initiates conversation When automatically Create, Not requires manual Create/Delete.
Inherits from BaseChannel, Supports Message query and Unread count Management.
Inherited properties
Channel message push notification level.
Channel type
Message edit draft info.
Whether Contains machine people.
channel the last messages. Contains the last messages complete Info (Content, Sender, When time etc.).
channel within @ message (Including @Everyone) Unread count.
channel within Only @ me message Unread count.
channel Operation timestamp stamp (milli seconds).
Channel translation strategy.
Unread message count amount.
Functions
Inherited functions
*Note: 1 seconds minute Send message Not can exceed 5 items.
}
println("first items Unread messages: ${message.messageId}")
Usage Example:
Notification settings
) { message, error ->
Clear history messages.
Usage Example:
Usage Example:
Channel unique identifier
Channel message push notification level.
if (error == null) {
Channel type
Message edit draft info.
Usage Example:
Whether Contains machine people.
channel the last messages. Contains the last messages complete Info (Content, Sender, When time etc.).
channel within @ message (Including @Everyone) Unread count.
channel within Only @ me message Unread count.
From Local Data database re- New Get When before channel latest Info, Returns a New BaseChannel Object.
if (error == null && newChannel!= null) {
}
channel Operation timestamp stamp (milli seconds).
channel.removeTags(listOf("tag001", "tag002")) { error ->
// Draft cleared successfully
Channel translation strategy.
Unread message count amount.
// Cleared successfully
========================================
Delete message
}
从底层重新加载频道数据。
if (error == null) {
channel.sendMediaMessage(params, object: SendMediaMessageHandler {
channel.sendMessage(params, object: SendMessageHandler {
========================================
This Method Not Delete channel within message. If This channel has New message, This channel Convert re- New In List display,