Add KeyboardButtonPollTypeType enum (#1398)

* Add KeyboardButtonPollTypeType enum

A new enum, KeyboardButtonPollType, has been added and documented. This enum holds types of polls that can be created and sent when the corresponding button is pressed. It is now imported and included in the aiogram enums documentation.

* Added changelog
This commit is contained in:
Alex Root Junior 2024-01-27 18:04:05 +02:00 committed by GitHub
parent eeafe4696c
commit d3c63797b0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 33 additions and 0 deletions

View file

@ -21,6 +21,7 @@ Here is list of all available enums:
encrypted_passport_element
inline_query_result_type
input_media_type
keyboard_button_poll_type_type
mask_position_point
menu_button_type
message_entity_type

View file

@ -0,0 +1,9 @@
##########################
KeyboardButtonPollTypeType
##########################
.. automodule:: aiogram.enums.keyboard_button_poll_type_type
:members:
:member-order: bysource
:undoc-members: True