Commit graph

1721 commits

Author SHA1 Message Date
latan
10f97f82a0 Renamed the parameter thumb in the methods sendAnimation, sendAudio, sendDocument, sendVideo, sendVideoNote to thumbnail. 2023-03-20 23:17:14 +02:00
Oleg A
d9093f9a89
feat: Added the method deleteStickerSet
#1140
2023-03-09 23:14:23 +03:00
Oleg A
9ceee23c3e
feat: Added the method setStickerSetTitle
#1140
2023-03-09 23:11:24 +03:00
Oleg A
b6c06ea80c
feat: Added the method setCustomEmojiStickerSetThumbnail
#1140
2023-03-09 23:07:23 +03:00
Oleg A
0f5fb066a8
chore: Renamed the method setStickerSetThumb
#1140
2023-03-09 22:59:15 +03:00
Oleg A
68fe356735
feat: Added the field needs_repainting to the class Sticker.
#1140
2023-03-09 22:50:04 +03:00
Oleg A
1bcd92a87f
feat: createNewStickerSet draft
#1140
2023-03-09 22:47:41 +03:00
Oleg A
c8a6916679
feat: add emoji to sendSticker
#1140
2023-03-09 22:03:17 +03:00
Oleg A
eb922690fc
feat: add getMyShortDescription
#1140
2023-03-09 21:50:52 +03:00
Oleg A
ef1d4ae94d
feat: add setMyShortDescription
#1140
2023-03-09 21:46:55 +03:00
Oleg A
1667a4d46e
feat: add getMyDescription
#1140
2023-03-09 21:43:04 +03:00
Oleg A
8bf80a15b3
feat: add setMyDescription
#1140
2023-03-09 21:35:51 +03:00
Oleg A
b071570654
chore: bump tg api version 2023-03-09 21:25:03 +03:00
Alex Root Junior
88baf0b582
Bump version 2023-02-05 00:43:53 +02:00
tg:@mars_hall
83a6b03114
adapt ChatPermissions for Bot API 6.5 (#1113)
* adapt ChatPermissions for Bot API 6.5

* Update aiogram/types/chat_permissions.py

---------

Co-authored-by: Alex Root Junior <jroot.junior@gmail.com>
2023-02-04 19:54:51 +02:00
Oleg A
598ecdb588
Telegram API 6.5 (#1111)
* docs: telegram api version bump

* feat: add KeyboardButtonRequestUser and KeyboardButtonRequestChat

* feat: added the classes UserShared, ChatShared

* feat: added the parameter use_independent_chat_permissions

* fix: permissions field is mandatory for restrictChatMember

* feat: added the field user_chat_id

* feat: replaced the fields can_send_media_messages

* docs: add comment with replacement

* Update types/__init__.py

* Added new content types

* Fixed types

---------

Co-authored-by: Alex Root Junior <jroot.junior@gmail.com>
2023-02-04 02:29:40 +02:00
Alex Root Junior
69c9ecb7e0
Added is_persistent to InlineKeyboardMarkup constructor 2022-12-31 01:15:19 +02:00
Alex Root Junior
6e70371c14
Added full support of Bot API 6.4 2022-12-31 00:10:51 +02:00
Dmitry Anfimov
64eb41db96
Fix warning about asyncio marker (#1078) 2022-12-30 22:48:53 +02:00
gnifajio
491c2ca677
BugFix in chat.promote (#1082) 2022-12-30 22:48:22 +02:00
Oleg A
ae534298e5
Migrate from aioredis to redis.asyncio (#1074)
* chore: migrate from aioredis to redis.asyncio

* chore: add tests for RedisStorage2
2022-12-04 03:08:26 +02:00
Dmitriprank
87c0458d95
Dev 2.x chat_type filter fix (#1027)
* Added missing params to chat shortcut functions create_invite_link, edit_invite_link

* Added missing ChatJoinRequest to check function of a ChatTypeFilter
2022-11-08 00:08:36 +02:00
Alex Root Junior
98ae85110d
Bump version 2022-11-06 10:01:36 +02:00
Alex Root Junior
1ec5db3e6a
Fixed dependencies 2022-11-06 09:55:36 +02:00
KatantDev
2e60f9fad6
Fix for groups without topics (#1062)
* Added check for is_topic_message

* Added check for is_topic_message

* Added check for is_topic_message

* Added check for is_topic_message

Co-authored-by: katant <katantdev@mail.ru>
2022-11-06 09:39:44 +02:00
Alex Root Junior
3b3f2fc9c5
Update README title 2022-11-06 04:39:42 +02:00
Alex Root Junior
65f08902f4
Bump requirements 2022-11-06 04:37:46 +02:00
Alex Root Junior
1243dd9861
Update version 2022-11-06 04:23:44 +02:00
Butvin Mihail
19e97de8cb
Fix Handler unregister (#1050)
Add checking for handler_obj.handler
2022-11-06 03:55:23 +02:00
Alex Root Junior
707988bf03
Added all new API methods 2022-11-06 03:54:16 +02:00
Alex Root Junior
93a425f528
Added native support of MagicFilter 2022-11-06 01:10:32 +02:00
KatantDev
27dea25c52
Added support for topics in Bot API 6.3 (#1061)
* Added support for topics in Bot API 6.3

* Added the field can_manage_topics

* Added new classes for topics

* Added is_forum field to Chat class

Co-authored-by: katant <katantdev@mail.ru>
2022-11-06 00:51:42 +02:00
Evgen Fil
8604ab7cd0
Add aiogram version field to feature request template (#1040)
* Add `aiogram version` field to feature request template

* Change `version` field type to dropdown
2022-10-23 01:24:15 +03:00
Dmitriprank
46909f4a29
Added missing params to chat shortcut functions create_invite_link, edit_invite_link (#1026) 2022-10-22 00:31:09 +03:00
Alex Root Junior
6bde23109b
Bump version 2022-10-02 20:00:07 +03:00
Andrew
d925ebf411
Refactor annotation style in handler.py | [Rework handler once (rejected)] (#996)
* Changed type annotation style to `typing.*` in dispatcher\handler.py

* Added a new argument `once` to the error handler registration that decides whether the following callback notifications should be made after a successful callback notification before in loop

* Revert "Added a new argument `once` to the error handler registration that decides whether the following callback notifications should be made after a successful callback notification before in loop"

This reverts commit 09448f1b71.
2022-10-02 19:49:43 +03:00
Andrew
4e78ce155b
Add field can_manage_video_chats to ChatMemberOwner (#1003)
* Add field `can_manage_video_chats` to ChatMemberOwner

* Add renamed_argument decorator

* Revert "Add renamed_argument decorator"

This reverts commit fecfa10928.

* Add new field to CHAT_MEMBER in dataset.py
2022-09-25 00:15:09 +03:00
Anton Zhukovskyi
95529aef18
update year range in license (#1001) 2022-09-18 17:00:42 +03:00
ENCRYPTED
95dc3fc533
Fixed get_custom_emoji_stickers method (#1002)
* Fixed possible incorrect escaping of list[str].

By default if you call str() on collection python will escape strings inside of it using single quotes, which will cause "Can't parse custom emoji identifiers json object" error when calling getCustomEmojiStickers.
json.dumps() escapes strings by double quotes so no error occurs.

* get_custom_emoji_stickers docstring fix

* Revert compose_data changes

* Correctly fixed get_custom_emoji_stickers method
2022-09-18 16:59:25 +03:00
Oleg A
e065285857
fix: recover tests (#1004)
- applied pytest_async;
- fixed requirements;
- minor typos;
2022-09-18 15:32:42 +03:00
Nikita
96ebee26e4
Refactor: inline keboard row (#980)
* Refactor: just removed some bad code...

* Fix: tuple to list

* FIx: type error

* Update aiogram/types/inline_keyboard.py

Co-authored-by: Evgen Fil <evgfilim1@yandex.ru>

Co-authored-by: Evgen Fil <evgfilim1@yandex.ru>
2022-08-30 01:24:50 +03:00
Nikita Sychev
87a8b50949
Add IDFilter support for ChatJoinRequest events (#983) 2022-08-30 01:24:22 +03:00
Alex Root Junior
7214ba2f4b
Update README.md 2022-08-24 00:41:42 +03:00
Alex Root Junior
4aba5b194d
Update README.rst 2022-08-24 00:40:13 +03:00
Alex Root Junior
4519b37fc8
Bump version 2022-08-14 18:31:04 +03:00
Alex Root Junior
a0b5aa299d
Merge branch 'dev-2.x' 2022-08-14 18:30:42 +03:00
Andrey Tikhonov
c43ff9b6f9
Patch 2 (#977)
* Fix filtering skip_patterns

* cache skip actions

* fix item' is not defined, add tests
2022-08-14 18:29:35 +03:00
Alex Root Junior
92ea40c9f9
Merge branch 'dev-2.x' 2022-08-13 23:50:47 +03:00
Andrey Tikhonov
d5654068b1
Fix filtering skip_patterns (#868)
* Fix filtering skip_patterns

* cache skip actions
2022-08-13 23:49:23 +03:00
Dmitry
016a8d3c6c
Update mongo.py (#857)
TypeError: to_list() missing 1 required positional argument: 'length'
2022-08-13 23:47:02 +03:00