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.
Defined in:
discordcr/mappings/gateway.crConstructors
Instance Method Summary
- #afk_channel_id : ::Union(Snowflake, Nil)
- #afk_channel_id=(_afk_channel_id : ::Union(Snowflake, Nil))
- #afk_timeout : ::Union(Int32, Nil)
- #afk_timeout=(_afk_timeout : ::Union(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 : ::Union(String, Nil)
- #icon=(_icon : ::Union(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)
- #presences : Array(Presence)
- #presences=(_presences : Array(Presence))
- #region : String
- #region=(_region : String)
- #roles : Array(Role)
- #roles=(_roles : Array(Role))
- #splash : ::Union(String, Nil)
- #splash=(_splash : ::Union(String, Nil))
- #system_channel_id : ::Union(Snowflake, Nil)
- #system_channel_id=(_system_channel_id : ::Union(Snowflake, Nil))
- #to_json(json : JSON::Builder)
- #unavailable : ::Union(Bool, Nil)
- #unavailable=(_unavailable : ::Union(Bool, Nil))
- #verification_level : UInt8
- #verification_level=(_verification_level : UInt8)
- #voice_states : Array(VoiceState)
- #voice_states=(_voice_states : Array(VoiceState))
- #widget_channel_id : ::Union(Snowflake, Nil)
- #widget_channel_id=(_widget_channel_id : ::Union(Snowflake, Nil))