ShopBot/keyboard/inline/operator/support.py

7 lines
287 B
Python
Raw Normal View History

2022-06-05 15:07:48 +03:00
from aiogram.types.inline_keyboard import InlineKeyboardMarkup, InlineKeyboardButton
def answer_btn(user_id: int, supp_id: int):
markup = InlineKeyboardMarkup()
markup.add(InlineKeyboardButton("Ответить", callback_data=f'support|{user_id}|{supp_id}'))
return markup