This commit is contained in:
2022-03-18 21:25:50 +02:00
commit 2baff4118e
28 changed files with 573 additions and 0 deletions

View File

View File

@@ -0,0 +1,18 @@
from aiogram import types
from aiogram.types import InlineKeyboardButton, InlineKeyboardMarkup
def verify_button(user: types.User, bot_username: str) -> InlineKeyboardMarkup:
return InlineKeyboardMarkup(
inline_keyboard=[
[
InlineKeyboardButton(
"Подтвердить",
url="https://t.me/{bot}?start={user_id}".format(
bot=bot_username,
user_id=user.id
)
)
]
]
)