struct Discord::PartialUser

Included Modules

Defined in:

discordcr/mappings/user.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]

Instance Method Detail

def avatar : String | Nil #

[View source]
def avatar=(avatar : String | Nil) #

[View source]
def bot : Bool | Nil #

[View source]
def bot=(bot : Bool | Nil) #

[View source]
def discriminator : String | Nil #

[View source]
def discriminator=(discriminator : String | Nil) #

[View source]
def email : String | Nil #

[View source]
def email=(email : String | Nil) #

[View source]
def full? : Bool #

[View source]
def id : Snowflake #

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

[View source]
def username : String | Nil #

[View source]
def username=(username : String | Nil) #

[View source]