aboutsummaryrefslogtreecommitdiff
path: root/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'main.py')
-rw-r--r--main.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/main.py b/main.py
index 68400cd..1554c78 100644
--- a/main.py
+++ b/main.py
@@ -312,14 +312,14 @@ async def guest_middleware(handler, event, data):
]
)
reply_markup = InlineKeyboardMarkup(inline_keyboard=[
- [InlineKeyboardButton(text="новый стиль", callback_data=f"set_markdown%{user_id}%new")],
- [InlineKeyboardButton(text="старый стиль", callback_data=f"set_markdown%{user_id}%old")],
+ [InlineKeyboardButton(text="новый стиль", callback_data=f"new_md%{user_id}")],
+ [InlineKeyboardButton(text="старый стиль", callback_data=f"old_md%{user_id}")],
]
)
if event.guest_message:
await g_answer(data, message, alloh_one_text, reply_markup=reply_markup_url)
elif event.message:
- await message.reply_rich(InputRichMessage(markdown="# ало\n```\nкак дела\n```"))
+ await message.reply_rich(InputRichMessage(markdown="# новый крутой стилёк\n*da*\n```\nтестовое сообщение врат\n```"))
await message.answer(alloh_text, reply_markup=reply_markup)
return