Method: TelegramBot::Update#valid?
- Defined in:
- lib/telegram-bot/models/update.rb
#valid? ⇒ Boolean
Check to see if the all the properties in the model are valid
281 282 283 284 285 |
# File 'lib/telegram-bot/models/update.rb', line 281 def valid? warn '[DEPRECATED] the `valid?` method is obsolete' return false if @update_id.nil? true end |