struct Discord::Gateway::IdentifyPayload

Defined in:

discordcr/mappings/gateway.cr

Constructors

Instance Method Summary

Constructor Detail

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

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

[View source]

Instance Method Detail

def compress : Bool #

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

[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 : ::Union(Tuple(Int32, Int32), Nil) #

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

[View source]
def to_json(json : JSON::Builder) #

[View source]
def token : String #

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

[View source]