Method: TelegramBot::BusinessMessagesDeleted#valid?

Defined in:
lib/telegram-bot/models/business_messages_deleted.rb

#valid?Boolean

Check to see if the all the properties in the model are valid

Returns:

  • true if the model is valid



115
116
117
118
119
120
121
# File 'lib/telegram-bot/models/business_messages_deleted.rb', line 115

def valid?
  warn '[DEPRECATED] the `valid?` method is obsolete'
  return false if @business_connection_id.nil?
  return false if @chat.nil?
  return false if @message_ids.nil?
  true
end