[+] 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, InlineKeyboardMarkup,
InputFile, InputFile,
WebAppInfo, WebAppInfo,
CopyTextButton,
InputMediaAnimation, InputMediaAnimation,
InputMediaAudio, InputMediaAudio,
InputMediaDocument, InputMediaDocument,
@ -191,7 +192,9 @@ class Utils(InlineUnit):
line += [ line += [
InlineKeyboardButton( InlineKeyboardButton(
text=button["text"], text=button["text"],
copy = button["copy"] copy_text=CopyTextButton(
text=button["copy"]
)
) )
] ]