Discord::Channel
Inherits JSON::Serializable / Struct / Value / Object
Constructors
new(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
application_id
Sourceapplication_id=(application_id : Snowflake | Nil)
Sourcebitrate
Sourcebitrate=(bitrate : UInt32 | Nil)
Sourceguild_id
Sourceguild_id=(guild_id : Snowflake | Nil)
Sourceicon
Sourceicon=(icon : String | Nil)
Sourceid
Sourceid=(id : Snowflake)
Sourcelast_message_id
Sourcelast_message_id=(last_message_id : Snowflake | Nil)
Sourcename
Sourcename=(name : String | Nil)
Sourcensfw
Sourcensfw=(nsfw : Bool | Nil)
Sourceowner_id
Sourceowner_id=(owner_id : Snowflake | Nil)
Sourceparent_id
Sourceparent_id=(parent_id : Snowflake | Nil)
Sourcepermission_overwrites
Sourcepermission_overwrites=(permission_overwrites : Array(Overwrite) | Nil)
Sourceposition
Sourceposition=(position : Int32 | Nil)
Sourcerate_limit_per_user
Sourcerate_limit_per_user=(rate_limit_per_user : Int32 | Nil)
Sourcerecipients
Sourcerecipients=(recipients : Array(User) | Nil)
Sourcetopic
Sourcetopic=(topic : String | Nil)
Sourcetype
Sourcetype=(type : ChannelType)
Sourceuser_limit
Sourceuser_limit=(user_limit : UInt32 | Nil)
Source