Class: TD::Types::ImportedContacts

Inherits:
Base
  • Object
show all
Defined in:
lib/tdlib/types/imported_contacts.rb

Overview

Represents the result of an ImportContacts request.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#importer_countArray<Integer>

The number of users that imported the corresponding contact; 0 for already registered users or if unavailable.

Returns:

  • (Array<Integer>)

    the current value of importer_count



8
9
10
# File 'lib/tdlib/types/imported_contacts.rb', line 8

def importer_count
  @importer_count
end

#user_idsArray<Integer>

User identifiers of the imported contacts in the same order as they were specified in the request; 0 if the contact is not yet a registered user.

Returns:

  • (Array<Integer>)

    the current value of user_ids



8
9
10
# File 'lib/tdlib/types/imported_contacts.rb', line 8

def user_ids
  @user_ids
end