Sha256: 281a07284187bc45766e2b46343aea4872630dbb353e5b7461a357594b4719a0

Contents?: true

Size: 337 Bytes

Versions: 3

Compression:

Stored size: 337 Bytes

Contents

# frozen_string_literal: true

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

        alias_method :to_s, :query
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

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