Sha256: 5423adf66b0f5b8e651bd59522b521f5cf44c52c14344aea3856e71cd13acce7

Contents?: true

Size: 394 Bytes

Versions: 6

Compression:

Stored size: 394 Bytes

Contents

# frozen_string_literal: true

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

        alias to_s query
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
telegram-bot-ruby-2.2.0 lib/telegram/bot/types/inline_query.rb
telegram-bot-ruby-2.1.0 lib/telegram/bot/types/inline_query.rb
telegram-bot-ruby-2.0.0 lib/telegram/bot/types/inline_query.rb
telegram-bot-ruby-1.0.0 lib/telegram/bot/types/inline_query.rb
telegram-bot-ruby-1.0.0.rc1 lib/telegram/bot/types/inline_query.rb
telegram-bot-ruby-1.0.0.pre lib/telegram/bot/types/inline_query.rb