Commit graph

1662 commits

Author SHA1 Message Date
DeMax
862cbbd1e6
Added constructor for ChatAdministratorRights (#964) 2022-08-13 23:41:46 +03:00
Alex Root Junior
e7b58e4938
Added decorations for custom emoji (suppressed on server side) 2022-08-13 23:38:38 +03:00
Alex Root Junior
11d2e6f31a
Added full support of Bot API 6.2 2022-08-13 23:01:10 +03:00
Drak Lowell
a697a9d5cc
Change set_data to set_bucket in reset_bucket (#970) (#1) (#971) 2022-08-06 07:18:01 +03:00
Evgen Fil
c6a3ee0384
Split "Context" textarea field into several required input fields (#962) 2022-07-23 21:27:22 +03:00
Evgen Fil
b3263f9d6b
Improve issue and pull request templates (#947)
Start using forms instead of templates
2022-06-26 16:27:42 +03:00
Evgen Fil
b5100587e6
Automatically put 2.x label on new pull requests to dev-2.x (#939) 2022-06-25 22:32:28 +03:00
Владислав
df23d4fd59
Update Telegram Bot API shield version in README.md (#934) 2022-06-24 11:58:29 +03:00
Alex Root Junior
6e6c737583
Remove bad file 2022-06-22 01:42:47 +03:00
Alex Root Junior
cdb6e2b7df
Bump version 2022-06-22 01:08:53 +03:00
ENCRYPTED
c289da35c3
Added from_id property to Message (#899) 2022-06-22 01:04:47 +03:00
Abror Maksudov
1ced320a19
make ChatTypeFilter work with inline queries (#915)
* make ChatTypeFilter work with inline queries

* add condition when call.message is none
2022-06-22 01:03:44 +03:00
ZharkovMihail
ce5077876b
fix unregister handlers (#932) 2022-06-22 01:02:23 +03:00
Alex Root Junior
3b66a2b2e0
Added full support of Telegram Bot API 6.1;
Ported web-app utils;
Deprecated emoji module;
2022-06-22 00:59:49 +03:00
Andrew
7940613ec0
Rework warning for not defined fields (#931) 2022-06-21 03:26:17 +03:00
Юрий
a0fb37a54d
Add protect_content to webhook responses (#804)
* fixed type hints of callback_data

its impotant to remeber all data saved in callback_data is text even if you pass to it integer
insofar as newbies often copy examples and modyfy this typing may help them make no mistake

* add protect_content param to all supported webhook responses
2022-06-02 14:51:17 +03:00
Alex Filiov
8d58ed909d
fix Dispatcher.release_key (#908)
del bucker['key'] raises KeyError: 'key'
2022-05-14 17:01:32 +03:00
Aryn
bad6d8613a
Fix datetime serialization error on Windows (#880)
* fix #349

* fix #349 (2)
2022-04-24 04:01:14 +03:00
Alex Root Junior
0e2beb24c2
Added support of Telegram BOt API 6.0 2022-04-16 18:09:58 +03:00
Wendirad Demelash
51d3ad7d94
Fix indentation for ban_chat_member function doc string (#867)
* Added classifier for Python 3.10

* Fix indentation for `ban_chat_member` function doc string

Co-authored-by: Alex Root Junior <jroot.junior@gmail.com>
2022-03-26 17:23:35 +02:00
Vishwa Kumaresh
613cfb8df0
fix: setup.py (#856)
Changed requires_python to python_requires
2022-03-05 02:34:53 +02:00
viuipan
fe48a4a014
fix issue 812 (#843) 2022-03-02 01:04:47 +02:00
Alex Root Junior
4a4eb51bd4
Changed skip updates method (#842) 2022-02-20 17:11:04 +02:00
Grigory Statsenko
bb1c774bcc
Add support for custom kwargs for AsyncIOMotorClient in MongoStorage (#831) 2022-02-13 14:56:15 +02:00
Oleg A
24e933bdde
Fix: default parent for __setitem__ (#806)
* fix: self is default parent

* chore: mv bot fixture

* chore: add update_chat test

* fix: string CHAT_PHOTO data
2022-02-08 02:30:41 +02:00
Oleg A
b39672f9b6
[2.x] Don't save error as a file (#813)
* fix: don't save error as file

Raise an aiohttp.ClientResponseError if the response status is 400 or higher

#799

* fix tests

Co-authored-by: darksidecat <58224121+darksidecat@users.noreply.github.com>
2022-02-08 02:29:53 +02:00
He
3731a62885
Deleting deprecated CHOSEN_INLINE_QUERY (#805)
* Deleting deprecated CHOSEN_INLINE_QUERY

* Del from comments CHOSEN_INLINE_QUERY
2022-02-08 02:25:15 +02:00
Alex Root Junior
bb7b299b9d
Updated to Bot API 5.7 (#824)
* Updated to Bot API 5.7

* Updated to Bot API 5.7

Signed-off-by: Alex Root Junior <jroot.junior@gmail.com>
2022-02-01 02:20:39 +02:00
Gabben
b545a5ff2e
Use hardcoded token as in the other examples (#809) 2022-01-26 23:25:40 +02:00
Max Smirnov
dd4cc7fbbb
Remove unnecessary Optionals (#818) 2022-01-26 20:25:11 +02:00
Kostiantyn Kriuchkov
c77691d668
Fixed to Bot API documentation in docstring (#820) 2022-01-26 20:24:38 +02:00
Oleg A
4d2d811386
docs: bot API version update (#802) 2022-01-03 01:36:44 +05:00
Oleg A
96654b7266
Merge pull request #695 from samuelfirst/global_disable_web_page_preview_parameter
Global disable web page preview parameter
2022-01-02 23:00:22 +03:00
Ramzan Bekbulatov
a0510b33b9
Remove unused code from fsm.py (#780) 2022-01-03 00:03:07 +05:00
Oleg A
61fe788355
Merge pull request #801 from aiogram/dev-2.x-api-5.6
Bot API v5.6 support
2022-01-02 21:59:34 +03:00
samuelfirst
859876bed1 Use global disable_web_page_preview in SendMessage and EditMessageText classes 2022-01-02 19:49:54 +03:00
samuelfirst
2b1c72c08c Use global disable_web_page_preview in InputTextMessageContent 2022-01-02 19:49:54 +03:00
samuelfirst
301a43e26b Set default disable_web_page_preview 2022-01-02 19:49:54 +03:00
Oleg A
ce8976c33f Merge remote-tracking branch 'origin/dev-2.x-api-5.6' into dev-2.x-api-5.6 2022-01-01 22:59:26 +03:00
Oleg A
5cb7ecd4b2 chore: add <tg-spoiler/> tag 2022-01-01 22:59:18 +03:00
Oleg A
c0e8aa34c6
chore: remove redundant part of version
Co-authored-by: evgfilim1 <evgfilim1@yandex.ru>
2022-01-01 14:41:40 +03:00
Oleg A
c61410b526 fix: add span to MD_SYMBOLS 2022-01-01 13:14:15 +03:00
Oleg A
6b15b19777 feat: add protect to shortcuts 2021-12-31 01:19:45 +03:00
Oleg A
61ef1cc14f style: reorder methods similar to docs 2021-12-31 00:49:47 +03:00
Oleg A
1e86ec0643 feat: add spoiler entities 2021-12-30 16:45:33 +03:00
Oleg A
e0ecbc4ec9 feat: add protect_content param 2021-12-30 16:26:31 +03:00
Oleg A
3d30581657 docs: bump tg api version 2021-12-30 16:07:09 +03:00
Oleg A
583f00ce31
feat: TelegramObject readable representation (#796) 2021-12-29 03:38:37 +02:00
ульба
763efb7763
Missing space (#775) 2021-12-11 01:00:09 +02:00
Alex Root Junior
dea94d2574 Bump version, added Python 3.10 classifier 2021-12-09 02:06:23 +02:00