import { type DiscordChannel } from "https://deno.land/x/discordeno@17.2.0/plugins/validations/deps.ts";
Properties
The type of channel
The flags of the channel
The channel topic (0-4096 characters for GUILD_FORUM channels, 0-1024 characters for all others)
Amount of seconds a user has to wait before sending another message (0-21600); bots, as well as users with the permission manage_messages
or manage_channel
, are unaffected
Voice region id for the voice or stage channel, automatic when set to null
The camera video quality mode of the voice channel, 1 when not present
Default duration for newly created threads, in minutes, to automatically archive the thread after recent activity, can be set to: 60, 1440, 4320, 10080
Explicit permission overwrites for members and roles
The id of the last message sent in this channel (may not point to an existing or valid message)
For guild channels: Id of the parent category for a channel (each parent category can contain up to 50 channels), for threads: id of the text channel this thread was created
When the last pinned message was pinned. This may be null in events such as GUILD_CREATE when a message is not pinned.
Thread-specific fields not needed by other channels
Thread member object for the current user, if they have joined the thread, only included on certain API endpoints
computed permissions for the invoking user in the channel, including overwrites, only included when part of the resolved data received on a application command interaction
When a thread is created this will be true on that channel payload for the thread.
The set of tags that can be used in a GUILD_FORUM channel
The IDs of the set of tags that have been applied to a thread in a GUILD_FORUM channel
the emoji to show in the add reaction button on a thread in a GUILD_FORUM channel
the initial rate_limit_per_user to set on newly created threads in a channel. this field is copied to the thread at creation time and does not live update.
the default sort order type used to order posts in GUILD_FORUM channels. Defaults to null, which indicates a preferred sort order hasn't been set by a channel admin