Untitled
unknown
plain_text
2 years ago
318 B
5
Indexable
channel: Channel = await utils.get_entity_from_channel(entity_param, client) if channel is not None: try: await client(LeaveChannelRequest(channel)) await client(DeleteHistoryRequest(peer=channel, max_id=0, just_clear=False, revoke=True)) except Exception as e: logging.error(e.args[0])
Editor is loading...