set Conversation To Top
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 Conversation.ConversationType.
The conversation ID. Depending on the conversationType, this could be a user ID, discussion group ID, group ID, or chatroom ID.
Whether to pin the conversation.
Whether to create the conversation if it does not exist.
Whether to update the conversation's timestamp.
Callback indicating whether the pinning operation was successful.
Sets the sticky status of a conversation.
If the conversation does not exist, calling this method will automatically create the conversation and set it as sticky.
Since
5.0.0
Parameters
The type of conversation Conversation.ConversationType.
The ID of the conversation. Depending on the conversationType, this could be a user ID, discussion group ID, group ID, or chatroom ID.
Whether to set the conversation as sticky.
Callback to indicate whether the sticky status was successfully set.
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.0.0
Parameters
The type of the conversation Conversation.ConversationType.
The ID of the conversation. Depending on the conversationType, this could be a user ID, discussion group ID, group ID, or chatroom ID.
Whether to pin the conversation.
Whether to create the conversation if it does not exist.
Callback to indicate whether the pinning operation was successful.