From d9b5a28fa57b27ec52e834a0aff476b2dcd59a85 Mon Sep 17 00:00:00 2001 From: Struchkov Mark Date: Wed, 15 Feb 2023 22:55:49 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D0=B7=D0=BC=D0=B5=D0=BD=D0=B8=D0=BB=20?= =?UTF-8?q?=D1=81=D1=82=D0=B0=D1=80=D1=82=D0=BE=D0=B2=D0=BE=D0=B5=20=D1=81?= =?UTF-8?q?=D0=BE=D0=BE=D0=B1=D1=89=D0=B5=D0=BD=D0=B8=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../bot/gitlab/telegram/service/StartNotify.java | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/telegram-bot/src/main/java/dev/struchkov/bot/gitlab/telegram/service/StartNotify.java b/telegram-bot/src/main/java/dev/struchkov/bot/gitlab/telegram/service/StartNotify.java index 858bd08..e1556f8 100644 --- a/telegram-bot/src/main/java/dev/struchkov/bot/gitlab/telegram/service/StartNotify.java +++ b/telegram-bot/src/main/java/dev/struchkov/bot/gitlab/telegram/service/StartNotify.java @@ -4,6 +4,7 @@ import dev.struchkov.bot.gitlab.context.service.AppSettingService; import dev.struchkov.bot.gitlab.core.config.properties.AppProperty; import dev.struchkov.bot.gitlab.core.config.properties.PersonProperty; import dev.struchkov.godfather.main.domain.BoxAnswer; +import dev.struchkov.godfather.telegram.main.context.BoxAnswerPayload; import dev.struchkov.godfather.telegram.simple.context.service.TelegramSending; import jakarta.annotation.PostConstruct; import lombok.RequiredArgsConstructor; @@ -27,11 +28,14 @@ public class StartNotify { final BoxAnswer boxAnswer = BoxAnswer.builder() .recipientPersonId(personProperty.getTelegramId()) .message( - "Hello. I wish you a productive work day \uD83C\uDF40" + + "Hello \uD83D\uDC4B\nI wish you a productive day \uD83C\uDF40" + "\n-- -- -- -- --\n" + - "Version " + appProperty.getVersion() + - "\nDeveloper: [uPagge](https://mark.struchkov.dev)" - ).build(); + "\uD83E\uDD16 Bot Version " + appProperty.getVersion() + + "\n\uD83D\uDC68\u200D\uD83D\uDCBB️ Developer: [uPagge](https://mark.struchkov.dev)" + + "\n\uD83D\uDC1B Issue: [GitHub Issue](https://github.com/uPagge/gitlab-notification/issues)" + ) + .payload(BoxAnswerPayload.DISABLE_WEB_PAGE_PREVIEW, true) + .build(); sending.send(boxAnswer); }