Class: MTProto::Updates::Parser::Batch
- Inherits:
-
Struct
- Object
- Struct
- MTProto::Updates::Parser::Batch
- Defined in:
- lib/mtproto/updates/parser.rb
Overview
Batch is the live-container result; Difference is the recovery-reply result and
additionally carries the new authoritative position (pts/qts/date/seq), or, for
a channel, the new channel pts + final (whether the backlog is drained).
Instance Attribute Summary collapse
-
#channel_too_long ⇒ Object
Returns the value of attribute channel_too_long.
-
#chats ⇒ Object
Returns the value of attribute chats.
-
#date ⇒ Object
Returns the value of attribute date.
-
#events ⇒ Object
Returns the value of attribute events.
-
#too_long ⇒ Object
Returns the value of attribute too_long.
-
#users ⇒ Object
Returns the value of attribute users.
Instance Attribute Details
#channel_too_long ⇒ Object
Returns the value of attribute channel_too_long
38 39 40 |
# File 'lib/mtproto/updates/parser.rb', line 38 def channel_too_long @channel_too_long end |
#chats ⇒ Object
Returns the value of attribute chats
38 39 40 |
# File 'lib/mtproto/updates/parser.rb', line 38 def chats @chats end |
#date ⇒ Object
Returns the value of attribute date
38 39 40 |
# File 'lib/mtproto/updates/parser.rb', line 38 def date @date end |
#events ⇒ Object
Returns the value of attribute events
38 39 40 |
# File 'lib/mtproto/updates/parser.rb', line 38 def events @events end |
#too_long ⇒ Object
Returns the value of attribute too_long
38 39 40 |
# File 'lib/mtproto/updates/parser.rb', line 38 def too_long @too_long end |
#users ⇒ Object
Returns the value of attribute users
38 39 40 |
# File 'lib/mtproto/updates/parser.rb', line 38 def users @users end |