Comment on page
Pin a message
pinMessagefunction exposed by the SDK allows you to pin at the top of a chat a message, specified by its
If another message is already pinned, it is replaced.
Currently it is not possible to programmatically unpin a message.
The user needs to be owner of the room to be able to pin the message, otherwise an error will be returned.
Promise<true | SdkError>;
- In case of success, the promise returns
- In case of error, the promise returns a
SdkErrorstructure, with the following properties:
const result = await window.symphony.sdk.pinMessage('ORRT7G00Bm0skftV+kK2tX///nZz1Vs4bQ==');
Last modified 4mo ago