Commit Graph

192 Commits

Author SHA1 Message Date
Dan
f012428f7e Merge branch 'develop' into asyncio
# Conflicts:
#	pyrogram/__init__.py
2019-02-04 13:00:28 +01:00
Dan
c213118a74 Update develop version 2019-02-04 13:00:09 +01:00
Dan
dd86aba9d3 Merge branch 'develop' into asyncio
# Conflicts:
#	pyrogram/client/dispatcher/dispatcher.py
#	pyrogram/client/methods/messages/get_history.py
2019-02-04 12:59:20 +01:00
Dan
a6dbed6dfb Add a way to continue the update propagation within a group
Add continue_propagation() method and ContinuePropagation exception
Closes #212
2019-02-04 12:33:54 +01:00
Dan
1472b8236d Add ChatPermissions type 2019-01-24 17:03:51 +01:00
Dan
3213fc4bb9 Merge branch 'develop' into asyncio
# Conflicts:
#	pyrogram/__init__.py
2019-01-07 22:59:47 +01:00
Dan
36681c8c5b Update dev version 2019-01-07 22:59:22 +01:00
Dan
21c301d19d Merge branch 'develop' into asyncio 2019-01-07 22:51:57 +01:00
Dan
dc737ab7bb Add GameHighScore and GameHighScores types 2019-01-07 22:30:33 +01:00
Dan
2084a406a4 Merge branch 'develop' into asyncio
# Conflicts:
#	pyrogram/__init__.py
#	pyrogram/client/client.py
#	pyrogram/client/ext/base_client.py
#	pyrogram/client/methods/chats/get_chat_members.py
#	pyrogram/client/methods/chats/get_dialogs.py
#	pyrogram/client/methods/chats/kick_chat_member.py
#	pyrogram/client/methods/messages/get_history.py
#	pyrogram/client/methods/messages/get_messages.py
#	pyrogram/client/types/messages_and_media/messages.py
2019-01-07 08:46:28 +01:00
Dan
7d061a1b5c Add Game type 2019-01-05 23:11:39 +01:00
Dan
7cb1c99e28 Update copyright year 2019-01-05 18:29:48 +01:00
Dan
b7b31d39e8 Merge branch 'develop' into asyncio
# Conflicts:
#	pyrogram/__init__.py
2019-01-03 09:15:44 +01:00
Dan
4493f78138 Update to v0.10.3 2019-01-03 08:59:39 +01:00
Dan
7f79210ba3 Merge branch 'develop' into asyncio
# Conflicts:
#	pyrogram/client/dispatcher/dispatcher.py
#	requirements.txt
2019-01-02 19:55:45 +01:00
Dan
1960b00280 Add a way to stop iterating through handlers
Closes #125
2019-01-02 18:11:22 +01:00
Dan
4d7b1bafac Update copyright year 2019-01-01 12:36:16 +01:00
Dan
3ada74068e Merge branch 'develop' into asyncio
# Conflicts:
#	pyrogram/__init__.py
2018-12-31 17:45:04 +01:00
Dan
4f04d4aee8 Update to v0.10.2 2018-12-31 17:21:18 +01:00
Dan
4e4d765dd1 Merge branch 'develop' into asyncio
# Conflicts:
#	pyrogram/__init__.py
2018-12-31 14:53:24 +01:00
Dan
e5be7fcc90 Update to v0.10.1 2018-12-31 14:41:38 +01:00
Dan
2ea1f0f323 Merge branch 'develop' into asyncio
# Conflicts:
#	pyrogram/client/client.py
#	pyrogram/client/methods/chats/get_chat.py
#	pyrogram/client/methods/messages/get_messages.py
#	pyrogram/client/types/messages_and_media/messages.py
2018-12-31 12:06:15 +01:00
Dan
0e62b3472a Add get_chat_preview method and ChatPreview object 2018-12-28 14:26:00 +01:00
Dan
769b3ebdee Merge branch 'develop' into asyncio
# Conflicts:
#	pyrogram/__init__.py
#	pyrogram/client/methods/chats/get_dialogs.py
#	pyrogram/client/methods/messages/get_history.py
2018-12-28 00:38:54 +01:00
Dan
9fadbbd728 Update develop version 2018-12-28 00:37:20 +01:00
Dan
06d8293fa0 Merge branch 'develop' into asyncio
# Conflicts:
#	pyrogram/__init__.py
#	pyrogram/client/client.py
#	pyrogram/client/methods/bots/send_inline_bot_result.py
#	pyrogram/client/methods/chats/pin_chat_message.py
#	pyrogram/client/methods/chats/unpin_chat_message.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
2018-12-25 23:07:45 +01:00
Dan
0a8a1f7771 Merge branch 'develop' into asyncio
# Conflicts:
#	pyrogram/__init__.py
#	pyrogram/client/client.py
2018-12-24 23:12:26 +01:00
Dan
c833b3842a Put PollOption back in a separate file, its docstrings must be visible 2018-12-24 14:19:21 +01:00
Dan
7881320a88 Update develop branch version 2018-12-23 19:53:22 +01:00
Dan
2b568afd2a Refactor Poll.
Move PollAnswer into poll.py and rename it to PollOption
2018-12-23 17:00:50 +01:00
Dan
f8de518f6b Update future version 2018-12-23 13:21:32 +01:00
Dan
1ef3bc758f Export Poll and PollAnswer types 2018-12-22 23:54:42 +01:00
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
3ecbb35470 Delete Update 2018-12-16 15:26:56 +01:00
Dan
d5ef03d662 Merge branch 'develop' into asyncio
# Conflicts:
#	pyrogram/__init__.py
#	pyrogram/client/client.py
#	pyrogram/client/dispatcher/dispatcher.py
2018-11-13 20:36:04 +01:00
Dan
54e7539865 Update to v0.9.3 2018-11-13 20:34:33 +01:00
Dan
87fca98035 Update to v0.9.2 2018-11-13 13:16:31 +01:00
Dan
97e705f833 Make new types importable 2018-11-09 13:16:44 +01:00
Dan
8d50b86bc6 Merge branch 'develop' into inline-mode
# Conflicts:
#	compiler/api/compiler.py
2018-11-09 08:52:26 +01:00
Dan
9c7db1046e Merge branch 'develop' into asyncio
# Conflicts:
#	pyrogram/__init__.py
2018-11-05 17:44:40 +01:00
Dan
5532c12e56 Update dev version 2018-11-05 17:32:11 +01:00
Dan
a9c4c72e5f Merge branch 'develop' into asyncio
# Conflicts:
#	pyrogram/__init__.py
#	pyrogram/client/ext/utils.py
2018-11-04 18:00:07 +01:00
Dan
e3a93b339c Update to v0.9.1 2018-11-04 17:50:51 +01:00
Dan
106fc0f458 Update to v0.9.0 2018-11-03 14:35:26 +01:00
Dan
bc4c787599 Merge branch 'develop' into asyncio
# Conflicts:
#	pyrogram/__init__.py
#	pyrogram/client/types/messages_and_media/message.py
#	pyrogram/connection/transport/tcp/tcp.py
2018-11-03 12:04:31 +01:00
Dan
27d10b04c0 Update dev version 2018-11-02 10:23:41 +01:00
Dan
f45e3377a9 Merge branch 'develop' into asyncio
# Conflicts:
#	pyrogram/client/client.py
#	pyrogram/client/methods/users/delete_user_profile_photos.py
2018-10-16 12:20:46 +02:00
Dan
c94c79edac Implement InlineQueryResultCachedAudio 2018-10-16 11:34:44 +02:00
Dan
797a0df087 Implement InlineQueryResultPhoto 2018-10-15 15:04:49 +02:00
Dan
0a057cc233 Expose new types and methods 2018-10-15 14:30:12 +02:00
Dan
a9fe0fffc6 Add InlineQuery type 2018-10-15 10:48:07 +02:00
Dan
d567b878b1 Expose UserStatusHandler and on_user_status 2018-10-15 10:17:00 +02:00
Dan
69c1532eae Rename LastSeen to UserStatus
It will make more sense later on when I add UserStatus updates
handler.
2018-10-14 17:17:50 +02:00
Dan
465dcac630 Create LastSeen class 2018-10-14 17:08:49 +02:00
Dan
a28ab0e8a8 Merge branch 'develop' into asyncio
# Conflicts:
#	pyrogram/__init__.py
2018-10-08 19:16:47 +02:00
Dan
3fa738db9f Update dev version 2018-10-02 12:07:54 +02:00
Dan
cc47897c68 Update to v0.8.0 2018-09-19 17:47:28 +02:00
Dan
00f0051bd6 Merge branch 'develop' into asyncio
# Conflicts:
#	pyrogram/__init__.py
2018-08-26 19:28:32 +02:00
Dan
77a1d58714 Normalize "0.8.0dev1" to "0.8.0.dev1" 2018-08-24 18:13:07 +02:00
Dan
aaaba4b847 Update async branch version 2018-08-23 20:43:46 +02:00
Dan
3f7b0b25af Merge branch 'develop' into asyncio
# Conflicts:
#	pyrogram/client/client.py
#	pyrogram/client/methods/chats/get_chat_members.py
#	pyrogram/client/methods/chats/get_dialogs.py
#	pyrogram/client/methods/messages/send_animation.py
#	pyrogram/client/methods/messages/send_venue.py
2018-08-22 10:30:25 +02:00
Dan
c501eeb5a2 Update to v0.8.0dev1
There are a quite lot of changes it deserves a new "minor" update.
2018-08-21 21:23:19 +02:00
Dan
b1c12c3232 Rename GIF to Animation 2018-08-06 21:38:44 +02:00
Dan
92fdf79d54 Expose the new InputMedia types 2018-08-01 21:19:11 +02:00
Dan
8a69c2d74e Merge branch 'develop' into asyncio
# Conflicts:
#	pyrogram/client/methods/messages/send_contact.py
2018-07-16 17:39:54 +02:00
Dan
9e4267dd2c Move media types in their own folder 2018-07-08 08:58:10 +02:00
Dan
960280b996 Add new ChatMembers type 2018-07-08 08:39:36 +02:00
Dan
c2369c26ca Merge branch 'develop' into asyncio
# Conflicts:
#	pyrogram/client/client.py
#	pyrogram/client/ext/utils.py
2018-07-04 21:51:10 +02:00
Dan
91cf2d1a8e Make Dialog and Dialogs importable and printable 2018-07-04 21:05:00 +02:00
Dan
dc7c9af826 Set v0.8.0dev1 for the asyncio branch
This way people can easily tell whether they are running the correct
branch or not (pip is misbehaving lately and installations from git
don't replace files).
2018-07-02 20:49:48 +02:00
Dan
8bb4fdd67d Update to v0.7.6dev1 2018-07-02 20:48:58 +02:00
Dan
a2b4d59cdb Merge branch 'develop' into asyncio
# Conflicts:
#	pyrogram/client/methods/users/get_user_profile_photos.py
2018-06-28 20:10:38 +02:00
Dan
bae7b4c851 Make Photo importable from the top level package 2018-06-28 20:02:31 +02:00
Dan
77c696aec0 Merge branch 'develop' into asyncio 2018-06-27 17:21:14 +02:00
Dan
37aae4382e Update to v0.7.5 2018-06-27 16:38:41 +02:00
Dan
5e3618ccb7 Merge branch 'develop' into asyncio 2018-06-25 01:00:32 +02:00
Dan
04a86054b0 Update to dev version 0.7.5.dev5 2018-06-25 00:53:45 +02:00
Dan
5f727cb5a2 Merge branch 'develop' into asyncio
# Conflicts:
#	pyrogram/client/client.py
#	pyrogram/client/ext/base_client.py
#	pyrogram/client/methods/bots/request_callback_answer.py
#	pyrogram/session/session.py
2018-06-24 19:27:37 +02:00
Dan
66f91b1b63 Update dev version 2018-06-24 14:31:06 +02:00
Dan
06cb2a1168 Move try..except block at the top 2018-06-23 16:00:37 +02:00
Dan
d06097c68a Use uvloop, if available 2018-06-23 15:53:56 +02:00
Vitali
e6c6bd839c Add Handler to deleted messages update 2018-06-19 11:18:12 -03:00
Dan
9001ccd11f Add DisconnectHandler 2018-05-23 14:27:17 +02:00
Dan
49414799e2 Update dev version 2018-05-21 13:59:31 +02:00
Dan
963c4e9a7a Update develop version 2018-05-14 00:52:26 +02:00
Dan
2398de716c Update to v0.7.4 2018-05-13 09:40:34 +02:00
Dan
ef93fee7aa Add new Messages object and make get_history return it 2018-05-11 18:00:16 +02:00
Dan
6b549ef077 Update to 0.7.4b1 2018-05-11 13:16:42 +02:00
Dan
84f9c2145c Add support for GIF files 2018-05-11 11:56:27 +02:00
Dan
ee5cfa740a Update develop version 2018-05-09 21:41:20 +02:00
Dan
7f27c43b30 Set develop version 2018-05-06 13:59:15 +02:00
Dan
c58db10e9f Update to v0.7.3 2018-05-03 15:48:05 +02:00
Dan
074d98c209 Update to v0.7.2 2018-05-02 16:07:43 +02:00
Dan
9c7935702f Add callback query support 2018-04-28 23:48:38 +02:00
Dan
f6b0e0e0dc Initial support for Reply Markups 2018-04-27 19:04:16 +02:00
Dan
6e78935857 Accommodate the new types 2018-04-24 16:08:33 +02:00
Dan
797e102c3f Update to v0.7.1 2018-04-18 17:20:17 +02:00
Dan
069dbb3e7a Update to v0.7.0 2018-04-18 15:38:01 +02:00
Dan
fcc595c586 Update version 2018-04-16 13:28:19 +02:00
Dan
472ed8e355 Document the new features 2018-04-11 03:16:48 +02:00