mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2026-09-07 09:21:56 +00:00
Update to v1.4
This commit is contained in:
@@ -97,6 +97,10 @@ class Dialog:
|
||||
self.input_entity, *args, **kwargs)
|
||||
|
||||
async def delete(self):
|
||||
"""
|
||||
Deletes the dialog from your dialog list. If you own the
|
||||
channel this won't destroy it, only delete it from the list.
|
||||
"""
|
||||
if self.is_channel:
|
||||
await self._client(functions.channels.LeaveChannelRequest(
|
||||
self.input_entity))
|
||||
|
||||
+1
-1
@@ -1,3 +1,3 @@
|
||||
# Versions should comply with PEP440.
|
||||
# This line is parsed in setup.py:
|
||||
__version__ = '1.3'
|
||||
__version__ = '1.4'
|
||||
|
||||
Reference in New Issue
Block a user