Discord::Gateway::InviteCreatePayload
Inherits JSON::Serializable / Struct / Value / Object
Constructors
new(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
channel_id
Sourcechannel_id=(channel_id : Snowflake)
Sourcecode
Sourcecode=(code : String)
Sourcecreated_at
Sourcecreated_at=(created_at : Time | Nil)
Sourceguild_id
Sourceguild_id=(guild_id : Snowflake | Nil)
Sourceinviter
Sourceinviter=(inviter : User | Nil)
Sourcemax_age
Sourcemax_age=(max_age : Int32)
Sourcemax_uses
Sourcemax_uses=(max_uses : Int32)
Sourcetemporary
Sourcetemporary=(temporary : Bool)
Sourceuses
Sourceuses=(uses : Int32)
Source