Chat UIKit Jetpack Compose v3
Chat UIKit Jetpack Compose
Chat UIKit
Jetpack Compose
Version 3
Sendbird UIKit for Jetpack Compose supports Open Graph tags, or link preview composable, powered by the Chat SDK’s OG Tags. If a message includes OgMetaData
, an object that contains OG metadata information such as title, URL, and default image of an OG object, the OgTag
composable displays the link preview of the message.
In order to implement OgTag
, enable OgTag
in the application settings first.
Prerequisites
Copy link
To use OgTag
, make sure you have completed the following prerequisites:
- Enable the
OgTag
feature in your Sendbird application. You can do this by going to Chat > UIKit config in Sendbird Dashboard and turn on Link preview.
Customize the UI
Copy link
The UI for OgTag
can be customized by injecting custom composable. The following code shows how to build ChannelScreen
with the OgTag
composable.
On this page