For AI agents: this page in Markdown: https://www.pubnub.com/docs/chat/unity-chat-sdk/build/features/channels/details.md. Documentation index: https://www.pubnub.com/llms-full.txt.
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
channelIdrequired#- 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