from aiogram import Bot, Dispatcher, executor, types
from config import TOKEN_API
bot = Bot(token=TOKEN_API, parse_mode="HTML")
dp = Dispatcher(bot=bot)
@dp.message_handler(commands=["start"])
async def cmd_start(message: types.Message) -> None:
await bot.send_message(
chat_id=message.from_user.id,
text="Это сообщение нельзя скопировать.",
protect_content=True
)
def main():
executor.start_polling(
dispatcher=dp,
skip_updates=True
)
if __name__ == "__main__":
main()