mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Add ButtonStyle enum to represent button styles in the Telegram API
This commit is contained in:
parent
45c4c2bee5
commit
8783c4922e
5 changed files with 34 additions and 0 deletions
9
.butcher/enums/ButtonStyle.yml
Normal file
9
.butcher/enums/ButtonStyle.yml
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
name: ButtonStyle
|
||||
description: |
|
||||
This object represents a button style (inline- or reply-keyboard).
|
||||
|
||||
Source: https://core.telegram.org/bots/api#chat
|
||||
parse:
|
||||
entity: InlineKeyboardButton
|
||||
attribute: style
|
||||
regexp: "'([a-z]+)'"
|
||||
Loading…
Add table
Add a link
Reference in a new issue