Commit graph

52 commits

Author SHA1 Message Date
Nikita
49157af59b Update base.py 2019-05-03 16:09:55 +05:00
Nikita
5580cdaa06 Update base.py 2019-05-03 16:08:23 +05:00
Alex RootJunior
beca19b5e2 Implements opportunity to change request timeouts 2019-04-17 23:24:23 +03:00
Alex RootJunior
599e87ec13 Bump polls to latest API version (Naming and location) 2019-04-15 23:38:17 +03:00
Oleg A
7c0ada5897 Replaced 'ssl_context' kwarg with 'ssl' cause: DeprecationWarning: ssl_context is deprecated, use ssl=context instead 2019-02-25 15:43:18 +03:00
Dmitry Sobolev
e73533d487 DNS over socks proxy 2019-01-25 13:16:52 +05:00
Alex Root Junior
e0a832f5ba Remove BaseBot._data = {} 2018-10-21 20:58:48 +03:00
Alex Root Junior
39c333251f Rewrite contextvar usage. Implemented ContextInstanceMixin and DataMixin 2018-10-20 15:55:57 +03:00
t0rr
734623ae71 #65 bug fix with no proxy_auth 2018-08-17 12:18:22 +03:00
Alex Root Junior
5466f0c342 Set requests timeout 2018-08-14 00:13:37 +03:00
Alex Root Junior
e31e08a072 Proxy & proxy_auth is not needed when used aiohttp_socks 2018-08-13 23:28:49 +03:00
Alex Root Junior
d5290647c5 Remove Connectors mechanism and use aiohttp_socks instead of aiosocksy for Socks4/Socks5 proxies 2018-08-13 23:25:17 +03:00
Alex Root Junior
4d7555b1c3 Rewrite file uploading mechanism. Allow to send thumbs (Bot API 4.0). 2018-08-13 22:42:10 +03:00
Alex Root Junior
cd4fee5eaa Implement connectors mechanism. 2018-07-08 18:40:54 +03:00
Alex Root Junior
7df5337cb4 Unused import 2018-05-02 13:52:12 +03:00
Alex Root Junior
2a5dc531d2 Disable connections limit. 2018-05-02 13:49:31 +03:00
Alex Root Junior
80d2b24d7e Remove deprecated temp session. 2018-04-23 00:02:13 +03:00
Alex Root Junior
a941a00abc Deprecate temp sessions. 2018-04-22 21:32:32 +03:00
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