Sha256: 6b0c3ba68ff19b2201dee64c893581bbdb0e80da4d2ed2791bda651137405455

Contents?: true

Size: 375 Bytes

Versions: 5

Compression:

Stored size: 375 Bytes

Contents

# frozen_string_literal: true

module Telegram
  module Bot
    module Types
      class ChosenInlineResult < Base
        attribute :result_id, Types::String
        attribute :from, User
        attribute? :location, Location
        attribute? :inline_message_id, Types::String
        attribute :query, Types::String

        alias to_s query
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

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