Commit Graph

1922 Commits

Author SHA1 Message Date
Dan
3d9b1cd4b0 Enable logging using debug=True 2018-04-23 13:37:50 +02:00
Dan
7054310138 Add docstrings for workdir parameter 2018-04-22 12:41:50 +02:00
Dan
32700f8e11 Update welcome_bot.py 2018-04-21 22:09:26 +02:00
Eric Blundell
40b768e97c Make Client.signal_handler reentrant (#57) 2018-04-21 20:50:30 +02:00
Dan
6e8077df2b Add PERSISTENT_TIMESTAMP_OUTDATED RPCError 2018-04-20 17:19:23 +02:00
Dan
ae98732b95 Add workdir parameter
This makes possible to define a custom working directory.
A working directory is used to store session files. Defaults to "."
2018-04-19 10:06:41 +02:00
Dan
20ec707aa8 Compile docs when installing 2018-04-18 20:55:18 +02:00
Dan
36b1058623 Fix weird constructor names reported in compiled docs 2018-04-18 19:47:19 +02:00
Dan
dd6f6e1b35 Update docs version 2018-04-18 17:21:51 +02:00
Dan
797e102c3f Update to v0.7.1 2018-04-18 17:20:17 +02:00
Dan
b59212dbf2 Fix send() not returning the value in case of a retry 2018-04-18 17:19:42 +02:00
Dan
d6448c2044 Handle STICKERSET_INVALID error 2018-04-18 16:39:42 +02:00
Dan
26f0d77a1a Add STICKERSET_INVALID error 2018-04-18 16:39:21 +02:00
Dan
f47ee057e4
Merge pull request #51 from pyrogram/new-api
API Revamp
2018-04-18 15:53:42 +02:00
Dan
069dbb3e7a Update to v0.7.0 2018-04-18 15:38:01 +02:00
Dan
1e7e1abdac
Update README.rst 2018-04-18 15:34:29 +02:00
Dan
ba1ffdb92b More concise error description 2018-04-18 15:18:51 +02:00
Dan
639828f550 Retry on internal server errors, up to MAX_RETRIES times
Also add support for custom retry count
2018-04-18 15:17:46 +02:00
Dan
f5efb6672a Add some new RPCErrors as well 2018-04-18 11:24:19 +02:00
Dan
e1d617b680 Move some errors to their right place 2018-04-18 11:17:05 +02:00
Dan
0bba5daea4 Update docstrings 2018-04-18 11:15:09 +02:00
Dan
9dff99cf36 Add set_name and emoji to Stickers 2018-04-17 15:17:40 +02:00
Dan
d78dfb4f9e Don't use raw functions when getting messages 2018-04-17 00:26:30 +02:00
Dan
ebe806e2b7 Add missing notice 2018-04-16 21:07:02 +02:00
Dan
3947453bc7 Fix RawUpdateHandler page title 2018-04-16 20:01:59 +02:00
Dan
e2c101d28e Update README.rst 2018-04-16 19:56:24 +02:00
Dan
0295954d66 Update docs 2018-04-16 19:48:50 +02:00
Dan
f9b1d02af4 Set correct link for the Message type 2018-04-16 13:28:53 +02:00
Dan
fcc595c586 Update version 2018-04-16 13:28:19 +02:00
Dan
a547eb6fa1 Update get_messages docstrings 2018-04-16 12:52:32 +02:00
Dan
e210b22aaa Fix wrong users when joining by link 2018-04-16 12:43:02 +02:00
Dan
f47f903f7f Make get_messages return the correct type 2018-04-16 12:42:31 +02:00
Dan
d0ddb63830 Use raw functions when getting messages 2018-04-16 12:19:04 +02:00
Dan
06685cfe15 Make edit_message_caption return the new type 2018-04-16 12:03:31 +02:00
Dan
fbc8cafe4d Make edit_message return the new type 2018-04-16 12:01:42 +02:00
Dan
20bd4fb605 Make send_contact return the new type 2018-04-16 11:56:52 +02:00
Dan
797e8ba4e9 Don't pass empty last_name or user_id, pass None instead 2018-04-16 11:56:43 +02:00
Dan
58c9f321b4 Make send_venue return the new type 2018-04-16 11:53:38 +02:00
Dan
4bbdadaa17 Don't pass an empty string, use None instead 2018-04-16 11:53:26 +02:00
Dan
cd9f44183e Make send_location return the new type 2018-04-16 11:51:32 +02:00
Dan
b4b5373505 Deprecate download_photo 2018-04-16 11:49:00 +02:00
Dan
d9b3d67126 Update download_media docstrings 2018-04-16 11:44:05 +02:00
Dan
e48ad9a7dd Reorganize parameters 2018-04-16 11:32:13 +02:00
Dan
fdac67de69 Rework download_media to accept the new Message type 2018-04-16 01:07:02 +02:00
Dan
6275a4003f Add mime_type, file_name and date to Sticker objects 2018-04-16 00:59:41 +02:00
Dan
ddfce4b7ea Add file_name, mime_type and date to VideoNote objects 2018-04-16 00:30:49 +02:00
Dan
f35d922c97 Add thumb, file_name and date to Voice type 2018-04-16 00:24:43 +02:00
Dan
7184710948 Add file_name and date fields to Video objects 2018-04-16 00:01:27 +02:00
Dan
44dda8550f Add date field to Document type 2018-04-15 23:54:46 +02:00
Dan
e08e2850ee Add thumb, date and file_name to Audio type 2018-04-15 23:51:10 +02:00