Channel: A Class which represents a channel object

Description Usage Slots Disclaimer

View source: R/model_channel.r

Description

A Class which represents a channel object

Usage

1

Slots

id

the id of this channel

type

the type of channel

guild_id

the id of the guild

position

sorting position of the channel

permission_overwrites

explicit permission overwrites for members and roles

name

the name of the channel (2-100 characters)

topic

the channel topic (0-1024 characters)

nsfw

whether the channel is nsfw

last_message_id

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

bitrate

the bitrate (in bits) of the voice channel

user_limit

the user limit of the voice channel

rate_limit_per_user

amount of seconds a user has to wait before sending another message

recipients

the recipients of the DM

icon

icon hash

owner_id

id of the DM creator

application_id

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

parent_id

id of the parent category for a channel

last_pin_timestamp

when the last pinned message was pinned

Disclaimer

Pirate's channel object won't be separated to types! see https://discordapp.com/developers/docs/resources/channel#channel-object-channel-types to be able differentiate. also, because of that, many fields are subject of being NULL accordingly.


TheOnlyArtz/Pirate documentation built on Oct. 31, 2019, 12:12 a.m.