Commit graph

913 commits

Author SHA1 Message Date
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
Alex Root Junior
23211fc283 Hide args from repr for Command.CommandObj 2018-07-13 23:59:39 +03:00
Alex Root Junior
b647eb476a Bind text handler. 2018-07-13 23:59:17 +03:00
Alex Root Junior
4a5f51dd01 Bump Python version in tox and RTD environments. 2018-07-13 23:58:43 +03:00
Alex Root Junior
f957883082 Refactor filters. 2018-07-13 22:58:47 +03:00
Alex Root Junior
539c76a062 Remove old TODO-s. 2018-07-11 23:50:00 +03:00
Alex Root Junior
24184b1c8f Improved filters. 2018-07-11 23:16:12 +03:00
Alex Root Junior
3abb48537c
Merge pull request #54 from ape364/patch-1
Update quick_start.rst
2018-07-09 21:29:40 +03:00
Alex Root Junior
c73975a2df
Merge branch 'dev-1.x' into patch-1 2018-07-09 21:27:45 +03:00
ape364
3de1397387
Update quick_start.rst
replace tab with 4 spaces
2018-07-09 23:25:13 +05:00
Alex Root Junior
cd4fee5eaa Implement connectors mechanism. 2018-07-08 18:40:54 +03:00
Alex Root Junior
6dc5d77bb2
Merge pull request #53 from surik00/dev-1.x
Fix broadcast example
2018-07-02 21:54:11 +03:00
Suren Khorenyan
40fd2b126b Fix broadcast example 2018-07-02 21:51:48 +03:00