lib/telegram/bot/client.rb in telegram-bot-ruby-0.7.2 vs lib/telegram/bot/client.rb in telegram-bot-ruby-0.8.0
- old
+ new
@@ -53,10 +53,10 @@
callback_query
edited_message
message
channel_post
edited_channel_post)
- types.inject(nil) { |acc, elem| acc || update.send(elem) }
+ types.inject(nil) { |acc, elem| acc || update.public_send(elem) }
end
def log_incoming_message(message)
uid = message.from ? message.from.id : nil
logger.info(