Answer the question
In order to leave comments, you need to log in
How to add yourself to the telegram chat?
I use the following method from the telethon library
Where chat_username is the id of a chat like @username_chat without the '@'
I get an error that this chat doesn't exist, however when I use the hash from a private chat link like "URnYwGFT5jBDPzFH" everything works correctly
How can I make it so that I can add myself to public chats, in addition to private
Just in case, I will leave a screen of the error
client(ImportChatInviteRequest('chat_username'))
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question