telega ~master (2021-06-18T23:53:05Z)
Dub
Repo
UpdatesRange
telega
helpers
Undocumented in source.
class
UpdatesRange {
import
std
.
algorithm
.
comparison
:
max
;
;
enum
bool
empty
;
protected
BotApi
_api
;
protected
uint
_maxUpdateId
;
protected
UpdateType
[]
_allowedUpdates
;
protected
ubyte
_updatesLimit
;
protected
uint
_timeout
;
this
(BotApi api, uint maxUpdateId, ubyte limit, uint timeout);
uint
maxUpdateId
[@property getter];
auto
front
();
void
popFront
();
void
getUpdates
();
}
Constructors
this
this
(BotApi api, uint maxUpdateId, ubyte limit, uint timeout)
Undocumented in source.
Members
Functions
front
auto
front
()
Undocumented in source. Be warned that the author may not have intended to support it.
getUpdates
void
getUpdates
()
Undocumented in source. Be warned that the author may not have intended to support it.
popFront
void
popFront
()
Undocumented in source. Be warned that the author may not have intended to support it.
Properties
maxUpdateId
uint
maxUpdateId
[@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
_allowedUpdates
UpdateType
[]
_allowedUpdates
;
Undocumented in source.
_api
BotApi
_api
;
Undocumented in source.
_maxUpdateId
uint
_maxUpdateId
;
Undocumented in source.
_timeout
uint
_timeout
;
Undocumented in source.
_updatesLimit
ubyte
_updatesLimit
;
Undocumented in source.
empty
enum
bool
empty
;
Undocumented in source.
Meta
Source
See Implementation
telega
helpers
classes
UpdatesRange
functions
isMessageType