skip to Main Content

RuntimeWarning: coroutine 'MessageMethods.send_message' was never awaited – Telegram API

import random from telethon import TelegramClient, events def main(): api_id = 9123640 api_hash = '8as6fgvs8t9ar76fse89rgearz' chat = '@username' message = 'hi' client = TelegramClient('afewfe', api_id, api_hash) @client.on(events.NewMessage(chats=chat)) async def normal_handler(event): if event.message.button_count == 4: await event.message.click(random.randint(0, 3)) await client.disconnect() client.start()…

VIEW QUESTION

Failing installation of msodbcsql17 – Debian

I am trying to update a docker image that uses python:3.9 as base (which uses Debian GNU/Linux 10 (buster)), but it now fails with steps that before gave no problems. The new image sha is @sha256:8f642902ba368481c9aca0a100f08daf93793c6fa14d3002253ea3cd210383a7, and the commands I…

VIEW QUESTION
Back To Top
Search