Commit graph

26 commits

Author SHA1 Message Date
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
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
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
fcb8a414e9 Fix style of types/methods list 2020-01-30 17:03:03 +02:00
jrootjunior
795912bff6 improve docs 2020-01-28 14:03:29 +02:00
Alex Root Junior
c7355cef23 Add docs for message aliases 2020-01-26 20:40:57 +02:00
Alex Root Junior
d9314a9d53 Bump versions 2020-01-25 18:32:47 +02:00
Alex Root Junior
ae55497842 Supports Bot API 4.6 (Broken tests) 2020-01-24 01:07:22 +02:00
Gabben
1e7c87bd62
Fix docs 2020-01-16 17:32:26 +05: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
jrootjunior
1cac963562 Replace types ty methods in docs/api/methods 2019-12-11 16:52:21 +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
jrootjunior
90b4d2eae9 Versions in docs 2019-11-20 10:07:00 +02:00
Alex Root Junior
fa6732542d Add instruction how to upload files 2019-11-20 00:10:52 +02:00
Alex Root Junior
65331e1fda Add autogenerated docs for types and methods 2019-11-16 22:32:05 +02:00