from telethon import TelegramClient
from telethon.tl.functions.messages import ImportChatInviteRequest
api_id = ++++
api_hash = '+++++++++++++++++++++'
client = TelegramClient('+1 ++++++', api_id, api_hash)
client.connect()
updates = client(ImportChatInviteRequest('GQVuGUG5pPEBxM6tQAeqqA'))我想要联合此组电报(https://t.me/joinchat/GQVuGUG5pPEBxM6tQAeqqA),但我有此错误
Traceback (most recent call last):
updates = client(ImportChatInviteRequest('GQVuGUG5pPEBxM6tQAeqqA'))
TypeError: 'TelegramClient' object is not callable我使用这个脚本:https://github.com/LonamiWebs/Telethon/wiki/Joining-a-chat-or-channel
发布于 2017-08-11 21:00:32
升级telithon电报
pip install --upgrade telethonhttps://stackoverflow.com/questions/45633905
复制相似问题