Sha256: bca851e66473e6c72b362f2b16527b1ecdad81417a5ecc51300b3e9c46df3def

Contents?: true

Size: 772 Bytes

Versions: 2

Compression:

Stored size: 772 Bytes

Contents

# frozen_string_literal: true

module Telegram
  module Bot
    module Types
      class Update < Base
        attribute :update_id, Integer
        attribute :message, Message
        attribute :edited_message, Message
        attribute :channel_post, Message
        attribute :edited_channel_post, Message
        attribute :inline_query, InlineQuery
        attribute :chosen_inline_result, ChosenInlineResult
        attribute :callback_query, CallbackQuery
        attribute :shipping_query, ShippingQuery
        attribute :pre_checkout_query, PreCheckoutQuery
        attribute :poll, Poll
        attribute :poll_answer, PollAnswer
        attribute :my_chat_member, ChatMemberUpdated
        attribute :chat_member, ChatMemberUpdated
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
telegram-bot-types-0.7.0 lib/telegram/bot/types/update.rb
telegram-bot-types-0.6.3 lib/telegram/bot/types/update.rb