struct Discord::Gateway::InviteCreatePayload

Included Modules

Defined in:

discordcr/mappings/gateway.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def channel_id : Snowflake #

[View source]
def channel_id=(channel_id : Snowflake) #

[View source]
def code : String #

[View source]
def code=(code : String) #

[View source]
def created_at : Time | Nil #

[View source]
def created_at=(created_at : Time | Nil) #

[View source]
def guild_id : Snowflake | Nil #

[View source]
def guild_id=(guild_id : Snowflake | Nil) #

[View source]
def inviter : User | Nil #

[View source]
def inviter=(inviter : User | Nil) #

[View source]
def max_age : Int32 #

[View source]
def max_age=(max_age : Int32) #

[View source]
def max_uses : Int32 #

[View source]
def max_uses=(max_uses : Int32) #

[View source]
def temporary : Bool #

[View source]
def temporary=(temporary : Bool) #

[View source]
def uses : Int32 #

[View source]
def uses=(uses : Int32) #

[View source]