struct Discord::Gateway::PresenceUpdatePayload

Defined in:

discordcr/mappings/gateway.cr

Constructors

Instance Method Summary

Constructor Detail

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

Instance Method Detail

def game : ::Union(GamePlaying, Nil) #

def game=(_game : ::Union(GamePlaying, Nil)) #

def guild_id : Snowflake #

def guild_id=(_guild_id : Snowflake) #

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

def nick=(_nick : ::Union(String, Nil)) #

def roles : Array(Snowflake) #

def roles=(_roles : Array(Snowflake)) #

def status : String #

def status=(_status : String) #

def to_json(json : JSON::Builder) #

def user : PartialUser #

def user=(_user : PartialUser) #