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.
This commit is contained in:
JRoot Junior 2024-01-27 17:26:19 +02:00
parent eeafe4696c
commit 5d9456e77a
No known key found for this signature in database
GPG key ID: 738964250D5FF6E2
5 changed files with 32 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