Method: TelegramBot::Update#hash
- Defined in:
- lib/telegram-bot/models/update.rb
#hash ⇒ Integer
Calculates hash code according to all attributes.
325 326 327 |
# File 'lib/telegram-bot/models/update.rb', line 325 def hash [update_id, , , channel_post, edited_channel_post, business_connection, , , , , , inline_query, chosen_inline_result, callback_query, shipping_query, pre_checkout_query, poll, poll_answer, my_chat_member, chat_member, chat_join_request, chat_boost, removed_chat_boost].hash end |