class Discord::Gateway::Session

Defined in:

discordcr/client.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(session_id : String, resume_url : String) #

[View source]

Instance Method Detail

def invalid? : Bool #

[View source]
def invalidate #

[View source]
def resume_url : String #

[View source]
def resume_url=(resume_url) #

[View source]
def sequence : Int64 #

[View source]
def sequence=(sequence) #

[View source]
def session_id : String #

[View source]
def should_resume? : Bool #

[View source]
def suspend #

[View source]
def suspended? : Bool #

[View source]