Deepthought icon indicating copy to clipboard operation
Deepthought copied to clipboard

how add new contact

Open edbrik opened this issue 8 years ago • 1 comments

hi.

i want agregate one new contact but i cant do.

i use this code.

   TLInputPhoneContact impc = new TLInputPhoneContact();
            impc.setClientId( Math.abs(new Random().nextLong()) );
            impc.setFirstName("test name");
            impc.setLastName("test lastname...");
            impc.setPhone("+529611178076");
            
            TLImportedContacts imc = new TLImportedContacts();

edbrik avatar Dec 01 '16 17:12 edbrik

You need to import them using method ContactsImportContacts

rubenlagus avatar Jan 01 '17 16:01 rubenlagus