Commit graph

24 commits

Author SHA1 Message Date
Alex Root Junior
dc235c66c2 Merge branch 'dev-2.x'
# Conflicts:
#	aiogram/__init__.py
2020-11-08 18:26:37 +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
Alex Root Junior
703dd7fabd Fix tests and bump dependencies 2020-09-13 23:25:27 +03:00
Alex Root Junior
7c8006d742 #262: Fix aiohttp-socks version in setup.py 2020-01-23 22:49:35 +02:00
Alex Root Junior
a2f4f193c5 Update setup.py 2020-01-01 17:14:54 +02:00
Alex Root Junior
b88ae7a435 library -> framework 2019-10-14 16:06:35 +03:00
Alex Root Junior
760dc51e96 Fix "Cannot install aiogram from tar.gz archive #84" 2018-11-25 18:32:58 +02:00
Alex Root Junior
7a55c040ee Write docs and small fixes. 2018-09-07 21:24:13 +03:00
Alex Root Junior
8086a120c2 Try to use contextvars (partial) 2018-06-23 17:39:24 +03:00
Alex Root Junior
b946caabce Fix classifiers list. 2018-05-11 00:27:18 +03:00
Alex Root Junior
dccaae4e9c Update setup.py. Remove versions util. 2018-05-02 13:45:47 +03:00
Alex Root Junior
8f9240f7ea Something strange. ModuleNotFoundError is not defined when script executed via pip. 2018-04-19 03:55:33 +03:00
Alex Root Junior
41c764971b Use find_packages() instead of for PackageFinder.find() in setup.py 2018-04-15 04:12:24 +03:00
Alex Root Junior
8d3a43c17d Fix setup.py for pip 10.0.0 2018-04-14 20:51:14 +03:00
Alex Root Junior
77867fe109 Use setuptools instead of distutils. (no) 2018-04-09 00:31:28 +03:00
Alex Root Junior
f3f9b3c27a Check python version in setup.py 2018-02-22 02:11:29 +02:00
Alex Root Junior
26d5ff4463 Fix packages list. 2018-01-27 22:44:46 +02:00
Alex Root Junior
e0e058e943 Update setup script and requirements list. 2018-01-27 09:54:19 +02:00
Suren Khorenyan
3a7cb02acd Is a pretty simple... 2018-01-23 17:02:52 +03:00
Alex Root Junior
29364cc2d9 Change information about repo. (Migrate from Bitbucket to Github)
Yep. I hate Github, but it opens more prospects for the promotion of the library.
2017-11-19 00:39:25 +02:00
Alex Root Junior
a030be2d15 Auto-change development status classifier 2017-09-16 20:29:34 +03:00
Alex Root Junior
7e53111773 Update setup.py 2017-09-12 00:29:04 +03:00
Alex Root Junior
44adcac64e Merge from default and change version and readme.rst 2017-06-03 12:33:45 +03:00
Alex Root Junior
3a2fafae2b Initial commit 2017-05-19 19:11:42 +03:00