SDK Reference
Methods
Deprecated
GetChannel

getChannel

⚠️

Channels have been deprecated in favor of Contexts. Check out getContext.


Returns details of a channel.

How to use?

const { data, error } = await orbis.getChannel(channel_id);

Parameters

  • channel_id - (stream) ID of the channel

Returns

{
  stream_id: "k...",
  group_id: "k...",
  creator: "k...",
  type: "chat", /** Can be 'chat' or 'feed' */
  content: {
    name: "developer-chat",
    type: "chat",
    group_id: "k...",
    description: "This is the channel to use..."
  }
}