копируется текст в буфер обмена юзера ? хуя ты придумал, через апи ботов тг ты вряд-ли такое сделаешь
import asyncio from aiogram import Bot, Dispatcher, types from aiogram.types import InlineKeyboardMarkup, InlineKeyboardButton, CopyTextButton bot = Bot(token="bot_token") dp = Dispatcher() @dp.message() async def start_handler(message: types.Message): button = InlineKeyboardButton(text="Скопировать", copy_text=CopyTextButton(text="привет")) keyboard = InlineKeyboardMarkup(inline_keyboard=[[button]]) await message.answer("test", reply_markup=keyboard) async def main(): await dp.start_polling(bot) if __name__ == "__main__": asyncio.run(main()) Python import asyncio from aiogram import Bot, Dispatcher, types from aiogram.types import InlineKeyboardMarkup, InlineKeyboardButton, CopyTextButton bot = Bot(token="bot_token") dp = Dispatcher() @dp.message() async def start_handler(message: types.Message): button = InlineKeyboardButton(text="Скопировать", copy_text=CopyTextButton(text="привет")) keyboard = InlineKeyboardMarkup(inline_keyboard=[[button]]) await message.answer("test", reply_markup=keyboard) async def main(): await dp.start_polling(bot) if __name__ == "__main__": asyncio.run(main()) используется aiogram==3.20.0