Get Channel
Get a Channel
The function allows users to retrieve information about a specific channel using the channelId parameter. This function returns a Live Object of the AmityChannel class, which contains information such as the channel's display name, tags, avatar, and other metadata.
This function is useful for a variety of purposes, such as displaying information about a channel to users or retrieving channel details before joining the channel.
const liveChannel = ChannelRepository.getChannel('channel3');
liveChannel.once('dataUpdated', data => {
...
});Version 6 and Beta (v0.0.1)
Last updated
Was this helpful?