The client the chat channel belongs to.
The raw data of the chat channel.
Optional
cache: booleanWhether to cache the chat channel.
Optional
Readonly
archivedThe date the channel was archived.
Optional
Readonly
archivedThe ID of the user that archived the channel.
Optional
Readonly
categoryThe ID of the category the channel belongs to.
Readonly
clientReadonly
createdThe date the channel was created.
Readonly
createdThe ID of the user that created the channel.
Optional
Readonly
editedThe date the channel was edited.
Readonly
groupThe ID of the group the channel belongs to.
Readonly
idOptional
Readonly
isWhether the channel is public.
Readonly
messagesThe manager of messages that belong to the chat channel.
Readonly
nameThe name of the channel.
Optional
Readonly
parantThe ID of the parent channel the channel belongs to.
Readonly
rawReadonly
serverThe ID of the server the channel belongs to.
Optional
Readonly
topicThe topic of the channel.
Readonly
typeThe type of the channel.
Readonly
webhooksThe manager of webhooks that belong to the channel.
The timestamp the channel was archived.
The server member that archived the channel.
The timestamp the channel was created.
The server member that created the channel.
The timestamp the channel was edited.
Whether the channel is a announcement channel.
Whether the channel is archived.
Whether the channel is cached.
Whther the channel is a calendar channel.
Whther the channel is a chat channel.
Whether the channel is chat based.
Whther the channel is a doc channel.
Whther the channel is a forum channel.
Whther the channel is a list channel.
Whther the channel is a media channel.
Whther the channel is a schedule channel.
Whther the channel is a stream channel.
Whther the channel is a voice channel.
Similar to createMessageCollector but in promise form.
The collected messages.
channel.awaitMessages();
Optional
options: CollectorOptions<Message>The options of the message collector.
Create a message collector for the chat channel.
The created message collector.
channel.createMessageCollector();
Optional
options: CollectorOptions<Message>The options of the message collector.
Delete the channel.
The deleted channel.
channel.delete();
Edit the channel.
The edited channel.
channel.edit({ name: 'Chat' });
The payload of the channel.
Fetch the channel.
The fetched channel.
channel.fetch();
Optional
options: FetchOptionsThe options to fetch the channel with.
Fetch the server member that archived the channel.
The fetched server member.
channel.fetchArchiver();
Optional
options: FetchOptionsThe options to fetch the server member with.
Fetch the server member that created the channel.
The fetched server member.
channel.fetchCreator();
Optional
options: FetchOptionsThe options to fetch the server member with.
Fetch the group the channel belongs to.
The fetched group.
channel.fetchGroup();
Optional
options: FetchOptionsThe options to fetch the group with.
Fetch the parent channel the channel belongs to.
The fetched channel.
channel.fetchParent();
Optional
options: FetchOptionsThe options to fetch the channel with.
Fetch the server the channel belongs to.
The fetched server.
channel.fetchServer();
Optional
options: FetchOptionsThe options to fetch the server with.
Create a message in the chat channel.
The created message.
channel.send('Hello world!');
The payload of the message.
Set the name of the channel.
The edited channel.
channel.setName('Chat');
The name of the channel.
Set whether the channel is public.
The edited channel.
channel.setPublic(true);
Whether the channel is public.
Set the topic of the channel.
The edited channel.
channel.setTopic('This is a topic');
The topic of the channel.
Represents a chat channel on Guilded.
Example