struct

Discord::Gateway::IdentifyPayload

Inherits JSON::Serializable / Struct / Value / Object

Constructors

new(token : String, properties : Discord::Gateway::IdentifyProperties, compress : Bool, large_threshold : Int32, shard : Tuple(Int32, Int32) | Nil, intents : Discord::Gateway::Intents | Nil)
Source
new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

compress
Source
compress=(compress : Bool)
Source
intents
Source
intents=(intents : Intents | Nil)
Source
large_threshold
Source
large_threshold=(large_threshold : Int32)
Source
properties
Source
properties=(properties : IdentifyProperties)
Source
shard
Source
shard=(shard : Tuple(Int32, Int32) | Nil)
Source
token
Source
token=(token : String)
Source