struct Discord::Gateway::IdentifyPayload

Included Modules

Defined in:

discordcr/mappings/gateway.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(token, properties, compress, large_threshold, shard, intents) #

[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? #

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

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

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

[View source]
def token : String #

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

[View source]