Commit graph

154 commits

Author SHA1 Message Date
Alex Root Junior
bafc2ff341 Update middlewares docs 2020-05-26 20:26:29 +03:00
Alex Root Junior
7f26ec9935 Implement new middlewares 2020-05-26 00:23:35 +03:00
Gabben
3029614dd1 Typo fix 2020-05-17 17:10:42 +05:00
Gabben
83730276bc Add ShippingQuery.answer 2020-05-17 16:50:49 +05:00
Gabben
cf12da0c4a Add PreCheckoutQuery.answer 2020-05-17 16:40:26 +05:00
Gabben
65002b9280 Add InlineQuery.answer 2020-05-17 16:24:42 +05:00
Gabben
6bba2da814 Add CallbackQuery.answer 2020-05-17 15:42:04 +05:00
mpa
9bd981726f Merge remote-tracking branch 'origin/dev-3.x' into dev-3.x-deprecate-handlers 2020-05-10 03:12:42 +04:00
mpa
4124770b0e refactor(handler): rename observers
Rename observers but with backward compatibility, relevant documentation
2020-05-10 03:02:31 +04:00
Alex Root Junior
05dd42712d
Merge pull request #318 from aiogram/dev-3.x-refactor-sessions
Dev 3.x refactor sessions
2020-05-09 23:49:54 +03:00
mpa
df4ba87dfc feat(timeout):
implement (class-bound, instance-bound, request-bound) session timeout
for requests. fix docs config, fix aiohttp session docs links.
2020-05-06 02:42:54 +04:00
Alex Root Junior
6be0b36305
Dev 3.x api 4.8 (#317)
* AIOG-T-20 Bot API 4.8

* AIOG-T-20 Update aliases

* AIOG-T-20 Add parse mode passing in sendPoll method

* AIOG-T-20 Small changes in docs

* AIOG-T-20 Revert overriding remove keyboard default value and add tests

* AIOG-T-20 Bot API 4.8
2020-05-02 23:01:32 +03:00
Martin Winks
15bcc0ba9f
feat(proxy): proxy for aiohttp,base sessions (#284)
* feat(proxy): proxy for aiohttp,base sessions

Add support for proxies in aiohttp session with aiohttp_socks library,
edit BaseSession class to support proxies for other sessions in future.

* fix(annotation): missing underscore before "private" typevar

* chore: remove redundant of proxy_url schema for socks version

* test: add missing test

Add missing test, remove BaseSession.cfg and switch to
implementing class' "private" traits, add aiohttp_socks in dependency list as
optional and extra.

* feat(session):

Implement asyncio session for requests [wip]

* feat(proxy chain): Chained proxy support in aiohttp session

Add ChainProxyConnector support, !pin pydantic to "1.4", add
documentation on aiohttp connector.

* style(mypy): apply linter changes

* tests(mock): remove await for magic mock

* fix dangling dependency

* refactor(generic):

get rid of generic behaviour for base session
2020-05-02 16:12:53 +03:00
Alex Root Junior
01c6303d67 Add extensions for class-based error handler 2020-04-12 23:29:10 +03:00
Alex Root Junior
0fbd2819f9 Add filters and class based handler for errors 2020-04-12 23:20:44 +03:00
Alex Root Junior
9e673998f0 Errors handler 2020-04-12 22:13:25 +03:00
Alex Root Junior
569a9c807c adwanced 2020-04-12 20:41:10 +03:00
Alex Root Junior
5b6ec599b1 Add middlewares (API + Docs + Tests) 2020-04-12 20:27:32 +03:00
Alex Root Junior
e4cd4c1763 Add message reply&answer methods for dice 2020-04-11 23:06:41 +03:00
Alex Root Junior
33003f2026 Add support of Bot API 4.7. Bump version 2020-04-11 20:15:03 +03:00
Alex Root Junior
3bac0f137b Re-generate methods/types 2020-02-02 16:11:30 +02:00
jrootjunior
5daf3b2162 Move TODO to external page in docs 2020-01-30 18:02:23 +02:00
jrootjunior
fcb8a414e9 Fix style of types/methods list 2020-01-30 17:03:03 +02:00
jrootjunior
da0b9a4203 Merge remote-tracking branch 'origin/dev-3.x' into dev-3.x 2020-01-28 14:03:36 +02:00
jrootjunior
795912bff6 improve docs 2020-01-28 14:03:29 +02:00
Alex Root Junior
350a670bdf Add handler for poll answer 2020-01-27 23:55:45 +02:00
Alex Root Junior
c7355cef23 Add docs for message aliases 2020-01-26 20:40:57 +02:00
Alex Root Junior
30f4e8397b Update docs for Router initializer 2020-01-25 18:38:13 +02:00
Alex Root Junior
d9314a9d53 Bump versions 2020-01-25 18:32:47 +02:00
Alex Root Junior
4312f62fed Merge branch 'dev-3.x-api-4.6' into dev-3.x 2020-01-25 18:26:46 +02:00
Alex Root Junior
9dcc4f2d7a Update install link 2020-01-24 01:10:14 +02:00
Alex Root Junior
ae55497842 Supports Bot API 4.6 (Broken tests) 2020-01-24 01:07:22 +02:00
Alex Root Junior
7b1d2d364d Merge remote-tracking branch 'origin/dev-3.x' into dev-3.x 2020-01-21 23:33:55 +02:00
Alex Root Junior
895b727ddf More class based handlers 2020-01-21 23:33:44 +02:00
Gabben
1e7c87bd62
Fix docs 2020-01-16 17:32:26 +05:00
Alex Root Junior
b144332287 Allow to use regular values as the same with another sequences in filters 2020-01-15 23:34:33 +02:00
Alex Root Junior
824b672513 Update observer docs 2020-01-13 21:26:49 +02:00
Alex Root Junior
3b2df194a9 Reformat code and docs 2020-01-11 22:59:14 +02:00
Alex Root Junior
ffb0cdf88f Telegram Bot API 4.5 2020-01-11 19:47:39 +02:00
prostomarkeloff
d5876c9287
Delete unnecessary colons 2020-01-01 03:08:21 +03:00
jrootjunior
b30e4e77ad Typing for handlers and add hello world to index page of docs 2019-12-12 12:49:52 +02:00
Alex Root Junior
1d9e80a4dc Add docs for ContentTypesFilter 2019-12-11 21:42:56 +02:00
jrootjunior
1cac963562 Replace types ty methods in docs/api/methods 2019-12-11 16:52:21 +02:00
jrootjunior
647d03b2d4 Remove filters from class based handlers 2019-12-11 16:45:10 +02:00
Alex Root Junior
90e8c108ef Add docs for command filter 2019-12-09 21:21:15 +02:00
jrootjunior
ea7b20e114 Small changes in api docs. 2019-12-03 13:12:39 +02:00
jrootjunior
aa7c5796dd Add default parse mode 2019-12-03 13:10:09 +02:00
Alex Root Junior
62bce34b49 Add docs for class-based handlers 2019-12-03 00:37:53 +02:00
Alex Root Junior
2a731f7ce2 Update filters doc page 2019-11-30 00:43:19 +02:00
Alex Root Junior
4e380e424e Update text filter description 2019-11-29 23:24:37 +02:00