struct Discord::Gateway::IdentifyPayload
- Discord::Gateway::IdentifyPayload
- Struct
- Value
- Object
Defined in:
discordcr/mappings/gateway.crConstructors
- .new(token : String, properties : Discord::Gateway::IdentifyProperties, compress : Bool, large_threshold : Int32, shard : Tuple(Int32, Int32) | Nil, intents : Discord::Gateway::Intents | Nil)
- .new(__temp_603 : JSON::PullParser)
Instance Method Summary
- #compress : Bool
- #compress=(_compress : Bool)
- #intents : Union(Intents, Nil)
- #intents=(_intents : Union(Intents, Nil))
- #large_threshold : Int32
- #large_threshold=(_large_threshold : Int32)
- #properties : IdentifyProperties
- #properties=(_properties : IdentifyProperties)
- #shard : Union(Tuple(Int32, Int32), Nil)
- #shard=(_shard : Union(Tuple(Int32, Int32), Nil))
- #to_json(json : JSON::Builder)
- #token : String
- #token=(_token : String)
Constructor Detail
def self.new(token : String, properties : Discord::Gateway::IdentifyProperties, compress : Bool, large_threshold : Int32, shard : Tuple(Int32, Int32) | Nil, intents : Discord::Gateway::Intents | Nil)
#