Method: TelegramBot::ChatLocation#to_body

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

#to_bodyHash

to_body is an alias to to_hash (backward compatibility)

Returns:

  • (Hash)

    Returns the object in the form of hash



200
201
202
# File 'lib/telegram-bot/models/chat_location.rb', line 200

def to_body
  to_hash
end