struct Discord::InviteMetadata

Defined in:

discordcr/mappings/invite.cr

Constructors

Instance Method Summary

Constructor Detail

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

Instance Method Detail

def channel : InviteChannel #

def channel=(_channel : InviteChannel) #

def code : String #

def code=(_code : String) #

def created_at : Time #

def created_at=(_created_at : Time) #

def guild : InviteGuild #

def guild=(_guild : InviteGuild) #

def inviter : User #

def inviter=(_inviter : User) #

def max_age : UInt32 #

def max_age=(_max_age : UInt32) #

def max_uses : UInt32 #

def max_uses=(_max_uses : UInt32) #

def revoked : Bool #

def revoked=(_revoked : Bool) #

def temporary : Bool #

def temporary=(_temporary : Bool) #

def to_json(json : JSON::Builder) #

def users : UInt32 #

def users=(_users : UInt32) #