Class: TelegramBot::Update
- Inherits:
-
Struct
- Object
- Struct
- TelegramBot::Update
- Includes:
- AutoFromMethods
- Defined in:
- lib/telegram_bot/update.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#message ⇒ Object
Returns the value of attribute message.
Class Method Summary collapse
Methods included from AutoFromMethods
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id
3 4 5 |
# File 'lib/telegram_bot/update.rb', line 3 def id @id end |
#message ⇒ Object
Returns the value of attribute message
3 4 5 |
# File 'lib/telegram_bot/update.rb', line 3 def @message end |
Class Method Details
.extra_types ⇒ Object
6 7 8 9 10 |
# File 'lib/telegram_bot/update.rb', line 6 def self.extra_types { message: TelegramBot::Message } end |
.hash_key_aliases ⇒ Object
12 13 14 15 16 |
# File 'lib/telegram_bot/update.rb', line 12 def self.hash_key_aliases { id: :update_id } end |