C
C
Cheabatto2020-11-10 15:15:10
Python
Cheabatto, 2020-11-10 15:15:10

How to add a new user to contacts in telegram automatically?

I am using Telethon library. I need to send a message to a user who was not previously in my contacts. How can I add a user to contacts automatically? Without this, the message is not sent.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
Lesha, 2020-11-10
@Cheabatto

How can I add a user to contacts automatically? Without this, the message is not sent.

Isn't it the other way around? You should be in their contacts, not they with you. This is how telegam limits work for some new accounts
Q: I've just signed up and didn't send any messages yet, but my account is limited.
Some numbers may trigger an overly harsh response from our system, either due to their previous owners' activities or due to them being certain virtual/VOIP numbers. We're sorry if this resulted in your account being limited for no reason.
If you think this is your case, please contact @SpamBot and tell it your story.

- https://telegram.org/faq_spam
And contacts are added to telethon like this
https://stackoverflow.com/a/44602714/14015987

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question