Alex Root Junior
7a55c040ee
Write docs and small fixes.
2018-09-07 21:24:13 +03:00
Alex Root Junior
23fba99d93
Remove dispatcher argument from errors handler
2018-09-06 20:10:31 +03:00
Alex Root Junior
acdcd1455f
Experimental: FSM Middleware.
2018-08-14 19:19:10 +03:00
Alex Root Junior
5466f0c342
Set requests timeout
2018-08-14 00:13:37 +03:00
Alex Root Junior
b16963d4a9
Make single elements ContentType object and ContentTypes class for listed elements
2018-08-13 23:53: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
8109400a0d
Tabs -> Spaces
2018-08-11 13:37:06 +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
5f7a495b10
Merge branch 'dev-1.x'
...
# Conflicts:
# aiogram/__init__.py
2018-08-03 00:18:27 +03:00
Alex Root Junior
0b46a042ad
Merge remote-tracking branch 'origin/dev-1.x' into dev-1.x
2018-08-03 00:14:53 +03:00
Alex Root Junior
c73888bd98
Rename encrypted_passport_element_type -> type
2018-08-03 00:12:38 +03:00
Alex Root Junior
13408426db
Fix webhook (retry-after)
2018-08-03 00:11:43 +03:00
Alex Root Junior
9b593af592
Merge pull request #60 from Olegt0rr/patch-14
...
MessageCantBeDeleted exception
2018-07-31 16:26:31 +03:00
Oleg A
db94260df0
MessageCantBeDeleted exception
...
If bot without admin rights try to delete message it receive BadRequest: message can't be deleted
2018-07-31 11:51:03 +03:00
Alex Root Junior
94d3dd4b13
You can now use the Retry-After response header to configure the delay after which the Bot API will retry the request after an unsuccessful response from a webhook.
2018-07-29 03:17:44 +03:00
Alex Root Junior
9477e9af86
Implement Gone request handler
2018-07-29 03:12:21 +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
0a847c4de7
Added the field thumb to the Audio object to contain the thumbnail of the album cover to which the music file belongs.
2018-07-29 02:05:07 +03:00
Alex Root Junior
6f3eda16e5
Telegram Passport
2018-07-28 19:16:54 +03:00
Alex Root Junior
e52ad822b9
Merge pull request #58 from victorusachev/hotfix--proxy-args
...
Fix for proxy in AiohttpConnector.request
2018-07-28 18:26:06 +03:00
Victor Usachev
4c663ba4c7
Fix for proxy in AiohttpConnector.request
2018-07-28 05:06:50 +10:00
Alex Root Junior
f7a071cb0b
Added the field animation to the Message object.
2018-07-26 22:53:56 +03:00
Alex Root Junior
f6573ded96
Fix docs Makefile. (revert)
2018-07-26 21:29:41 +03:00
Alex Root Junior
ad96efbd71
Added two new MessageEntity types: cashtag and phone_number.
2018-07-26 21:29:25 +03:00
Alex Root Junior
52a4eb7226
Bump version
2018-07-26 21:01:39 +03:00
Alex Root Junior
5412c3c120
Merge pull request #56 from Olegt0rr/patch-16
...
Update json.py to fix pyCharm warning
2018-07-26 20:59:04 +03:00
Alex Root Junior
9e1c23ced8
Merge pull request #55 from Olegt0rr/patch-13
...
Simple example with webhook executor
2018-07-26 20:58:22 +03:00
Oleg A
a06cdd188d
Update json.py
...
fix pyCharm warning
'ujson' in try block with 'except ImportError' should also be defined in except block
This inspection detects names that should resolve but don't. Due to dynamic dispatch and duck typing, this is possible in a limited but useful number of cases. Top-level and class-level items are supported better than instance items.
2018-07-21 11:31:18 +03:00
Oleg A
7f588082b9
Create webhook_example_2.py
2018-07-18 01:21:50 +03:00
Alex Root Junior
2d7a142d84
Merge branch 'master' into dev-2.x
...
# Conflicts:
# aiogram/__init__.py
# aiogram/utils/exceptions.py
2018-07-16 00:15:55 +03:00
Alex Root Junior
3f8034ad90
Change version
2018-07-15 23:01:32 +03:00
Alex Root Junior
220f47b00f
InlineQueryResultLocation has live_period
2018-07-15 22:20:03 +03:00
Alex Root Junior
a678318927
More content types.
2018-07-15 22:16:34 +03:00
Alex Root Junior
50ea2f37ae
In channels CallbackQuery.message.from_user can be empty.
2018-07-15 21:55:23 +03:00
Alex Root Junior
ebc0a94201
Moooore error types.
2018-07-15 21:49:53 +03:00
Alex Root Junior
59bde14db3
Fixed pydoc for Message.parse_entities.
2018-07-15 21:07:37 +03:00
Alex Root Junior
f52c59376d
Fixed markup-entities parsing.
2018-07-15 21:00:35 +03:00
Alex Root Junior
2cc9720b09
Merge branch 'dev-1.x' into dev-2.x
...
# Conflicts:
# examples/broadcast_example.py
2018-07-14 16:30:26 +03:00
Alex Root Junior
06df482061
Partial update examples.
2018-07-14 16:28:20 +03:00
Alex Root Junior
b37763c23f
Allowed to more simply import base utils from aiogram
2018-07-14 16:28:07 +03:00
Alex Root Junior
afbe7bb458
Allow to use RapidJSON. Allow to disable uvloop, ujson or rapidjson by env. variables.
2018-07-14 01:19:35 +03:00