import { type Channel } from "https://deno.land/x/natico@4.0.0-pre.4/examples/deps.ts";
Properties
The type of channel
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)
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 recipients of the DM
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.
The camera video quality mode of the voice channel, 1 when not present
Thread-specifig 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
Default duration for newly created threads, in minutes, to automatically archive the thread after recent activity, can be set to: 60, 1440, 4320, 10080