struct Discord::Gateway::GuildCreatePayload
- Discord::Gateway::GuildCreatePayload
- Struct
- Value
- Object
Overview
This one is special from simply Guild since it also has fields for members and presences.
Included Modules
- JSON::Serializable
Defined in:
discordcr/mappings/gateway.crConstructors
Instance Method Summary
- #afk_channel_id : Snowflake | Nil
- #afk_channel_id=(afk_channel_id : Snowflake | Nil)
- #afk_timeout : Int32 | Nil
- #afk_timeout=(afk_timeout : Int32 | Nil)
- #channels : Array(Channel)
- #channels=(channels : Array(Channel))
- #default_message_notifications : UInt8
- #default_message_notifications=(default_message_notifications : UInt8)
- #emoji : Array(Emoji)
- #emoji=(emoji : Array(Emoji))
- #emojis
- #explicit_content_filter : UInt8
- #explicit_content_filter=(explicit_content_filter : UInt8)
- #features : Array(String)
- #features=(features : Array(String))
- #icon : String | Nil
- #icon=(icon : String | Nil)
- #id : Snowflake
- #id=(id : Snowflake)
- #large : Bool
- #large=(large : Bool)
- #member_count : Int32
- #member_count=(member_count : Int32)
- #members : Array(GuildMember)
- #members=(members : Array(GuildMember))
- #name : String
- #name=(name : String)
- #owner_id : Snowflake
- #owner_id=(owner_id : Snowflake)
- #premium_subscription_count : UInt8 | Nil
- #premium_subscription_count=(premium_subscription_count : UInt8 | Nil)
- #premium_tier : UInt8
- #premium_tier=(premium_tier : UInt8)
- #presences : Array(Presence)
- #presences=(presences : Array(Presence))
- #region : String
- #region=(region : String)
- #roles : Array(Role)
- #roles=(roles : Array(Role))
- #splash : String | Nil
- #splash=(splash : String | Nil)
- #system_channel_id : Snowflake | Nil
- #system_channel_id=(system_channel_id : Snowflake | Nil)
- #unavailable : Bool | Nil
- #unavailable=(unavailable : Bool | Nil)
- #verification_level : UInt8
- #verification_level=(verification_level : UInt8)
- #voice_states : Array(VoiceState)
- #voice_states=(voice_states : Array(VoiceState))
- #widget_channel_id : Snowflake | Nil
- #widget_channel_id=(widget_channel_id : Snowflake | Nil)