struct Discord::Gateway::IdentifyPayload
- Discord::Gateway::IdentifyPayload
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
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(pull : JSON::PullParser)
Instance Method Summary
- #compress : Bool
- #compress=(compress : Bool)
- #intents : Intents | Nil
- #intents=(intents : Intents | Nil)
- #large_threshold : Int32
- #large_threshold=(large_threshold : Int32)
- #properties : IdentifyProperties
- #properties=(properties : IdentifyProperties)
- #shard : Tuple(Int32, Int32) | Nil
- #shard=(shard : Tuple(Int32, Int32) | Nil)
- #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)
#