struct

Discord::GamePlaying

Inherits JSON::Serializable / Struct / Value / Object

Constructors

new(pull : JSON::PullParser)
Source
new(name : Nil | String = nil, type : Type | Nil = nil, url : Nil | String = nil, state : Nil | String = nil, emoji : Discord::Emoji | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

emoji
Source
emoji=(emoji : Emoji | Nil)
Source
name
Source
name=(name : String | Nil)
Source
state
Source
state=(state : String | Nil)
Source
type
Source
type=(type : Type | Nil)
Source
url=(url : String | Nil)
Source

Nested types