Sha256: 06e5aa4617fa4d5ac472da15395325a6188255d7deb41f23377399d9050732a0

Contents?: true

Size: 670 Bytes

Versions: 4

Compression:

Stored size: 670 Bytes

Contents

module TD::Types
  # Describes a user contact.
  #
  # @attr phone_number [String] Phone number of the user.
  # @attr first_name [String] First name of the user; 1-255 characters in length.
  # @attr last_name [String] Last name of the user.
  # @attr vcard [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::Integer
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

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