Class: Telegrammer::DataTypes::Update
- Defined in:
- lib/telegrammer/data_types/update.rb
Overview
Telegram Update data type.
See more at core.telegram.org/bots/api#update
Instance Attribute Summary collapse
-
#message ⇒ Telegrammer::DataTypes::Message
Optional.
-
#update_id ⇒ Integer
The update‘s unique identifier.
Instance Attribute Details
#message ⇒ Telegrammer::DataTypes::Message
Optional. New incoming message of any kind - text, photo, sticker, etc.
9 10 11 |
# File 'lib/telegrammer/data_types/update.rb', line 9 def @message end |
#update_id ⇒ Integer
The update‘s unique identifier. Update identifiers start from a certain positive number and increase sequentially.
9 10 11 |
# File 'lib/telegrammer/data_types/update.rb', line 9 def update_id @update_id end |