orbis.getChannel()

Returns the details of a channel.

How to use?

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

Parameters

  • channel_id: 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 if you have questions about the Orbis SDK."
  	}
  }

Next steps

Explore other parts of the API.

orbis.getIsGroupMember()

orbis.getProfile()