Исправление форматирования сообщений
This commit is contained in:
parent
905e13053e
commit
ef162456f1
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user