Initial support for creating portals without any authenticated users

This commit is contained in:
Tulir Asokan
2018-02-22 21:12:35 +02:00
parent 232ec6ee42
commit 7c54436dff
5 changed files with 68 additions and 12 deletions
+3
View File
@@ -22,6 +22,9 @@ from telethon.tl.types import *
class MautrixTelegramClient(TelegramClient):
def send_message_super(self, *args, **kwargs):
return super().send_message(*args, **kwargs)
async def send_message(self, entity, message, reply_to=None, entities=None, link_preview=True):
entity = await self.get_input_entity(entity)