[+] copy button

pull/138/head
ZetGo | Aleksej K. 2025-05-24 01:43:10 +03:00
parent ee9d063282
commit bff20410e7
1 changed files with 4 additions and 1 deletions

View File

@ -28,6 +28,7 @@ from aiogram.types import (
InlineKeyboardMarkup,
InputFile,
WebAppInfo,
CopyTextButton,
InputMediaAnimation,
InputMediaAudio,
InputMediaDocument,
@ -191,7 +192,9 @@ class Utils(InlineUnit):
line += [
InlineKeyboardButton(
text=button["text"],
copy = button["copy"]
copy_text=CopyTextButton(
text=button["copy"]
)
)
]