mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-11-15 21:30:45 +00:00
Update to layer 82
This commit is contained in:
@@ -60,7 +60,8 @@ class DialogMethods(UserMethods):
|
||||
offset_date=offset_date,
|
||||
offset_id=offset_id,
|
||||
offset_peer=offset_peer,
|
||||
limit=1
|
||||
limit=1,
|
||||
hash=0
|
||||
))
|
||||
_total[0] = getattr(dialogs, 'count', len(dialogs.dialogs))
|
||||
return
|
||||
@@ -70,7 +71,8 @@ class DialogMethods(UserMethods):
|
||||
offset_date=offset_date,
|
||||
offset_id=offset_id,
|
||||
offset_peer=offset_peer,
|
||||
limit=0
|
||||
limit=0,
|
||||
hash=0
|
||||
)
|
||||
while len(seen) < limit:
|
||||
req.limit = min(limit - len(seen), 100)
|
||||
|
||||
@@ -360,7 +360,8 @@ def get_input_media(media, is_photo=False):
|
||||
return InputMediaContact(
|
||||
phone_number=media.phone_number,
|
||||
first_name=media.first_name,
|
||||
last_name=media.last_name
|
||||
last_name=media.last_name,
|
||||
vcard=''
|
||||
)
|
||||
|
||||
if isinstance(media, MessageMediaGeo):
|
||||
|
||||
Reference in New Issue
Block a user