Class: ChannelService
Defined in: service/ChannelService.ts:35
Backwards-compatible class form. New code should call channelService(client).
Constructors
Constructor
new ChannelService(
client):ChannelService
Defined in: service/ChannelService.ts:37
Parameters
client
Returns
ChannelService
Methods
getChannel()
getChannel(
variables):Promise<Channel>
Defined in: service/ChannelService.ts:42
Fetches a single channel by ID
Parameters
variables
Channel ID to fetch
Returns
Promise<Channel>
getChannels()
getChannels():
Promise<Channel[]>
Defined in: service/ChannelService.ts:46
Fetches a list of channels
Returns
Promise<Channel[]>