Sha256: b0c9a8e190fb8dc4068e8dc21d3076ff14d1d957e5940b4acd06f0b8670289ed

Contents?: true

Size: 364 Bytes

Versions: 8

Compression:

Stored size: 364 Bytes

Contents

# frozen_string_literal: true

module Telegram
  module Bot
    module Types
      class InlineQuery < Base
        attribute :id, String
        attribute :from, User
        attribute :query, String
        attribute :offset, String
        attribute :chat_type, String
        attribute :location, Location

        alias to_s query
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
telegram-bot-ruby-0.23.0 lib/telegram/bot/types/inline_query.rb
telegram-bot-ruby-0.22.0 lib/telegram/bot/types/inline_query.rb
telegram-bot-ruby-0.21.1 lib/telegram/bot/types/inline_query.rb
telegram-bot-ruby-0.21.0 lib/telegram/bot/types/inline_query.rb
telegram-bot-ruby-0.20.0 lib/telegram/bot/types/inline_query.rb
telegram-bot-ruby-0.19.2 lib/telegram/bot/types/inline_query.rb
telegram-bot-ruby-0.19.1 lib/telegram/bot/types/inline_query.rb
telegram-bot-ruby-0.19.0 lib/telegram/bot/types/inline_query.rb