Commit graph

60 commits

Author SHA1 Message Date
Alex Root Junior
8490306096 Refactor types. 2018-01-24 02:29:48 +02:00
Alex Root Junior
44e61fc6ad Set default parse mode. 2018-01-18 17:36:24 +02:00
Alex Root Junior
020332ad3a Send files with correct names. 2018-01-15 14:34:35 +02:00
Alex Root Junior
30866e5a9a Typo version in docstring. 2018-01-06 14:37:10 +02:00
Alex Root Junior
16a61b092f More graceful stopping of long polling. 2018-01-06 14:31:59 +02:00
Alex Root Junior
629dd400eb Remove auto retry requests on RetryAfter error. 2017-12-10 04:00:46 +02:00
Alex Root Junior
0295aed615 Relative imports and reformat code (auto) 2017-12-10 02:40:59 +02:00
Alex Root Junior
753396330d Implemented new one InputFile interface for sending local files. 2017-11-21 20:31:35 +02:00
Alex Root Junior
f11775fcef Implemented features from not announced Telegram Bot API update: sendMediaGroup + InputMedia* + other small changes 2017-11-17 23:01:17 +02:00
Alex Root Junior
600148e6d2 Check response content type. 2017-11-16 17:56:27 +02:00
Alex Root Junior
59bea7216a Oops. Change API version in docs and add API version to aiogram.__init__ 2017-11-11 12:46:33 +02:00
Alex Root Junior
2957ff75ee Fix URL's 2017-11-11 12:36:35 +02:00
Alex Root Junior
dc4f18b5d7 Fix answerShippingQuery and sendInvoice. 2017-10-23 16:23:24 +03:00
Alex Root Junior
1b87532221 Small changes. 2017-10-22 14:15:19 +03:00
Alex Root Junior
61e7ee3220 More annotations in BaseBot class 2017-10-22 14:13:56 +03:00
Alex Root Junior
ed6301af23 Add alias for Bot.get_me() and allow to download files by id. (from old bot object) 2017-10-22 14:09:11 +03:00
Alex Root Junior
dc2794e177 Reformat code and pydocs. 2017-10-22 13:59:45 +03:00
Alex Root Junior
f29f1216ac Regen bot class. Change Optional[T] to Union[T, None]` 2017-10-21 19:19:20 +03:00
Alex Root Junior
f9e6d6839f Regenerate bot class. 2017-10-20 18:48:08 +03:00
Alex Root Junior
4e0c960289 Add new method names from latest Bot API (3.4) 2017-10-20 18:47:50 +03:00
Alex Root Junior
5d12a7e349 Clean base bot. 2017-10-20 17:33:58 +03:00
Alex Root Junior
5eeace04f4 Update annotations. 2017-08-26 12:12:35 +03:00
Alex Root Junior
7ffeb8ff57 Fix filename in InputFile and provide to change filename in send_document. 2017-08-24 01:11:48 +03:00
Alex Root Junior
09fa911ffa Add ConflictError (309) 2017-08-22 20:28:22 +03:00
Alex Root Junior
b65f181402 More correct names for writing styles in HelperMode 2017-08-15 04:32:11 +03:00
Alex Root Junior
2346ade309 I think exceptions module is utility. 2017-08-15 04:17:20 +03:00
Alex Root Junior
b7bf22bb77 Small changes in exceptions. 2017-08-14 22:16:41 +03:00
Alex Root Junior
afe8b24c42 Reorder exceptions in error detector. 2017-08-11 06:17:02 +03:00
Alex Root Junior
5812243d5d Change annotation for constructor of Bot/BaseBot. 2017-08-11 06:05:24 +03:00
Alex Root Junior
06c509cda8 Make more graceful exceptions 2017-08-11 05:58:27 +03:00
Alex Root Junior
257b281bb4 Empty line. 2017-08-08 05:36:13 +03:00
Alex Root Junior
b2798e39a8 Fix send_file method for requests without files. (For e.g. setWebhook) 2017-08-05 04:14:44 +03:00
Alex Root Junior
ae48ed973a Fix docs. 2017-08-04 14:00:48 +03:00
Alex Root Junior
11ceaab10d This code doesn't take an any effect. 2017-08-04 13:37:51 +03:00
Alex Root Junior
1b49e8e2d3 Fix docs indentations. 2017-08-04 13:25:29 +03:00
Alex Root Junior
bd91d0acb9 Allow to use datetime and timedelta in until_date argument. 2017-08-04 13:12:33 +03:00
Alex Root Junior
5d81515487 Fixed lost "Optional" flags. 2017-08-04 12:53:01 +03:00
Alex Root Junior
6c21270ccb Provide proxy connection. Add example for proxy and emoji util 2017-07-25 18:04:09 +03:00
Alex Root Junior
92253ba77a Use positional only format. 2017-07-25 04:45:33 +03:00
Alex Root Junior
ae50e578b9 Move prepare object 2017-07-25 00:58:57 +03:00
Alex Root Junior
3951e25e9f Allow to reset bot.me 2017-07-24 23:39:41 +03:00
Alex Root Junior
ffbb89100c Rewrite Bot classes. Add moooooore pydocs. 2017-07-24 21:46:43 +03:00
Alex Root Junior
a333216e25 More pydoc's in api module and rewrite Methods class (use Helper) and reorder methods in list. 2017-07-23 06:08:06 +03:00
Alex Root Junior
050b3ba113 Optimize parameters parser 2017-07-22 20:14:44 +03:00
Alex Root Junior
74b09b5c4b Eliminating merge error. 2017-07-22 19:57:47 +03:00
Alex Root Junior
01e8a58ffe send_file is public method. 2017-07-22 19:35:39 +03:00
Alex Root Junior
07835b504c Merge remote-tracking branch 'origin/master' into dev
# Conflicts:
#	aiogram/bot/base.py
2017-07-22 19:23:48 +03:00
Alex Root Junior
146e876099 Update to Bot API 3.2. Teach your bot to handle stickers and sticker sets. 2017-07-22 19:23:20 +03:00
Alex Root Junior
667a7421c8 Nothing. 2017-07-12 20:51:46 +03:00
Alex Root Junior
5b87708049 Provide some actions from data types. 2017-07-12 00:16:29 +03:00