mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-12-01 22:03:46 +03:00
Moved delete_messages under send_message
This commit is contained in:
parent
a17def8026
commit
28856faa17
|
@ -873,9 +873,9 @@ class TelegramClient(TelegramBareClient):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
if isinstance(entity, int) or (
|
if isinstance(entity, int) or (
|
||||||
isinstance(entity, TLObject) and
|
isinstance(entity, TLObject) and
|
||||||
# crc32(b'InputPeer') and crc32(b'Peer')
|
# crc32(b'InputPeer') and crc32(b'Peer')
|
||||||
type(entity).SUBCLASS_OF_ID in (0xc91c90b6, 0x2d45687)):
|
type(entity).SUBCLASS_OF_ID in (0xc91c90b6, 0x2d45687)):
|
||||||
ie = self.get_input_entity(entity)
|
ie = self.get_input_entity(entity)
|
||||||
result = None
|
result = None
|
||||||
if isinstance(ie, InputPeerUser):
|
if isinstance(ie, InputPeerUser):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user