Get a message
Retrieves information on a specific message.
The following table lists the parameters that this action supports.
include_thread_infoparameters are related to Sendbird's message threading feature. To learn more, see the message threading page.
Specifies the type of the channel. Acceptable values are
Specifies the URL of the target channel.
Specifies the unique ID of the message to retrieve.
Determines whether to include the information of the parent message in the results. (Default:
Determines whether to include thread information in the results. (Default:
Determines whether to include reactions added to messages in a channel in the results. (Default:
Determines whether to include all properties of a poll resource with a full list of options in the results. If set to
Determines whether to include the
(Deprecated) Determines whether to include the
If successful, this action returns a message resource in the response body.
Note: Sendbird Chat SDK supports the generation of a URL link preview within a message if the given URL has Open Graph (OG) tags, which are included as an
og_tagproperty in your response as well. This feature is turned on by default for Sendbird applications. If this isn't available for your Sendbird application, contact our support team to enable the feature.
In the case of an error, an error object is returned. A detailed list of error codes is available here.