Skip to content

Commit

Permalink
feat: add add_cancel_button function to inline.core
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladimir Kul'kov committed Mar 16, 2024
1 parent 39344be commit ba23564
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions project/{{project_name}}/src/bot/keyboards/inline/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,7 @@ def get_keyboard() -> InlineKeyboardMarkup:
callback_data=KeyboardCallback(action=Actions.ACTION).pack()
))
return builder.as_markup()


def add_cancel_button(builder: InlineKeyboardBuilder) -> None:
builder.row(cancel_button)

0 comments on commit ba23564

Please sign in to comment.