I try through the channel id and writes "got an unexpected keyword argument "send_as""
Update your telethon, if not show the code.
Update telethon + you need premium account to use this
message = await client.send_message(entity=user.id, message=text, comment_to=msg_id, send_as = '-1001825783182') This is how I'm trying to send a message right now
Use id as int or use username
message = await client.send_message(entity=user.id, message=text, comment_to=msg_id, send_as = '@iwiuvceezt') This post didn't help either.
Please enable logging: import logging logging.basicConfig(level=logging.WARNING) If you need more information, use logging.DEBUG instead.
Обсуждают сегодня