struct Discord::Gateway::PresenceUpdatePayload

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 activities : Array(GamePlaying) #

[View source]
def activities=(activities : Array(GamePlaying)) #

[View source]
def game : GamePlaying | Nil #

[View source]
def game=(game : GamePlaying | Nil) #

[View source]
def guild_id : Snowflake #

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

[View source]
def status : String #

[View source]
def status=(status : String) #

[View source]
def user : PartialUser #

[View source]
def user=(user : PartialUser) #

[View source]