Discord::Gateway::PresenceUpdatePayload
Inherits JSON::Serializable / Struct / Value / Object
Constructors
new(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
activities
Sourceactivities=(activities : Array(GamePlaying))
Sourcegame
Sourcegame=(game : GamePlaying | Nil)
Sourceguild_id
Sourceguild_id=(guild_id : Snowflake)
Sourcenick
Sourcenick=(nick : String | Nil)
Sourceroles
Sourceroles=(roles : Array(Snowflake))
Sourcestatus
Sourcestatus=(status : String)
Sourceuser
Sourceuser=(user : PartialUser)
Source