Discord::Gateway::GuildCreatePayload
Inherits JSON::Serializable / Struct / Value / Object
This one is special from simply Guild since it also has fields for members and presences.
Constructors
new(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
afk_channel_id
Sourceafk_channel_id=(afk_channel_id : Snowflake | Nil)
Sourceafk_timeout
Sourceafk_timeout=(afk_timeout : Int32 | Nil)
Sourcechannels
Sourcechannels=(channels : Array(Channel))
Sourcedefault_message_notifications
Sourcedefault_message_notifications=(default_message_notifications : UInt8)
Sourceemoji
Sourceemoji=(emoji : Array(Emoji))
Sourceemojis
Sourceexplicit_content_filter
Sourceexplicit_content_filter=(explicit_content_filter : UInt8)
Sourcefeatures
Sourcefeatures=(features : Array(String))
Sourceicon
Sourceicon=(icon : String | Nil)
Sourceid
Sourceid=(id : Snowflake)
Sourcelarge
Sourcelarge=(large : Bool)
Sourcemember_count
Sourcemember_count=(member_count : Int32)
Sourcemembers
Sourcemembers=(members : Array(GuildMember))
Sourcename
Sourcename=(name : String)
Sourceowner_id
Sourceowner_id=(owner_id : Snowflake)
Sourcepresences
Sourcepresences=(presences : Array(Presence))
Sourceregion
Sourceregion=(region : String)
Sourceroles
Sourceroles=(roles : Array(Role))
Sourcesplash
Sourcesplash=(splash : String | Nil)
Sourcestage_instances
Sourcestage_instances=(stage_instances : Array(StageInstance))
Sourcesystem_channel_id
Sourcesystem_channel_id=(system_channel_id : Snowflake | Nil)
Sourceverification_level
Sourceverification_level=(verification_level : UInt8)
Sourcevoice_states
Sourcevoice_states=(voice_states : Array(VoiceState))
Sourcewidget_channel_id
Sourcewidget_channel_id=(widget_channel_id : Snowflake | Nil)
Source