Untitled
Anonymous
plain_text
06/11/2023 7:42 PM
424 B
14
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...