Sha256: f9b7a535470109b941ad7990b55fb7b90d8a5147cd97ebb4f10cbdb9af15a458

Contents?: true

Size: 461 Bytes

Versions: 3

Compression:

Stored size: 461 Bytes

Contents

module TD::Types
  # Represents a user contact.
  #
  # @attr id [String] Unique identifier of the query result.
  # @attr contact [TD::Types::Contact] A user contact.
  # @attr thumbnail [TD::Types::PhotoSize, nil] Result thumbnail; may be null.
  class InlineQueryResult::Contact < InlineQueryResult
    attribute :id, TD::Types::String
    attribute :contact, TD::Types::Contact
    attribute :thumbnail, TD::Types::PhotoSize.optional.default(nil)
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tdlib-ruby-2.2.0 lib/tdlib/types/inline_query_result/contact.rb
tdlib-ruby-2.1.0 lib/tdlib/types/inline_query_result/contact.rb
tdlib-ruby-2.0.0 lib/tdlib/types/inline_query_result/contact.rb