Commit graph

34 commits

Author SHA1 Message Date
Alex Root Junior
9e97cd6727 destroy_temp_session is awaitable 2018-04-19 03:32:38 +03:00
Alex Root Junior
f047bb6db3 Implemented support of Socks5 Proxy 2018-04-19 03:28:34 +03:00
Alex Root Junior
d2c5896b5c Oops. Remove duplicated argument. 2018-04-07 23:28:55 +03:00
Alex Root Junior
f0552ad6f5 Fix aiohttp ClientConnectorSSLError: SSL certificate verify failed #33 2018-04-07 01:52:26 +03:00
Alex Root Junior
ce0d9aa3c6 Temporary fix "Coroutine 'BaseBot.close' was never awaited" 2018-04-05 23:11:09 +03:00
Alex Root Junior
7cab32b1cc Fix Fatal Python error: PyImport_GetModuleDict: no module dictionary! 2018-02-23 13:56:35 +02:00
Alex Root Junior
4f2cb40aea Implemented auth widget object and auth data validator. 2018-02-22 01:56:44 +02:00
Suren Khorenyan
70fb332fd3 Minor refactoring:
- removed remaining assertions
- quotes replaced with double quotes in f-strings
2018-02-12 22:06:05 +03:00
Alex Root Junior
9571608f7e Small changes in annotations. 2018-01-27 03:34:53 +02:00
Alex Root Junior
44e61fc6ad Set default parse mode. 2018-01-18 17:36:24 +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
61e7ee3220 More annotations in BaseBot class 2017-10-22 14:13:56 +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
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
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
ffbb89100c Rewrite Bot classes. Add moooooore pydocs. 2017-07-24 21:46:43 +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
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
cc6fbef8ea set_webhook return bool 2017-06-09 14:57:43 +03:00
Alex Root Junior
3cd468e3c4 Exclude must be a list 2017-06-09 14:50:58 +03:00
Alex Root Junior
68eff96798 Rename api.ApiMethods to api.Methods and move module to bot. 2017-06-04 11:38:05 +03:00
Alex Root Junior
08124e7d38 Split bot.py to bot/base.py and bot/bot.py 2017-06-04 11:35:07 +03:00