Skip to content

Channel

Definition

Channel

FIELDTYPEDESCRIPTION
idstringchannel ID
namestringchannel name

API

Get Channel

  • POST /v1/channel.get
FIELDTYPEDESCRIPTION
channel_idstringchannel ID

Get a channel by ID. Returns a channel object.

bot.getChannelList(guildId, next?)

  • POST /v1/channel.list
FIELDTYPEDESCRIPTION
guild_idstringguild ID
nextstringpagination token

Get channels in a guild. Returns a list of channel objects.