Commit graph

130 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
Nikita
8a55b67715 Type hint and fix parse_mode parameter
Fix: t.me/aiogram_ru/54632
2019-04-28 23:33:34 +05:00
Alex RootJunior
beca19b5e2 Implements opportunity to change request timeouts 2019-04-17 23:24:23 +03:00
Alex RootJunior
71c49fd08b Small changes 2019-04-16 00:22:22 +03:00
Alex RootJunior
599e87ec13 Bump polls to latest API version (Naming and location) 2019-04-15 23:38:17 +03:00
Alex RootJunior
e2e2d9c9fe Implemented polls [From test API] 2019-04-11 00:32:46 +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
c153fcfe8d Update captions length 2018-10-28 19:39:36 +02: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
Alex Root Junior
afb73fdb5c Bad arguments 2018-09-22 21:51:01 +03:00
Alex Root Junior
01dc74a118 Reformat API module. 2018-09-21 22:48:10 +03:00
Alex Root Junior
92ab598547 Merge remote-tracking branch 'origin/dev-2.x' into dev-2.x 2018-09-07 23:18:16 +03:00
Alex Root Junior
7a55c040ee Write docs and small fixes. 2018-09-07 21:24:13 +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
b2d202bb5d Remove "context" middleware. Rename "bot" middleware to "environment". 2018-08-09 19:37:09 +03:00
Alex Root Junior
a992f670c1 Merge remote-tracking branch 'origin/dev-2.x' into dev-2.x 2018-08-07 14:08:17 +03:00
Alex Root Junior
2c7a7dfce0 Fix docs warnings 2018-08-05 20:37:49 +03:00
Alex Root Junior
272cf155f2 Merge branch 'master' into dev-2.x
# Conflicts:
#	aiogram/__init__.py
#	aiogram/utils/json.py
2018-08-03 23:14:25 +03:00
Alex Root Junior
a43e196d6d Added the new field foursquare_type to the objects Venue, InlineQueryResultVenue and InputVenueMessageContent, and the parameter foursquare_type to the sendVenue method. 2018-07-29 03:08:33 +03:00
Alex Root Junior
8df8792f1c Added the method sendAnimation 2018-07-29 02:58:17 +03:00
Alex Root Junior
f006e53ddc Added support for attaching custom thumbnails to uploaded files.
Note: is not work properly and will be fixed in 2.0
2018-07-29 02:55:24 +03:00
Alex Root Junior
a8f6f3adf5 Added the method editMessageMedia and new types InputMediaAnimation, InputMediaAudio, and InputMediaDocument. 2018-07-29 02:36:27 +03:00
Alex Root Junior
f635b5c965 Added vCard support when sharing contacts 2018-07-29 02:17:17 +03:00
Alex Root Junior
6f3eda16e5 Telegram Passport 2018-07-28 19:16:54 +03:00
Victor Usachev
4c663ba4c7 Fix for proxy in AiohttpConnector.request 2018-07-28 05:06:50 +10:00
Alex Root Junior
cd4fee5eaa Implement connectors mechanism. 2018-07-08 18:40:54 +03:00
Alex Root Junior
8086a120c2 Try to use contextvars (partial) 2018-06-23 17:39:24 +03:00
Alex Root Junior
3076173384 New error types. 2018-05-11 02:00:32 +03:00
Alex Root Junior
b597f1e565 Fixed the RetryAfter and MigrateToChat errors 2018-05-02 18:09:51 +03:00
Alex Root Junior
8f45ebc9ed Refactoring the detection of error types 2018-05-02 18:08:36 +03:00
Alex Root Junior
0b48978bd3 Added new error types: PhotoDimensions, UnavailableMembers 2018-05-02 17:02:20 +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
e3e1ed9ed7 Add InvalidStickersSet exception 2018-04-22 22:02:58 +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
e07115a09f Add InvalidStickersSet exception 2018-04-16 00:36:14 +03:00
Alex Root Junior
c0fcaa6f45 More API Exceptions. 2018-04-14 02:40:16 +03:00
Alex Root Junior
ca3aa504cf Wow. Fail. Wrong method name. 2018-04-09 00:30:38 +03:00
Alex Root Junior
f0de1c5761 Add PhotoAsInputFileRequired exception. // Photo should be uploaded as an InputFile 2018-04-08 17:31:58 +03:00
Alex Root Junior
d2c5896b5c Oops. Remove duplicated argument. 2018-04-07 23:28:55 +03:00