Sha256: db7645373e291b73b1c6fdfe75c10bde809cd650a5a0ce5d4491d26dbfb26e54

Contents?: true

Size: 943 Bytes

Versions: 2

Compression:

Stored size: 943 Bytes

Contents

module TD::Types
  # A new incoming inline query; for bots only.
  #
  # @attr id [Integer] Unique query identifier.
  # @attr sender_user_id [Integer] Identifier of the user who sent the query.
  # @attr user_location [TD::Types::Location, nil] User location; may be null.
  # @attr chat_type [TD::Types::ChatType, nil] Contains information about the type of the chat, from which the query
  #   originated; may be null if unknown.
  # @attr query [TD::Types::String] Text of the query.
  # @attr offset [TD::Types::String] Offset of the first entry to return.
  class Update::NewInlineQuery < Update
    attribute :id, TD::Types::Coercible::Integer
    attribute :sender_user_id, TD::Types::Coercible::Integer
    attribute :user_location, TD::Types::Location.optional.default(nil)
    attribute :chat_type, TD::Types::ChatType.optional.default(nil)
    attribute :query, TD::Types::String
    attribute :offset, TD::Types::String
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tdlib-schema-1.7.0.3 lib/tdlib/types/update/new_inline_query.rb
tdlib-schema-1.7.0.2 lib/tdlib/types/update/new_inline_query.rb