Update source links for ButtonStyle documentation to reflect accurate API references

This commit is contained in:
JRoot Junior 2026-02-10 23:19:24 +02:00
parent 3994fdf5fb
commit ad9c77f99a
No known key found for this signature in database
GPG key ID: 738964250D5FF6E2
2 changed files with 7 additions and 2 deletions

View file

@ -2,7 +2,10 @@ name: ButtonStyle
description: |
This object represents a button style (inline- or reply-keyboard).
Source: https://core.telegram.org/bots/api#chat
Sources:
* https://core.telegram.org/bots/api#inlinekeyboardbutton
* https://core.telegram.org/bots/api#keyboardbutton
parse:
entity: InlineKeyboardButton
attribute: style

View file

@ -5,7 +5,9 @@ class ButtonStyle(str, Enum):
"""
This object represents a button style (inline- or reply-keyboard).
Source: https://core.telegram.org/bots/api#chat
Sources:
* https://core.telegram.org/bots/api#inlinekeyboardbutton
* https://core.telegram.org/bots/api#keyboardbutton
"""
DANGER = "danger"