Python
- 2 ответа
- 0 вопросов
1
Вклад в тег
for user_id, phone, first_name, last_name in data:
result = client(functions.contacts.ImportContactsRequest(
contacts=[types.InputPhoneContact(
client_id=user_id,
phone=phone,
first_name=first_name,
last_name=last_name
)]
))
entity = await client.get_entity(phone)