Dan
|
1750300ab9
|
Add missing awaits
|
2019-04-13 17:58:20 +02:00 |
|
Dan
|
1179a5b994
|
Merge branch 'develop' into asyncio
# Conflicts:
# pyrogram/__init__.py
# pyrogram/client/client.py
# pyrogram/session/session.py
|
2019-03-25 11:52:54 +01:00 |
|
Dan
|
b5c6db6db0
|
Refactor project and move errors namespace out from pyrogram.api
|
2019-03-25 11:23:45 +01:00 |
|
Dan
|
ac318831dc
|
Add missing awaits
|
2019-03-22 13:47:31 +01:00 |
|
Dan
|
5d163ebabc
|
Merge branch 'develop' into asyncio
# Conflicts:
# pyrogram/client/dispatcher/dispatcher.py
# pyrogram/client/types/messages_and_media/sticker.py
|
2019-03-22 13:36:27 +01:00 |
|
Dan
|
921800f902
|
Clean up docstrings
|
2019-03-22 11:53:25 +01:00 |
|
Dan
|
bc9f902376
|
Clean up inline-mode
|
2019-03-22 11:35:35 +01:00 |
|
Dan
|
fede74398c
|
Fix inline-mode branch breaking after many commits from develop
|
2019-03-21 18:37:00 +01:00 |
|
Dan
|
acbbfabb27
|
Merge branch 'develop' into inline-mode
# Conflicts:
# compiler/api/compiler.py
# compiler/error/source/400_BAD_REQUEST.tsv
# pyrogram/__init__.py
# pyrogram/client/dispatcher/dispatcher.py
# pyrogram/client/ext/utils.py
# pyrogram/client/methods/bots/__init__.py
# pyrogram/client/types/__init__.py
|
2019-03-21 17:40:49 +01:00 |
|
Dan
|
84fb959c8c
|
Merge branch 'develop' into asyncio
# Conflicts:
# pyrogram/__init__.py
# pyrogram/client/client.py
# pyrogram/client/methods/bots/answer_callback_query.py
# pyrogram/client/methods/bots/get_game_high_scores.py
# pyrogram/client/methods/bots/get_inline_bot_results.py
# pyrogram/client/methods/bots/request_callback_answer.py
# pyrogram/client/methods/bots/send_game.py
# pyrogram/client/methods/bots/send_inline_bot_result.py
# pyrogram/client/methods/bots/set_game_score.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/iter_chat_members.py
# pyrogram/client/methods/chats/iter_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/contacts/get_contacts.py
# pyrogram/client/methods/messages/delete_messages.py
# pyrogram/client/methods/messages/download_media.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/iter_history.py
# pyrogram/client/methods/messages/send_animation.py
# pyrogram/client/methods/messages/send_audio.py
# pyrogram/client/methods/messages/send_cached_media.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_user_profile_photos.py
# pyrogram/client/methods/users/get_users.py
# pyrogram/session/auth.py
# pyrogram/session/session.py
|
2019-03-16 19:49:38 +01:00 |
|
Dan
|
3e18945f3c
|
Reformat code
|
2019-03-16 19:23:23 +01:00 |
|
Dan
|
35096a28c3
|
Fix asyncio merge
|
2019-01-07 22:57:19 +01:00 |
|
Dan
|
21c301d19d
|
Merge branch 'develop' into asyncio
|
2019-01-07 22:51:57 +01:00 |
|
Dan
|
ee472329a2
|
Move get_game_high_scores method into bots folder
|
2019-01-07 22:35:17 +01:00 |
|
Dan
|
65bdf31ce1
|
Move send_game and set_game_score into bots folder
|
2019-01-07 22:26:52 +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
|
4d7b1bafac
|
Update copyright year
|
2019-01-01 12:36:16 +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
|
c4280f017e
|
Add hide_via parameter to send_inline_bot_result
|
2018-12-24 14:13:47 +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
|
b593463bd7
|
Type hint all the remaining method parameters
|
2018-12-19 14:50:23 +01:00 |
|
Dan
|
017c61a876
|
Merge branch 'develop' into asyncio
# Conflicts:
# pyrogram/client/dispatcher/dispatcher.py
# pyrogram/client/methods/bots/request_callback_answer.py
# pyrogram/client/types/messages_and_media/message.py
|
2018-11-20 19:40:07 +01:00 |
|
Dan
|
08776619a7
|
Change callback_data type to bytes for request_callback_answer
Fixes #161
|
2018-11-20 16:08:24 +01:00 |
|
Dan
|
8d50b86bc6
|
Merge branch 'develop' into inline-mode
# Conflicts:
# compiler/api/compiler.py
|
2018-11-09 08:52: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
|
45129658b0
|
Revisit docstrings
|
2018-11-03 10:49:11 +01:00 |
|
Dan
|
0a057cc233
|
Expose new types and methods
|
2018-10-15 14:30:12 +02:00 |
|
Dan
|
350265aaae
|
Add answer_inline_query method
|
2018-10-15 14:29:58 +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
|
32468e5ab0
|
Remove hints about using t.me/joinchat/ links as chat ids
Such links don't work reliably with the current implementation
|
2018-07-27 00:40:08 +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
|
56f616c753
|
Mention timeout and retries in docs for request_callback_answer
|
2018-06-24 17:50:30 +02:00 |
|
Dan
|
166b3646ac
|
Make request_callback_answer try only once with a timeout of 10 seconds
|
2018-06-24 17:48:33 +02:00 |
|
Dan
|
7ba2906532
|
Make request_callback_answer async
|
2018-06-23 14:31:21 +02:00 |
|
Dan
|
811e67c229
|
Merge branch 'develop' into asyncio
# Conflicts:
# pyrogram/client/types/message.py
|
2018-06-23 14:30:27 +02:00 |
|
Dan
|
2ee7cf5124
|
Add request_callback_answer method
|
2018-06-23 12:29:40 +02:00 |
|
Dan
|
8074ef1368
|
Make methods directory structure simple
|
2018-06-23 10:34:20 +02:00 |
|
Dan
|
4d72f84991
|
Even more async chore
|
2018-06-18 21:30:13 +02:00 |
|
Dan
|
63b4f909df
|
Split location parameter into lat and long
|
2018-05-09 12:33:51 +02:00 |
|
Dan
|
78ccb93bc1
|
Add TimeoutError on possible raises
|
2018-05-07 16:37:54 +02:00 |
|
Dan
|
bef0a24408
|
Small fixes
|
2018-05-07 15:55:41 +02:00 |
|
Dan
|
8454d438be
|
Refactor the project by using Mixin classes
This will cut client.py down from ~4k to ~1k SLOC and also
makes the whole project tidier and more organized.
|
2018-05-07 14:30:55 +02:00 |
|