Class: BotUpdate

Inherits:
Object
  • Object
show all
Defined in:
lib/telegram_bot_builder/bot_update.rb

Instance Attribute Summary collapse

Instance Attribute Details

#dateObject

Returns the value of attribute date.



4
5
6
# File 'lib/telegram_bot_builder/bot_update.rb', line 4

def date
  @date
end

#messageObject

Returns the value of attribute message.



3
4
5
# File 'lib/telegram_bot_builder/bot_update.rb', line 3

def message
  @message
end

#textObject

Returns the value of attribute text.



5
6
7
# File 'lib/telegram_bot_builder/bot_update.rb', line 5

def text
  @text
end

#update_idObject

Returns the value of attribute update_id.



2
3
4
# File 'lib/telegram_bot_builder/bot_update.rb', line 2

def update_id
  @update_id
end