struct Discord::Gateway::IdentifyPayload

Included Modules

Defined in:

discordcr/mappings/gateway.cr

Constructors

Instance Method Summary

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) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def compress : Bool #

[View source]
def compress=(compress : Bool) #

[View source]
def intents : Intents | Nil #

[View source]
def intents=(intents : Intents | Nil) #

[View source]
def large_threshold : Int32 #

[View source]
def large_threshold=(large_threshold : Int32) #

[View source]
def properties : IdentifyProperties #

[View source]
def properties=(properties : IdentifyProperties) #

[View source]
def shard : Tuple(Int32, Int32) | Nil #

[View source]
def shard=(shard : Tuple(Int32, Int32) | Nil) #

[View source]
def token : String #

[View source]
def token=(token : String) #

[View source]