mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-07-30 01:39:47 +03:00
revert
This commit is contained in:
parent
fb1d19a1eb
commit
592b179768
|
@ -151,7 +151,7 @@ class UploadMethods:
|
|||
* An external URL to a file over the internet. This will
|
||||
send the file as "external" media, and Telegram is the
|
||||
one that will fetch the media and send it.
|
||||
.
|
||||
|
||||
* A Bot API-like ``file_id``. You can convert previously
|
||||
sent media to file IDs for later reusing with
|
||||
`telethon.utils.pack_bot_file_id`.
|
||||
|
|
|
@ -1549,7 +1549,7 @@ def _photo_size_byte_count(size):
|
|||
return len(size.bytes)
|
||||
elif isinstance(size, types.PhotoSizeEmpty):
|
||||
return 0
|
||||
elif isinstance(size, types.):
|
||||
elif isinstance(size, types.PhotoSizeProgressive):
|
||||
return max(size.sizes)
|
||||
else:
|
||||
return None
|
||||
|
|
|
@ -11,8 +11,6 @@ chats.ChatMethods,edit_admin,channels.editAdmin messages.editChatAdmin
|
|||
chats.ChatMethods,edit_permissions,channels.editBanned messages.editChatDefaultBannedRights
|
||||
chats.ChatMethods,iter_participants,channels.getParticipants
|
||||
chats.ChatMethods,iter_admin_log,channels.getAdminLog
|
||||
chats.ChatMethods,get_participant, channels.getParticipant
|
||||
chats.ChatMethods,modify_groupcall, phone.createGroupCall phone.discardGroupCall phone.toggleGroupCallSettings phone.startScheduledGroupCall phone.editGroupCallTitle
|
||||
dialogs.DialogMethods,iter_dialogs,messages.getDialogs
|
||||
dialogs.DialogMethods,iter_drafts,messages.getAllDrafts
|
||||
dialogs.DialogMethods,edit_folder,folders.deleteFolder folders.editPeerFolders
|
||||
|
|
|
Loading…
Reference in New Issue
Block a user