From ad9c77f99aad6fbf92678eb8446153342c4bb089 Mon Sep 17 00:00:00 2001 From: JRoot Junior Date: Tue, 10 Feb 2026 23:19:24 +0200 Subject: [PATCH] Update source links for `ButtonStyle` documentation to reflect accurate API references --- .butcher/enums/ButtonStyle.yml | 5 ++++- aiogram/enums/button_style.py | 4 +++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.butcher/enums/ButtonStyle.yml b/.butcher/enums/ButtonStyle.yml index 7922d310..12833dde 100644 --- a/.butcher/enums/ButtonStyle.yml +++ b/.butcher/enums/ButtonStyle.yml @@ -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 diff --git a/aiogram/enums/button_style.py b/aiogram/enums/button_style.py index 6aeffd58..8f633e96 100644 --- a/aiogram/enums/button_style.py +++ b/aiogram/enums/button_style.py @@ -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"