From ebb3c6c3e46ab695671ed1c628341f92e8ed669c Mon Sep 17 00:00:00 2001 From: Akulij Date: Wed, 30 Apr 2025 19:23:54 +0300 Subject: [PATCH] change message on edit bot message request reason: notify user why messages that use media group is not complatible with message editing (it is compbatible if media count is <= than in editable, but not implemented in bot and potentially will not be implemented at all) --- src/main.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index 59806fc..e52fcdb 100644 --- a/src/main.rs +++ b/src/main.rs @@ -254,8 +254,11 @@ async fn edit_msg_cmd_handler( .await?; bot.send_message( msg.chat.id, - "Ok, now you have to send message text (formatting supported)", - ) + "Ok, now you have to send message text (formatting supported)\n\ + Notice: if this message supposed to replace message (tg shows them as edited) \ + or be raplaced, do NOT send message with multiple media, only single photo, video etc. \ + To get more information about why, see in /why_media_group", + ).parse_mode(ParseMode::Html) .await?; } None => {