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

@ -0,0 +1,8 @@
name: KeyboardButtonPollTypeType
description: |
This object represents type of a poll, which is allowed to be created and sent when the corresponding button is pressed.
Source: https://core.telegram.org/bots/api#keyboardbuttonpolltype
static:
QUIZ: "quiz"
REGULAR: "regular"