Easiest Way To Join A Channel In Python Telethon
I read telethon documentation to retrieve an user-name and join a channel. After some tries i wrote this code: result = client.invoke(ResolveUsernameRequest('XXXX')) channel = Inpu
Solution 1:
first upgrade telethon
from telethon.tl.functions.messages import ImportChatInviteRequest
updates = client(ImportChatInviteRequest('hash_invite _channel'))
Post a Comment for "Easiest Way To Join A Channel In Python Telethon"