Method: TelegramBot::Update#list_invalid_properties
- Defined in:
- lib/telegram-bot/models/update.rb
#list_invalid_properties ⇒ Object
Show invalid properties with the reasons. Usually used together with valid?
269 270 271 272 273 274 275 276 277 |
# File 'lib/telegram-bot/models/update.rb', line 269 def list_invalid_properties warn '[DEPRECATED] the `list_invalid_properties` method is obsolete' invalid_properties = Array.new if @update_id.nil? invalid_properties.push('invalid value for "update_id", update_id cannot be nil.') end invalid_properties end |