Telethon laden zur Gruppe ein

# public chat
from telethon.tl.functions.channels import JoinChannelRequest
await client(JoinChannelRequest(channel))

# private chat
from telethon.tl.functions.messages import ImportChatInviteRequest
updates = await client(ImportChatInviteRequest('AAAAAEHbEkejzxUjAUCfYg'))
Joyous Jaguar