Files
waterfundbot/bot/app/keyboards.py
2023-11-12 22:43:47 +03:00

29 lines
632 B
Python
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

from telebot.types import (
InlineKeyboardButton as button,
InlineKeyboardMarkup as keyboard,
)
def setup() -> keyboard:
return keyboard(
keyboard=[
[button(text="💸 Стать участником", callback_data="register_group_member")],
]
)
def cancel() -> keyboard:
return keyboard(
keyboard=[
[button(text="❌ Отменить", callback_data="cancel")],
]
)
def fund_markup() -> keyboard:
return keyboard(
keyboard=[
[button(text="🏁 Завершить сбор", callback_data="close_fund")],
]
)