diff --git a/pom.xml b/pom.xml index 5be605b..a421345 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ dev.struchkov.godfather.telegram telegram-bot - 0.0.38 + 0.0.39 pom diff --git a/telegram-consumer/pom.xml b/telegram-consumer/pom.xml index 245016b..0102a0d 100644 --- a/telegram-consumer/pom.xml +++ b/telegram-consumer/pom.xml @@ -5,7 +5,7 @@ telegram-bot dev.struchkov.godfather.telegram - 0.0.38 + 0.0.39 4.0.0 diff --git a/telegram-consumer/telegram-consumer-main/pom.xml b/telegram-consumer/telegram-consumer-main/pom.xml index ad0adbc..284b400 100644 --- a/telegram-consumer/telegram-consumer-main/pom.xml +++ b/telegram-consumer/telegram-consumer-main/pom.xml @@ -5,7 +5,7 @@ dev.struchkov.godfather.telegram telegram-consumer - 0.0.38 + 0.0.39 4.0.0 diff --git a/telegram-consumer/telegram-consumer-main/src/main/java/dev/struchkov/godfather/telegram/main/consumer/MessageMailConvert.java b/telegram-consumer/telegram-consumer-main/src/main/java/dev/struchkov/godfather/telegram/main/consumer/MessageMailConvert.java index dbcc34e..080a230 100644 --- a/telegram-consumer/telegram-consumer-main/src/main/java/dev/struchkov/godfather/telegram/main/consumer/MessageMailConvert.java +++ b/telegram-consumer/telegram-consumer-main/src/main/java/dev/struchkov/godfather/telegram/main/consumer/MessageMailConvert.java @@ -127,8 +127,8 @@ public final class MessageMailConvert { private static Optional convertEntity(Message message, MessageEntity entity) { switch (entity.getType()) { - case "url" -> { - return Optional.of(new LinkAttachment(entity.getText())); + case "text_link" -> { + return Optional.of(new LinkAttachment(entity.getUrl())); } case "bot_command" -> { final String commandValue = entity.getText(); diff --git a/telegram-consumer/telegram-consumer-quarkus/pom.xml b/telegram-consumer/telegram-consumer-quarkus/pom.xml index 97c53e5..4aeb4a3 100644 --- a/telegram-consumer/telegram-consumer-quarkus/pom.xml +++ b/telegram-consumer/telegram-consumer-quarkus/pom.xml @@ -5,7 +5,7 @@ dev.struchkov.godfather.telegram telegram-consumer - 0.0.38 + 0.0.39 4.0.0 diff --git a/telegram-consumer/telegram-consumer-simple/pom.xml b/telegram-consumer/telegram-consumer-simple/pom.xml index 6bd364c..71298b7 100644 --- a/telegram-consumer/telegram-consumer-simple/pom.xml +++ b/telegram-consumer/telegram-consumer-simple/pom.xml @@ -5,7 +5,7 @@ dev.struchkov.godfather.telegram telegram-consumer - 0.0.38 + 0.0.39 4.0.0 diff --git a/telegram-context/pom.xml b/telegram-context/pom.xml index 869fb26..b7dce99 100644 --- a/telegram-context/pom.xml +++ b/telegram-context/pom.xml @@ -5,7 +5,7 @@ telegram-bot dev.struchkov.godfather.telegram - 0.0.38 + 0.0.39 4.0.0 diff --git a/telegram-context/telegram-context-main/pom.xml b/telegram-context/telegram-context-main/pom.xml index 5529c9f..f9f6a24 100644 --- a/telegram-context/telegram-context-main/pom.xml +++ b/telegram-context/telegram-context-main/pom.xml @@ -5,7 +5,7 @@ dev.struchkov.godfather.telegram telegram-context - 0.0.38 + 0.0.39 4.0.0 diff --git a/telegram-context/telegram-context-quarkus/pom.xml b/telegram-context/telegram-context-quarkus/pom.xml index e5bea5f..e409368 100644 --- a/telegram-context/telegram-context-quarkus/pom.xml +++ b/telegram-context/telegram-context-quarkus/pom.xml @@ -5,7 +5,7 @@ dev.struchkov.godfather.telegram telegram-context - 0.0.38 + 0.0.39 4.0.0 diff --git a/telegram-context/telegram-context-simple/pom.xml b/telegram-context/telegram-context-simple/pom.xml index 6fa07b1..ebb41d7 100644 --- a/telegram-context/telegram-context-simple/pom.xml +++ b/telegram-context/telegram-context-simple/pom.xml @@ -5,7 +5,7 @@ telegram-context dev.struchkov.godfather.telegram - 0.0.38 + 0.0.39 4.0.0 diff --git a/telegram-core/pom.xml b/telegram-core/pom.xml index 4a77900..46bfec2 100644 --- a/telegram-core/pom.xml +++ b/telegram-core/pom.xml @@ -5,7 +5,7 @@ dev.struchkov.godfather.telegram telegram-bot - 0.0.38 + 0.0.39 telegram-core-main diff --git a/telegram-core/telegram-core-main/pom.xml b/telegram-core/telegram-core-main/pom.xml index bcf871b..873587b 100644 --- a/telegram-core/telegram-core-main/pom.xml +++ b/telegram-core/telegram-core-main/pom.xml @@ -5,7 +5,7 @@ dev.struchkov.godfather.telegram telegram-core - 0.0.38 + 0.0.39 4.0.0 diff --git a/telegram-core/telegram-core-quarkus/pom.xml b/telegram-core/telegram-core-quarkus/pom.xml index e55f7ff..4adf251 100644 --- a/telegram-core/telegram-core-quarkus/pom.xml +++ b/telegram-core/telegram-core-quarkus/pom.xml @@ -5,7 +5,7 @@ telegram-core dev.struchkov.godfather.telegram - 0.0.38 + 0.0.39 4.0.0 diff --git a/telegram-core/telegram-core-simple/pom.xml b/telegram-core/telegram-core-simple/pom.xml index 72a036c..b36e095 100644 --- a/telegram-core/telegram-core-simple/pom.xml +++ b/telegram-core/telegram-core-simple/pom.xml @@ -5,7 +5,7 @@ dev.struchkov.godfather.telegram telegram-core - 0.0.38 + 0.0.39 4.0.0 diff --git a/telegram-domain/pom.xml b/telegram-domain/pom.xml index 29d0f52..c5b99cc 100644 --- a/telegram-domain/pom.xml +++ b/telegram-domain/pom.xml @@ -5,7 +5,7 @@ dev.struchkov.godfather.telegram telegram-bot - 0.0.38 + 0.0.39 4.0.0 diff --git a/telegram-sender/pom.xml b/telegram-sender/pom.xml index 0f40b04..89392c2 100644 --- a/telegram-sender/pom.xml +++ b/telegram-sender/pom.xml @@ -5,7 +5,7 @@ dev.struchkov.godfather.telegram telegram-bot - 0.0.38 + 0.0.39 4.0.0 diff --git a/telegram-sender/telegram-sender-main/pom.xml b/telegram-sender/telegram-sender-main/pom.xml index 93653bd..3b86df2 100644 --- a/telegram-sender/telegram-sender-main/pom.xml +++ b/telegram-sender/telegram-sender-main/pom.xml @@ -5,7 +5,7 @@ dev.struchkov.godfather.telegram telegram-sender - 0.0.38 + 0.0.39 4.0.0 diff --git a/telegram-sender/telegram-sender-quarkus/pom.xml b/telegram-sender/telegram-sender-quarkus/pom.xml index b21c0d5..93b014c 100644 --- a/telegram-sender/telegram-sender-quarkus/pom.xml +++ b/telegram-sender/telegram-sender-quarkus/pom.xml @@ -5,7 +5,7 @@ dev.struchkov.godfather.telegram telegram-sender - 0.0.38 + 0.0.39 4.0.0 diff --git a/telegram-sender/telegram-sender-simple/pom.xml b/telegram-sender/telegram-sender-simple/pom.xml index 2bf0302..8edb693 100644 --- a/telegram-sender/telegram-sender-simple/pom.xml +++ b/telegram-sender/telegram-sender-simple/pom.xml @@ -5,7 +5,7 @@ dev.struchkov.godfather.telegram telegram-sender - 0.0.38 + 0.0.39 4.0.0 diff --git a/telegram-simple/pom.xml b/telegram-simple/pom.xml index e687ca6..f4a95b6 100644 --- a/telegram-simple/pom.xml +++ b/telegram-simple/pom.xml @@ -5,7 +5,7 @@ dev.struchkov.godfather.telegram telegram-bot - 0.0.38 + 0.0.39 4.0.0