Dan
|
e6667be10b
|
Merge branch 'develop' into asyncio
# Conflicts:
# pyrogram/client/client.py
# pyrogram/client/dispatcher/dispatcher.py
# pyrogram/client/ext/utils.py
# pyrogram/client/methods/bots/get_inline_bot_results.py
# pyrogram/client/methods/bots/request_callback_answer.py
# pyrogram/client/methods/bots/send_inline_bot_result.py
# pyrogram/client/methods/chats/delete_chat_photo.py
# pyrogram/client/methods/chats/export_chat_invite_link.py
# pyrogram/client/methods/chats/get_chat.py
# pyrogram/client/methods/chats/get_chat_member.py
# pyrogram/client/methods/chats/get_chat_members.py
# pyrogram/client/methods/chats/get_chat_members_count.py
# pyrogram/client/methods/chats/get_dialogs.py
# pyrogram/client/methods/chats/join_chat.py
# pyrogram/client/methods/chats/kick_chat_member.py
# pyrogram/client/methods/chats/leave_chat.py
# pyrogram/client/methods/chats/pin_chat_message.py
# pyrogram/client/methods/chats/promote_chat_member.py
# pyrogram/client/methods/chats/restrict_chat_member.py
# pyrogram/client/methods/chats/set_chat_description.py
# pyrogram/client/methods/chats/set_chat_photo.py
# pyrogram/client/methods/chats/set_chat_title.py
# pyrogram/client/methods/chats/unban_chat_member.py
# pyrogram/client/methods/chats/unpin_chat_message.py
# pyrogram/client/methods/contacts/add_contacts.py
# pyrogram/client/methods/contacts/delete_contacts.py
# pyrogram/client/methods/messages/delete_messages.py
# pyrogram/client/methods/messages/edit_message_caption.py
# pyrogram/client/methods/messages/edit_message_media.py
# pyrogram/client/methods/messages/edit_message_reply_markup.py
# pyrogram/client/methods/messages/edit_message_text.py
# pyrogram/client/methods/messages/forward_messages.py
# pyrogram/client/methods/messages/get_history.py
# pyrogram/client/methods/messages/get_messages.py
# pyrogram/client/methods/messages/send_animation.py
# pyrogram/client/methods/messages/send_audio.py
# pyrogram/client/methods/messages/send_chat_action.py
# pyrogram/client/methods/messages/send_contact.py
# pyrogram/client/methods/messages/send_document.py
# pyrogram/client/methods/messages/send_location.py
# pyrogram/client/methods/messages/send_media_group.py
# pyrogram/client/methods/messages/send_message.py
# pyrogram/client/methods/messages/send_photo.py
# pyrogram/client/methods/messages/send_sticker.py
# pyrogram/client/methods/messages/send_venue.py
# pyrogram/client/methods/messages/send_video.py
# pyrogram/client/methods/messages/send_video_note.py
# pyrogram/client/methods/messages/send_voice.py
# pyrogram/client/methods/password/change_cloud_password.py
# pyrogram/client/methods/password/enable_cloud_password.py
# pyrogram/client/methods/password/remove_cloud_password.py
# pyrogram/client/methods/users/delete_user_profile_photos.py
# pyrogram/client/methods/users/get_me.py
# pyrogram/client/methods/users/get_user_profile_photos.py
# pyrogram/client/methods/users/get_users.py
# pyrogram/client/methods/utilities/download_media.py
# pyrogram/client/types/messages_and_media/message.py
|
2018-12-22 12:23:08 +01:00 |
|
Dan
|
a0355a5cc4
|
Type hint all methods return values
|
2018-12-19 15:59:15 +01:00 |
|
Dan
|
b593463bd7
|
Type hint all the remaining method parameters
|
2018-12-19 14:50:23 +01:00 |
|
Dan
|
4fb9969470
|
Replace Client with BaseClient type hint
|
2018-12-19 14:45:16 +01:00 |
|
Dan
|
5035daa9d7
|
Type hint all Pyrogram types
|
2018-12-19 13:29:58 +01:00 |
|
Dan
|
e8fbae3166
|
Make all parse methods protected to hide them from the lib user
|
2018-12-19 13:00:33 +01:00 |
|
Dan
|
b79f395d37
|
Type hint Message
|
2018-12-19 12:30:25 +01:00 |
|
Dan
|
26ef8ea953
|
Revert to the old style
|
2018-12-19 10:59:49 +01:00 |
|
Dan
|
e203a5500f
|
Don't treat messages containing web page previews as media
|
2018-12-18 10:07:40 +01:00 |
|
Dan
|
dc2792fbea
|
Ditch raw attribute. There's no use for it now
|
2018-12-18 08:48:20 +01:00 |
|
Dan
|
2a1a6301a6
|
Add Messages.parse_delete method
|
2018-12-17 16:37:58 +01:00 |
|
Dan
|
6a0a271d24
|
Fix broken UpdateStatus in case of incoming updates
|
2018-12-17 16:28:16 +01:00 |
|
Dan
|
6bc2db7157
|
Better way of parsing total_count for Messages and UserProfilePhotos
|
2018-12-17 16:14:32 +01:00 |
|
Dan
|
ccf677f3a0
|
Refactor Dialog and Dialogs
|
2018-12-17 16:13:28 +01:00 |
|
Dan
|
8c02a1553d
|
Add Chat.parse_dialog
|
2018-12-17 16:12:53 +01:00 |
|
Dan
|
7b90a0e7c5
|
Refactor Messages
|
2018-12-17 14:18:15 +01:00 |
|
Dan
|
5bc9e0fc75
|
Fix Video not having client and raw attributes set
|
2018-12-17 14:17:57 +01:00 |
|
Dan
|
8cbb9c9316
|
Refactor UserProfilePhotos
|
2018-12-17 13:51:08 +01:00 |
|
Dan
|
a683e3e917
|
Refactor bot keyboard types
|
2018-12-17 13:16:05 +01:00 |
|
Dan
|
3f643242b1
|
Reformat encoder style
|
2018-12-17 13:03:08 +01:00 |
|
Dan
|
d31a696f32
|
Fix encoder breaking with bytes
|
2018-12-17 13:02:22 +01:00 |
|
Dan
|
52b9319734
|
Refactor CallbackQuery
|
2018-12-17 13:01:41 +01:00 |
|
Dan
|
92118e3608
|
Reformat __init__ parameters
|
2018-12-17 12:45:35 +01:00 |
|
Dan
|
e9a362923f
|
Cache stickers
|
2018-12-17 12:42:29 +01:00 |
|
Dan
|
ac8258f451
|
Move Str into message.py
|
2018-12-17 12:40:32 +01:00 |
|
Dan
|
c6a0bf0791
|
Force named arguments on Pyrogram types
|
2018-12-16 22:34:23 +01:00 |
|
Dan
|
5d64de10dc
|
Add Chat.parse_full
|
2018-12-16 17:58:32 +01:00 |
|
Dan
|
66cd896a99
|
Allow passing raw
|
2018-12-16 17:10:55 +01:00 |
|
Dan
|
cffafa8c61
|
Small fixed to PyrogramType
|
2018-12-16 17:10:08 +01:00 |
|
Dan
|
d62bc1d8ba
|
Refactor ChatMember and ChatMembers
|
2018-12-16 16:22:46 +01:00 |
|
Dan
|
3ecbb35470
|
Delete Update
|
2018-12-16 15:26:56 +01:00 |
|
Dan
|
6ab1c87050
|
Add PyrogramType
|
2018-12-16 15:24:51 +01:00 |
|
Dan
|
5ecbfbf25f
|
Refactor Message and MessageEntity
|
2018-12-16 14:30:44 +01:00 |
|
Dan
|
334fb8d0ba
|
Refactor Sticker, Contact and Document
|
2018-12-16 14:30:13 +01:00 |
|
Dan
|
c84fca30a2
|
Refactor Venue and Location
|
2018-12-16 14:29:10 +01:00 |
|
Dan
|
e5e0b17809
|
Refactor Photo and PhotoSize
|
2018-12-16 14:28:41 +01:00 |
|
Dan
|
11ed26b318
|
Refactor Animation, Video and VideoNote
|
2018-12-16 14:27:52 +01:00 |
|
Dan
|
905f4b8e62
|
Refactor Voice and Audio
|
2018-12-16 14:25:18 +01:00 |
|
Dan
|
1c4dd13e72
|
Refactor Chat
|
2018-12-15 17:31:22 +01:00 |
|
Dan
|
5962f8dedc
|
Refactor ChatPhoto
|
2018-12-15 17:30:24 +01:00 |
|
Dan
|
bf3609ec0a
|
Refactor User
|
2018-12-15 17:29:51 +01:00 |
|
Dan
|
0d0fbdad27
|
Reformat UserStatus style
|
2018-12-15 17:28:52 +01:00 |
|
Dan
|
26b15f384d
|
Update UserStatus docs
|
2018-12-15 17:26:24 +01:00 |
|
Dan
|
b2f3e79ff7
|
Refactor UserStatus
|
2018-12-15 17:25:34 +01:00 |
|
Dan
|
9ac492e644
|
Remove Message generated comments
|
2018-12-15 15:32:50 +01:00 |
|
Dan
|
37d063e569
|
Reorganize Message __init__
|
2018-12-15 12:35:09 +01:00 |
|
Dan
|
124f49ce7a
|
Merge branch 'develop' into asyncio
|
2018-12-15 11:37:34 +01:00 |
|
Dan
|
1bd41d0138
|
Fix CallbackQuery docs
|
2018-12-15 11:37:27 +01:00 |
|
Dan
|
47b25b0e2d
|
CallbackQuery must deal with bytes instead of strings
|
2018-12-15 11:36:16 +01:00 |
|
Dan
|
17b166e6a6
|
CallbackQuery must deal with bytes instead of strings
|
2018-12-15 11:35:53 +01:00 |
|