Skip to main content

Pin a message at the top of a conversation or remove an existing pin. Use isTop to select the operation.

API Definition

/**
* set pin status
* @param messageId message ID
* @param conversation identifier of the conversation containing the message
* @param isTop whether the message is pinned
* @param callback result callback
*/
void setTop(String messageId, Conversation conversation, boolean isTop, ISimpleCallback callback);