Commit graph

122 commits

Author SHA1 Message Date
Alex Root Junior
1243dd9861
Update version 2022-11-06 04:23:44 +02:00
Alex Root Junior
11d2e6f31a
Added full support of Bot API 6.2 2022-08-13 23:01:10 +03:00
Alex Root Junior
cdb6e2b7df
Bump version 2022-06-22 01:08:53 +03:00
Alex Root Junior
0e2beb24c2
Added support of Telegram BOt API 6.0 2022-04-16 18:09:58 +03: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
Oleg A
3d30581657 docs: bump tg api version 2021-12-30 16:07:09 +03:00
Oleg A
910e4d7784
Bot API 5.5 (#768)
* chore: bump version 5.5

* feat: add banChatSenderChat and unbanChatSenderChat

Added the methods banChatSenderChat and unbanChatSenderChat for banning and unbanning channel chats in supergroups and channels.

* feat: add has_private_forwards

Added the field has_private_forwards to the class Chat for private chats, which can be used to check the possibility of mentioning the user by their ID.

* feat: add has_protected_content

Added the field has_protected_content to the classes Chat and Message.

* feat: add is_automatic_forward

Added the field is_automatic_forward to the class Message.

* feat: add shortcuts

Added Chat.ban_sender_chat() and Chat.unban_sender_chat() shortcuts.

* docs: add new methods Source
2021-12-07 20:03:13 +02:00
Alex Root Junior
b190bbba19
Dev 2.x api 5.4 (#741)
* Added support of Bot API 5.4

* Bump version

* Added aliases for ChatJoinRequest object

* Create aiohttp session inside async function

* Try to fix compatibility with aiohttp 3.8

* Fixed compatibility with Python 3.10
2021-11-07 01:39:51 +02:00
Oleg A
3aa40224a2
aioredis v2 support (#649)
* feat: aioredis v1-v2 adapters #648

* chore: aioredis version without importlib

* chore: refactor _get_redis for adapter

* chore: proxy Redis methods

* chore: adapter.get_redis become public

* fix: add missed redis methods

* chore: separate get_adapter method

* chore: remove method proxy

* chore: add docstrings

* chore: add redis deprecations

* docs: correct redis storage version

* chore: encoding one style

* refactor: remove redundant import

* fix: int version
2021-08-05 22:34:15 +03:00
Oleg A
f18e4491c2
Telegram API 5.3 (#610)
* docs: api version update

* feat: personalized commands

* feat: custom placeholders

* refactor: ChatMember split

* fix: old names for ChatMemberStatus

* refactor: renamed kickChatMember to banChatMember

* style: align params

* refactor: renamed getChatMembersCount to getChatMemberCount (#614)

* feat: resolve ChatMember

* refactor: renamed BotCommandScopeTypes (similar to code style)

* refactor: resolve is a static method

* Construct BotCommandScope from type

* Make BotCommandScope classmethod instead of method

* Use classmethod for ChatMember resolve method

Co-authored-by: Hoi Dmytro <dmytro.hoi@gmail.com>
Co-authored-by: Alex Root Junior <jroot.junior@gmail.com>
2021-07-04 23:52:55 +03:00
Oleg A
ea28e2a77a
Telegram API 5.2 support (#572)
* feat: version number update

* feat: add InputInvoiceMessageContent type

* refactor: every param on a new line

* feat: add `max_tip_amount` and `suggested_tip_amounts` to `sendInvoice`

* feat: `start_parameter` of `sendInvoice` became optional

* refactor: reorder params

* feat: add `chat_type` to `InlineQuery`

* feat: add `VoiceChatScheduled`

* feat: add `voice_chat_scheduled` to `Message`

* fix: sendChatAction documentation update

* feat: add `record_voice` and `upload_voice` to `ChatActions`

* feat: allow sending invoices to group, supergroup and channel
2021-04-28 01:22:57 +03:00
Daniil Kovalenko
eed147e2e3
Add MediaGroup Filter (#528)
* Add MediaGroupFilter

* Update __init__.py

* Register MediaGroupFilter

* Update docs

* Fix a typo
2021-03-20 19:52:35 +02:00
Alex Root Junior
cce3a5fbd0 Bump badge 2021-03-14 21:36:18 +02:00
nacknime
adba85c4be
docs(install): typo "form" -> "from" (#498) 2021-01-22 09:49:46 +02:00
Felix Yan
1349554dfd
Update installation instruction for Arch (#490)
* Update installation instruction for Arch

The package is now available in the official repository.

* Add pacman command example

* Add an additional empty line
2021-01-12 22:31:08 +02:00
Oleg A
2b060d9ad4
Bot API 5.0 (#454)
* increased Telegram Bot API version

* AIOG-T-64 added logOut method

* AIOG-T-64 added logOut method test

* AIOG-T-64 logOut type annotation fix

* AIOG-T-65 added close (close_bot) method

* AIOG-T-65 old `close` method deprecation warn

* AIOG-T-65 `close_bot` test added

* AIOG-T-67 added ip_address param to set_webhook, updated docs

* updated deprecation text

Co-authored-by: Martin Winks <mpa@snejugal.ru>

* AIOG-T-69 param `drop_pending_updates` added in methods `setWebhook` and `deleteWebhook`

* AIOG-T-71 new `ChatLocation` class

* AIOG-T-70 updated `Chat` class: bio, linked chats, location

* AIOG-T-68 field `ip_address` added to class `WebhookInfo`

* AIOG-T-72 param `only_if_banned` added to `unbanChatMember` method

* AIOG-T-72 updated Chat.unban shortcut

* AIOG-T-73 field `file_name` added to `Audio` and `Video` classes

* AIOG-T-74 param `disable_content_type_detection` added in `sendDocument` method and `InputMediaDocument` class

* AIOG-T-75 Added the ability to pin messages in private chats (docs update)

* AIOG-T-76 Added the parameter message_id to the method unpinChatMessage to allow unpinning of the specific pinned message

* AIOG-T-77 Added the method unpinAllChatMessages, which can be used to unpin all pinned messages in a chat.

* AIOG-T-78 updated send_media_group description; added media qty check

* AIOG-T-80 field `live_period` added to `Location` class

* AIOG-T-81 Added support for live location heading

* AIOG-T-82 added the field proximity_alert_distance to the classes Location, InlineQueryResultLocation, InputLocationMessageContent; fixed heading in InputLocationMessageContent

* AIOG-T-82 added parameter proximity_alert_distance to the methods sendLocation and editMessageLiveLocation

* AIOG-T-83 Added the type ProximityAlertTriggered

* AIOG-T-83 Added field proximity_alert_triggered to the class Message

* AIOG-T-84 Added the field horizontal_accuracy to the classes Location, InlineQueryResultLocation, InputLocationMessageContent

* AIOG-T-84 Added the parameter horizontal_accuracy to the methods sendLocation and editMessageLiveLocation.

* Added live_period to InputLocationMessageContent (missed?)

* AIOG-T-85 Added the field sender_chat to the class Message

* AIOG-T-86 Added `is_anonymous` field to `chatMember` class

* AIOG-T-87 Added the parameter is_anonymous to the method promoteChatMember

* AIOG-T-89 Added the method `copyMessage`

* AIOG-T-90 Poll docs update

* AIOG-T-91 ability to manually specify text entities

* AIOG-T-92 Google Places as a venue API provider

* AIOG-T-93 Added the field allow_sending_without_reply to the methods

* AIOG-T-94 football and slot machine dice

* removed Optional

Co-authored-by: Ramzan Bekbulatov <bekbulatov.ramzan@ya.ru>

* Apply suggestions from code review

removed Optional

Co-authored-by: Ramzan Bekbulatov <bekbulatov.ramzan@ya.ru>

* Don't use deprecated Bot.close method from dispatcher (Replaced by session.close)

* Fix copyMessage method, update alias (with deprecation)
Fix imports

* AIOG-T-79: Easy way to use custom API server

* Update docs

* Bump requirements

* Rollback email

* AIOG-T-93 allow_sending_without_reply to send_message shortcuts

* AIOG-T-93 added allow_sending_without_reply to send_photo shortcuts

* AIOG-T-93 added allow_sending_without_reply to send_video shortcuts

* Union[type, None] -> Optional[type] refactoring

* AIOG-T-93 added allow_sending_without_reply to send_animation shortcuts

* added type hint to reply field

* AIOG-T-93 added allow_sending_without_reply to send_audio shortcuts

* AIOG-T-93 added allow_sending_without_reply to send_document shortcuts

* AIOG-T-93 added allow_sending_without_reply to send_sticker shortcuts

* AIOG-T-93 added allow_sending_without_reply to send_video_note shortcuts

* AIOG-T-93 added allow_sending_without_reply to send_voice shortcuts

* AIOG-T-93 added allow_sending_without_reply to send_location shortcuts

* AIOG-T-93 added allow_sending_without_reply to send_venue shortcuts

* AIOG-T-93 added allow_sending_without_reply to send_contact shortcuts

* AIOG-T-93 added allow_sending_without_reply to send_poll shortcuts

* AIOG-T-93 added allow_sending_without_reply to send_dice shortcuts

* AIOG-T-93 added allow_sending_without_reply to send_media_group shortcuts

* AIOG-T-92 added google_place_ to send_venue shortcuts

* AIOG-T-91 added entities to send_message shortcuts

* AIOG-T-91 added caption_entities to send_photo shortcuts

* AIOG-T-91 added caption_entities to send_video shortcuts

* AIOG-T-91 added caption_entities to send_animation shortcuts

* AIOG-T-91 added caption_entities to send_audio shortcuts

* AIOG-T-91 added caption_entities to send_document shortcuts

* AIOG-T-91 added caption_entities to send_voice shortcuts

* AIOG-T-91 added explanation_parse_mode to send_poll shortcuts

* AIOG-T-91 added entities to edit_message_text shortcuts

* AIOG-T-91 added caption_entities to edit_message_caption shortcuts

* fixed types.MessageEntity -> MessageEntity in docs

Co-authored-by: Martin Winks <mpa@snejugal.ru>
Co-authored-by: Ramzan Bekbulatov <bekbulatov.ramzan@ya.ru>
Co-authored-by: Alex Root Junior <jroot.junior@gmail.com>
2020-11-08 17:51:39 +02:00
Lamroy95
fc177b567f
Update quick_start.rst (#439)
Handler without filters catches only text messages
2020-11-08 17:45:39 +02:00
Alex Root Junior
7b33e5c68a Update docs 2020-09-14 22:56:11 +03:00
Lamroy95
fc5ccc9d5a
Fixed docs Quick start page code blocks (#417) 2020-09-10 22:33:25 +03:00
Egor
81b36bd192
feat: add ChatType builtin filter (#356)
* feat: ChatTypesFilter

* feat: add example of usage

* feat: docs

* fix: add import in filters/__init__

* fix: remove some of event_handlers

* fix

* fix imports

* fix: rename to ChatTypeFilter

* fix: rename argument to chat_type

fix: rename example file name

fix: str is container also lol. example fixed also

* fix: respect type hints

* fix: add warning with respect to type hint

* fix: use warnings instead of logging
2020-07-02 14:17:48 +03:00
Egor
a8dfe86358
feat: ForwardedMessage filter (#355)
* feat: ForwardedMessage filter
* fix: add tests
* fix: attr name
2020-06-10 23:07:55 +03:00
Alex Root Junior
50b5768759 AIOG-T-61 Bump version 2020-06-08 20:20:43 +03:00
Alex Root Junior
f1f65d2e77 i-AIOG-18 Update versions (readme, setup, etc.) 2020-04-25 22:54:44 +03:00
Jugal Kishore
577070c1d0
Update install.rst
Fix grammatical mistakes
2020-03-29 11:24:23 +05:30
Alex Root Junior
ad2bf96eb7 Bump API and framework versions 2020-01-23 23:21:49 +02:00
Alex Root Junior
5db726d758 Add IsSenderContact filter 2020-01-23 23:13:07 +02:00
Alex Root Junior
2323771cb9 Bump versions and URL's 2020-01-01 16:55:33 +02:00
Alex Root Junior
528e27b86e
Merge pull request #241 from aiogram/#238-deeplinking
#238 Deep linking feature
2019-12-03 17:25:19 +02:00
Oleg A
cf55ab7643 #195 aiogram is a framework 2019-11-24 22:13:31 +03:00
Oleg A
a42252b5c6 #238 Added deep linking feature 2019-11-24 00:40:11 +03:00
Evgeny Petrov
8117b0a77c
Replaced is_admin() with is_chat_admin() in filters example 2019-11-13 23:09:27 +03:00
eboshare
9a3c6f5ece Remove typo 2019-10-15 18:04:14 +04:00
eboshare
2ed98e566e Add aiohttp speedups
Add aiohttp[speedups] in instalation recomendations
Includes cchardet and aiodns.
2019-10-15 18:00:37 +04:00
Alex Root Junior
9610c698be Update installation docs page 2019-10-14 16:11:13 +03:00
Alex Root Junior
b88ae7a435 library -> framework 2019-10-14 16:06:35 +03:00
Alex Root Junior
7efa0fc27d Fix docs status shield 2019-10-06 23:30:24 +03:00
Alex Root Junior
20e51ac84a
Merge pull request #210 from Arwichok/is_reply
add IsReplyFilter
2019-10-06 23:24:33 +03:00
Arwichok
1cd78648cc Update docs/../filters.rst 2019-09-23 16:48:23 +03:00
Arwichok
496560ab0c Add IsReplyFilter to docs/../filters.rst 2019-09-23 16:32:18 +03:00
Alex Root Junior
35cf54078e
Merge pull request #209 from jr-minnaar/patch-1
Small typo in docs
2019-09-12 11:47:29 +03:00
JR Minnaar
384b5e5b9f Rename file to match example 2019-09-12 10:42:46 +02:00
JR Minnaar
1cdfa3e3c2 Fix all occurrences of adwanced in text 2019-09-12 10:33:24 +02:00
Rossouw Minnaar
a74efa311e Fix spelling 2019-09-09 11:13:42 +02:00
Evgen
0c1fc4b1dd
Add aiogram AUR package installation instructions 2019-08-19 00:11:05 +05:00
Alex Root Junior
9a30285d3b Update docs. 2019-08-17 00:08:04 +03:00
Alex Root Junior
23ceb1445e
Merge branch 'dev-2.x' into dev-2.x 2019-08-15 16:52:51 +03:00
birdi
9ea22a29fc fix docs 2019-08-12 14:16:05 +03:00
birdi
05bfb37e18 Add docs for deprecated 2019-08-10 23:52:25 +03:00
Arslan 'Ars2014' Sakhapov
c0e60f8706 Fix issues and rework AdminFilter 2019-08-08 20:53:52 +05:00
Alex Root Junior
14f273702b Bump version 2019-08-04 19:43:25 +03:00