set Conversation To Top
Sets the pinned status of a conversation.
If the conversation does not exist, the SDK will automatically create and pin it when this method is called.
Since
5.6.8
Parameters
The type of conversation .
The ID of the conversation. Depending on the conversationType, this could be a user ID, discussion group ID, group ID, or chatroom ID.
The business identifier of the conversation to which the message belongs.
Whether to pin the conversation.
Callback indicating whether the pinning operation was successful.
Sets the pinned status of a conversation.
If the conversation does not exist, calling this method will automatically create and pin the conversation.
Since
Dedicated Cloud 5.6.2
Parameters
The type of conversation .
The ID of the conversation. Depending on the conversationType, this could be a user ID, discussion group ID, group ID, or chatroom ID.
The business identifier of the conversation to which the message belongs.
Whether to pin the conversation.
Whether to create the conversation if it does not exist.
Whether to update the conversation timestamp.
Callback indicating whether the pinning operation was successful.
Deprecated
Sets the pinned status of a conversation.
If the conversation does not exist, calling this method will automatically create and pin the conversation.
Since
5.1.1
Parameters
The type of conversation .
The ID of the conversation. Depending on the conversationType, this could be a user ID, discussion group ID, group ID, or chatroom ID.
The business identifier of the conversation to which the message belongs.
Whether to pin the conversation.
Whether to create the conversation if it does not exist.
Callback to indicate whether the pinning operation was successful.