mirror of https://github.com/coddrago/Heroku
[+] copy button
parent
ee9d063282
commit
bff20410e7
|
@ -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"]
|
||||||
|
)
|
||||||
)
|
)
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue