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)
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
compress
Sourcecompress=(compress : Bool)
Sourceintents
Sourceintents=(intents : Intents | Nil)
Sourcelarge_threshold
Sourcelarge_threshold=(large_threshold : Int32)
Sourceproperties
Sourceproperties=(properties : IdentifyProperties)
Sourceshard
Sourceshard=(shard : Tuple(Int32, Int32) | Nil)
Sourcetoken
Sourcetoken=(token : String)
Source