struct Discord::PartialUser

Defined in:

discordcr/mappings/user.cr

Constructors

Instance Method Summary

Constructor Detail

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

Instance Method Detail

def avatar : ::Union(String, Nil) #

def avatar=(_avatar : ::Union(String, Nil)) #

def bot : ::Union(Bool, Nil) #

def bot=(_bot : ::Union(Bool, Nil)) #

def discriminator : ::Union(String, Nil) #

def discriminator=(_discriminator : ::Union(String, Nil)) #

def email : ::Union(String, Nil) #

def email=(_email : ::Union(String, Nil)) #

def full? : Bool #

[View source]
def id : Snowflake #

def id=(_id : Snowflake) #

def to_json(json : JSON::Builder) #

def username : ::Union(String, Nil) #

def username=(_username : ::Union(String, Nil)) #