Исправление форматирования сообщений

This commit is contained in:
Struchkov Mark 2024-01-22 11:05:43 +03:00
parent 905e13053e
commit ef162456f1
No known key found for this signature in database
GPG Key ID: A3F0AC3F0FA52F3C

View File

@ -25,6 +25,7 @@ import static dev.struchkov.bot.gitlab.telegram.utils.UnitName.DELETE_MESSAGE;
import static dev.struchkov.godfather.telegram.domain.keyboard.InlineKeyBoard.inlineKeyBoard; import static dev.struchkov.godfather.telegram.domain.keyboard.InlineKeyBoard.inlineKeyBoard;
import static dev.struchkov.godfather.telegram.domain.keyboard.button.SimpleButton.simpleButton; import static dev.struchkov.godfather.telegram.domain.keyboard.button.SimpleButton.simpleButton;
import static dev.struchkov.godfather.telegram.main.context.BoxAnswerPayload.DISABLE_WEB_PAGE_PREVIEW; import static dev.struchkov.godfather.telegram.main.context.BoxAnswerPayload.DISABLE_WEB_PAGE_PREVIEW;
import static dev.struchkov.godfather.telegram.main.context.BoxAnswerPayload.ENABLE_MARKDOWN;
import static dev.struchkov.haiti.utils.Checker.checkNotBlank; import static dev.struchkov.haiti.utils.Checker.checkNotBlank;
/** /**
@ -62,7 +63,8 @@ public class StartNotify {
simpleButton("Open Menu", "/start") simpleButton("Open Menu", "/start")
) )
) )
.payload(DISABLE_WEB_PAGE_PREVIEW, true) .payload(ENABLE_MARKDOWN)
.payload(DISABLE_WEB_PAGE_PREVIEW)
.build(); .build();
sending.send(boxAnswer); sending.send(boxAnswer);
sendNotice(); sendNotice();