struct Discord::Channel
- Discord::Channel
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Defined in:
discordcr/mappings/channel.crConstructors
Instance Method Summary
- #application_id : Snowflake | Nil
- #application_id=(application_id : Snowflake | Nil)
- #bitrate : UInt32 | Nil
- #bitrate=(bitrate : UInt32 | Nil)
- #default_auto_archive_duration : AutoArchiveDuration | Nil
- #default_auto_archive_duration=(default_auto_archive_duration : AutoArchiveDuration | Nil)
- #guild_id : Snowflake | Nil
- #guild_id=(guild_id : Snowflake | Nil)
- #icon : String | Nil
- #icon=(icon : String | Nil)
- #id : Snowflake
- #id=(id : Snowflake)
- #last_message_id : Snowflake | Nil
- #last_message_id=(last_message_id : Snowflake | Nil)
- #last_pin_timestamp : Time | Nil
- #last_pin_timestamp=(last_pin_timestamp : Time | Nil)
- #member : ThreadMember | Nil
- #member=(member : ThreadMember | Nil)
- #member_count : UInt32 | Nil
- #member_count=(member_count : UInt32 | Nil)
-
#mention
Produces a string to mention this channel in a message
- #message_count : UInt32 | Nil
- #message_count=(message_count : UInt32 | Nil)
- #name : String | Nil
- #name=(name : String | Nil)
- #nsfw : Bool | Nil
- #nsfw=(nsfw : Bool | Nil)
- #owner_id : Snowflake | Nil
- #owner_id=(owner_id : Snowflake | Nil)
- #parent_id : Snowflake | Nil
- #parent_id=(parent_id : Snowflake | Nil)
- #permission_overwrites : Array(Overwrite) | Nil
- #permission_overwrites=(permission_overwrites : Array(Overwrite) | Nil)
- #position : Int32 | Nil
- #position=(position : Int32 | Nil)
- #rate_limit_per_user : Int32 | Nil
- #rate_limit_per_user=(rate_limit_per_user : Int32 | Nil)
- #recipients : Array(User) | Nil
- #recipients=(recipients : Array(User) | Nil)
- #rtc_region : String | Nil
- #rtc_region=(rtc_region : String | Nil)
- #thread_metadata : ThreadMetaData | Nil
- #thread_metadata=(thread_metadata : ThreadMetaData | Nil)
- #topic : String | Nil
- #topic=(topic : String | Nil)
- #type : ChannelType
- #type=(type : ChannelType)
- #user_limit : UInt32 | Nil
- #user_limit=(user_limit : UInt32 | Nil)
- #video_quality_mode : VideoQualityMode | Nil
- #video_quality_mode=(video_quality_mode : VideoQualityMode | Nil)
Constructor Detail
Instance Method Detail
def default_auto_archive_duration=(default_auto_archive_duration : AutoArchiveDuration | Nil)
#