aiogram/examples
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
..
data Add example for media group. 2017-11-21 20:33:22 +02:00
locales Refactor examples/i18n_example.py 2019-08-10 17:55:39 +03:00
admin_filter_example.py Fix issues and rework AdminFilter 2019-08-08 20:53:52 +05:00
advanced_executor_example.py Fix all occurrences of adwanced in text 2019-09-12 10:33:24 +02:00
broadcast_example.py remove unnecessary loop definitions 2019-07-15 14:00:38 +07:00
callback_data_factory.py fixed type hints of callback_data (#400) 2020-09-13 22:09:43 +03:00
callback_data_factory_simple.py fixed type hints of callback_data (#400) 2020-09-13 22:09:43 +03:00
chat_type_filter.py feat: add ChatType builtin filter (#356) 2020-07-02 14:17:48 +03:00
check_user_language.py Refactor examples/check_user_language.py 2019-08-10 00:08:11 +03:00
echo_bot.py Replace .reply(reply=False) to .answer() in examples 2020-01-01 16:05:45 +02:00
finite_state_machine_example.py Some refactor 2019-08-10 00:08:11 +03:00
i18n_example.py I18n example patch (added docs and fixed typos) (#419) 2020-09-10 22:32:56 +03:00
id_filter_example.py Replace .reply(reply=False) to .answer() in examples 2020-01-01 16:05:45 +02:00
inline_bot.py Refactor examples/inline_bot.py 2019-08-10 20:17:03 +03:00
inline_keyboard_example.py Refactor examples/inline_keyboard_example.py 2019-08-10 21:55:52 +03:00
local_server.py Bot API 5.0 (#454) 2020-11-08 17:51:39 +02:00
media_group.py Micro refactor 2019-08-10 22:09:29 +03:00
middleware_and_antiflood.py Refactor examples/payments.py 2019-08-11 15:30:01 +03:00
payments.py Refactor examples/payments.py 2019-08-11 15:30:01 +03:00
proxy_and_emojize.py Refactor examples/proxy_and_emojize.py 2019-08-11 15:49:27 +03:00
regexp_commands_filter_example.py Refactor examples/regexp_commands_filter_example.py 2019-08-11 16:31:01 +03:00
regular_keyboard_example.py Refactor examples/regular_keyboard_example.py 2019-08-11 21:52:58 +03:00
text_filter_example.py Minor refactor examples/text_filter_example.py and examples/throtling_example.py 2019-08-11 22:02:36 +03:00
throttling_example.py Merge branch 'dev-2.x' into add-new-ways-throttle 2019-08-15 17:06:10 +03:00
webhook_example.py Refactor examples/webhook_example.py 2019-08-11 22:52:54 +03:00
webhook_example_old.py Rename old webhook example 2019-08-11 22:50:58 +03:00