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? #

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

[View source]
def guild_id : Snowflake? #

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

[View source]
def inviter : User? #

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

[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]