Overview
The channel query is designed to fetch details of a specific channel by its ID. The user must have access to the channel (either it’s a public channel in their team, or they are a member of the private channel).Arguments
The unique identifier of the channel to fetch.
Schema
Fields available to the Channel queryUsage Example
Error Codes
List of possible error codes that may be returned by thechannel query. Full list of error codes can be found here.
object_not_found (Channel)
object_not_found (Channel)
The channel ID you are trying to query does not exist or you do not have access to it.
Additional Resources
Channels
Query list of channels
Channel Schema
Schema for Channel