|
@@ -118,10 +118,10 @@ export class TgClientService {
|
|
|
new Api.contacts.ImportContacts({
|
|
new Api.contacts.ImportContacts({
|
|
|
contacts: [
|
|
contacts: [
|
|
|
new Api.InputPhoneContact({
|
|
new Api.InputPhoneContact({
|
|
|
- clientId: bigInt(0),
|
|
|
|
|
|
|
+ clientId: bigInt(Date.now()),
|
|
|
phone: parsedTarget,
|
|
phone: parsedTarget,
|
|
|
firstName: 'Temp',
|
|
firstName: 'Temp',
|
|
|
- lastName: ''
|
|
|
|
|
|
|
+ lastName: `${parsedTarget}`.slice(0, 64)
|
|
|
})
|
|
})
|
|
|
]
|
|
]
|
|
|
})
|
|
})
|