Channel

struct

Represents a Discord guild or DM channel.

Property Type Description
app_permissions String Computed permissions for the bot user in the channel (interactions only)
application_id String Application id of the group DM creator if it was bot-created
applied_tags
ArrayString
The ids of the tags that have been applied to a thread in a forum or media channel
available_tags The set of tags that can be used in a forum or media channel
bitrate Integer The bitrate (in bits) of the voice channel
default_auto_archive_duration Integer Default duration for newly created threads to automatically archive
default_forum_layout Integer The default forum layout view used to display posts in forum channels
default_reaction_emoji Channel_Default_Reaction The emoji to show in the add reaction button on forum/media threads
default_sort_order Integer The default sort order type used to order posts in forum and media channels
default_thread_rate_limit_per_user Integer The initial rate_limit_per_user to set on newly created threads
flags Integer Channel flags
guild_id String The id of the guild (may be missing for DM channels)
icon String Icon hash of the group DM
id String The id of this channel
last_message_id String The id of the last message sent in this channel
last_pin_timestamp String When the last pinned message was pinned
managed Boolean Whether the channel is managed by an application
member Thread_Member Thread member object for the current user, if they have joined the thread
member_count Integer An approximate count of users in a thread channel
message Message_Response The first message, only returned when starting a thread in a forum or media channel
message_count Integer Number of messages in a thread channel
name String The name of the channel (1-100 characters)
nsfw Boolean Whether the channel is nsfw
owner_id String Id of the creator of the channel
parent_id String For guild channels: id of the parent category; for threads: id of the parent text channel
permission_overwrites Explicit permission overwrites for members and roles
permissions String Computed permissions for the invoking user in the channel
position Integer Sorting position of the channel
rate_limit_per_user Integer Amount of seconds a user has to wait before sending another message
recipients
ArrayUser
The recipients of the DM
rtc_region String Voice region id for the voice channel, automatic when null
thread_metadata Thread_Metadata Thread-specific fields not needed by other channels
topic String The channel topic (0-4096 characters for forum/media, 0-1024 otherwise)
total_message_sent Integer Number of messages ever sent in a thread
type Integer The type of channel
user_limit Integer The user limit of the voice channel
video_quality_mode Integer The camera video quality mode of the voice channel
part of the Apioo-Project