Due to the nature of the channels the data can change depending on what the channel type is. In this page every channel inherits from base and then forum inherits from text channel and stage from voice channel.
flowchart LR
base[channel]
id{{id}}
click id callback "Id of the channel."
base --- id
name>name]
click name callback "Name of the channel."
base --- name
nsfw{nsfw}
click nsfw callback "Whether channel is nsfw channel."
base --- nsfw
position{{position}}
click position callback "Channel position in guild."
base --- position
jump_url>jump_url]
click jump_url callback "Url to the channel."
base --- jump_url
created_at{{created_at}}
click created_at callback "Unix timestamp of when channel was created."
base --- created_at
type>type]
click type callback "Channel type."
base --- type
send[[send]]
send_content>content]
send_embeds((embeds))
send_ephemeral{ephemeral}
send_views((views))
click send callback "Send message to channel."
click send_content callback "Content to send."
click send_embeds callback "Embeds to send with message."
click send_ephemeral callback "Whether message should be ephemeral."
click send_views callback "Views to send with the message."
base --- send
send -.- send_content
send -.- send_embeds
send -.- send_ephemeral
send -.- send_views
Name of channel.
Whether channel is nsfw.
Position of channel in guild.
Url to the channel.
Unix creation time of the channel.
Channel type.
Function for sending message to the channel.
flowchart LR
r([channel])
id{{id}}
name>name]
created_at{{created_at}}
mention>mention]
type>type]
changed_roles((changed_roles))
jump_url>jump_url]
category[category]
overwrites((overwrites))
overwrite_type>overwrite_type]
odata[overwrite]
permissions((permissions))
pname>name]
value{value}
default_auto_archive_duration{{default_auto_archive_duration}}
nsfw{nsfw}
slowmode_delay{{slowmode_delay}}
bitrate{{bitrate}}
user_limit{{user_limit}}
rtc_region>rtc_region]
video_quality_mode>video_quality_mode]
default_thread_slowmode_delay{{default_thread_slowmode_delay}}
default_reaction_emoji>default_reaction_emoji]
topic>topic]
click root callback "Root contains all of the structure."
click id callback "Id of the channel."
click name callback "Name of the channel."
click created_at callback "Unix time of when channel was created."
click mention callback "Discord mention of the channel."
click type callback "Channel type."
click changed_roles "https://docs.monni.fyi/en/simpukka/object/discord/role" "Roles which have been overwritten"
click jump_url callback "Url for going to the channel."
click category "https://docs.monni.fyi/en/simpukka/object/discord/category" "Category of the channel"
click overwrites callback "Overwrites of the channel."
click overwrite_type callback "Type of overwrite. Either member or role"
click odata callback "Overwrite role or member data."
click permissions callback "Permissions for overwrite."
click pname callback "Permission name."
click value callback "Permission value False, None or True."
click default_auto_archive_duration callback "Default time before archival."
click nsfw callback "Whether channel is marked as nsfw or not"
click slowmode_delay callback "Slowmode of channel."
click bitrate callback "Bitrate of voicechannel."
click user_limit callback "Max people in voice channel."
click rtc_region callback "Voice chat region. None means automatic"
click video_quality_mode callback "Video quality on voicechat."
click default_thread_slowmode_delay callback "Default slowmode on thread."
click default_reaction_emoji callback "Default emoji reaction on forum posts."
click topic callback "Topic/description of channel."
r --- id
r --- name
r --- created_at
r --- type
r --- mention
r --- changed_roles
r --- jump_url
r --- category
r --- overwrites
overwrites --- overwrite_type
overwrites --- odata
overwrites --- permissions
permissions --- pname
permissions --- value
r --- default_auto_archive_duration
r --- nsfw
r --- slowmode_delay
r --- bitrate
r --- user_limit
r --- rtc_region
r --- video_quality_mode
r --- default_thread_slowmode_delay
r --- default_reaction_emoji
r --- topic