On this page

Get channel details

Fetch a specific channel's metadata with GetChannel().

Requires App Context

Enable App Context for your keyset in the Admin Portal.

Method signature

This method takes the following parameters:

Method signature

This method takes the following parameters:

1chat.GetChannel(
2 string channelId
3)

Input

* required
ParameterDescription
channelId *
Type: string
Default:
n/a
Unique channel identifier (up to 92 UTF-8 byte sequences).

Output

The method returns an awaitable Task<ChatOperationResult<Channel>> with the Channel object if it exists, otherwise the Error property on the result will be true.

Sample code

Fetch the support channel metadata.

1

Last updated on