change message on edit bot message request

reason: notify user why messages that use media group is not complatible
with message editing (it is compatible if media count is <= than in
editable, but not implemented in bot and potentially will not be implemented at all)
This commit is contained in:
Akulij 2025-04-30 19:23:54 +03:00
parent 64641d4101
commit b9895f4e95

View File

@ -254,8 +254,11 @@ async fn edit_msg_cmd_handler(
.await?; .await?;
bot.send_message( bot.send_message(
msg.chat.id, msg.chat.id,
"Ok, now you have to send message text (formatting supported)", "Ok, now you have to send message text (formatting supported)\n\
) <b>Notice:</b> 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?; .await?;
} }
None => { None => {