Sha256: 596a12879731a7821cd32a183de0c2a846c5820df06ad1afd0237729f851b27b

Contents?: true

Size: 725 Bytes

Versions: 2

Compression:

Stored size: 725 Bytes

Contents

module TD::Types
  # Describes a user contact.
  #
  # @attr phone_number [TD::Types::String] Phone number of the user.
  # @attr first_name [TD::Types::String] First name of the user; 1-255 characters in length.
  # @attr last_name [TD::Types::String] Last name of the user.
  # @attr vcard [TD::Types::String] Additional data about the user in a form of vCard; 0-2048 bytes in length.
  # @attr user_id [Integer] Identifier of the user, if known; otherwise 0.
  class Contact < Base
    attribute :phone_number, TD::Types::String
    attribute :first_name, TD::Types::String
    attribute :last_name, TD::Types::String
    attribute :vcard, TD::Types::String
    attribute :user_id, TD::Types::Coercible::Integer
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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