telethon

    3

    3答えて

    私の連絡先にtelethon pythonの番号を保存するにはどうすればいいですか? from telethon import TelegramClient from telethon.tl.functions.contacts import GetContactsRequest from telethon.tl.types import InputPeerUser client = Tel

    0

    2答えて

    私は、接続のために、このスクリプトを使用して、このタラとテレソンに from telethon import TelegramClient from telethon.tl.functions.messages import GetHistoryRequest from telethon.utils import get_input_peer api_id = 7**** api_hash

    3

    1答えて

    telethonのマニュアルをretrieve an user-nameとjoin a channelに読みました。いくつかの試行後、私はこのコードを書いた: result = client.invoke(ResolveUsernameRequest('XXXX')) channel = InputChannel(result.peer.channel_id, result.chats[0].a