Skip to main content
Module

x/denord/raw/RawChannel.ts>RawChannel

🗣 Discord API module
Latest
interface RawChannel
import { type RawChannel } from "https://deno.land/x/denord@0.1.0/raw/RawChannel.ts";

Properties

the id of this channel

the type of channel

optional
guild_id: GuildId

the id of the guild

optional
position: number

sorting position of the channel

optional
permission_overwrites: RawOverwrite[]

explicit permission overwrites for members and roles

optional
name: string

the name of the channel (2-100 characters)

optional
topic: string

the channel topic (0-1024 characters)

optional
nsfw: boolean

whether the channel is nsfw

optional
last_message_id: MessageId

the id of the last message sent in this channel (may not point to an existing or valid message)

optional
bitrate: number

the bitrate (in bits) of the voice channel

optional
user_limit: number

the user limit of the voice channel

optional
rate_limit_per_user: number

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

optional
recipients: RawUser[]

the recipients of the DM

optional
icon: string

icon hash

optional
owner_id: UserId

id of the DM creator

optional
application_id: ApplicationId

application id of the group DM creator if it is bot-created

optional
parent_id: CategoryId

id of the parent category for a channel (each parent category can contain up to 50 channels)

optional
last_pin_timestamp: ISO8601Timestamp

when the last pinned message was pinned (ISO8601 timestamp)