Sha256: 4aef12e7af926f1efc271d5b87251594b872bd1f0a681b7a38787a43959688f7

Contents?: true

Size: 992 Bytes

Versions: 4

Compression:

Stored size: 992 Bytes

Contents

module TD::Types
  # Represents the results of the inline query.
  # Use sendInlineQueryResultMessage to send the result of the query.
  #
  # @attr inline_query_id [Integer] Unique identifier of the inline query.
  # @attr next_offset [String] The offset for the next request.
  #   If empty, there are no more results.
  # @attr results [Array<TD::Types::InlineQueryResult>] Results of the query.
  # @attr switch_pm_text [String] If non-empty, this text should be shown on the button, which opens a private chat
  #   with the bot and sends the bot a start message with the switch_pm_parameter.
  # @attr switch_pm_parameter [String] Parameter for the bot start message.
  class InlineQueryResults < Base
    attribute :inline_query_id, TD::Types::Integer
    attribute :next_offset, TD::Types::String
    attribute :results, TD::Types::Array.of(TD::Types::InlineQueryResult)
    attribute :switch_pm_text, TD::Types::String
    attribute :switch_pm_parameter, TD::Types::String
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
tdlib-schema-1.7.0.1 lib/tdlib/types/inline_query_results.rb
tdlib-ruby-2.2.0 lib/tdlib/types/inline_query_results.rb
tdlib-ruby-2.1.0 lib/tdlib/types/inline_query_results.rb
tdlib-ruby-2.0.0 lib/tdlib/types/inline_query_results.rb