import { type DiscordChannel } from "https://deno.land/x/oasis@2.1.0/packages/deps.ts";
Properties
The type of channel
The flags of the channel
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
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