struct

Discord::REST::SessionStartLimit

Inherits JSON::Serializable / Struct / Value / Object

Session start limit details included in the Get Gateway Bot REST API call.

Constructors

new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

remaining
Source
remaining=(remaining : Int32)
Source
reset_after
Source
reset_after=(reset_after : Time::Span)
Source
total
Source
total=(total : Int32)
Source