More than you can count
hi. how i can fix this error? Fatal error handling updates (this is a bug in Telethon v1.28.5, please report it)Traceback (most recent call last): File "C:\Users\mwcreator\A...
I am trying to deploy this simple telethon script on AWS Lambda (Serverless) that listens for incoming messages in a private telegram channel and stores the same in a DynamoDB...
hello Who could to explain how to add message hander in multi thread bot? i have this code, and he is working accounts = tuple(TelegramClient(StringSession(x.strip()), api_id...
I want to test out Telethon v2 but I'm unable to fetch it what is the issue? (I ran the command within a new venv for it) >>> pip install --upgrade "telethon~=2.0" ERROR: Coul...
import telethon from telethon.tl.functions.messages import GetMessagesViewsRequest from telethon import TelegramClient # Remember to use your own api_id = my id here api_has...
File "/home/tgcleaning/TGCleaner/bot/helper/__init__.py", line 248, in kick_user await self.client.kick_participant(entity=chat_id, File "/home/tgcleaning/TGCleaner/vir...
hi this code telethon app = TelegramClient('bot', de1, de2).start(bot_token=de3) with app: @app.on( events.NewMessage( outgoing=True, pattern=r"/start")) async def h(eve...
Guys, hello! I have a question: Using the python REQUESTS library, you can make it so that by means of a POST telegram request the bot will send a message to a specific user T...
does anyone know how to get a InputPeerUser from a MessageEntityMention? I can get a User with client.get_entity(text) but I can't seem to get the input entity because of a mi...
ERROR:telethon.network.mtprotosender:Unexpected exception reconnecting on attempt 1 Traceback (most recent call last): File "C:\InviterProject\venv\lib\site-packages\teletho...
Обсуждают сегодня