aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/model
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2023-01-12 11:46:40 +0300
committerGravatar Vitaly Takmazov2023-01-12 11:56:11 +0300
commite377357b00cdb151aa20d96a0ce7a5f1a8bbe9c9 (patch)
tree8e776a6705e71eb72e8ea48bb3d345bc0e96fa6c /src/main/java/com/juick/model
parent84f6e27f7e563bcb58815575546c52c944f0cd3e (diff)
Telegram: parse_mode=html
Diffstat (limited to 'src/main/java/com/juick/model')
-rw-r--r--src/main/java/com/juick/model/CommandResult.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main/java/com/juick/model/CommandResult.java b/src/main/java/com/juick/model/CommandResult.java
index cb96b80d..79e1af03 100644
--- a/src/main/java/com/juick/model/CommandResult.java
+++ b/src/main/java/com/juick/model/CommandResult.java
@@ -21,14 +21,14 @@ import java.util.Optional;
public class CommandResult {
private String text;
- private String markdown;
+ private String html;
private Message newMessage;
public String getText() {
return text;
}
- public String getMarkdown() {
- return markdown;
+ public String getHtml() {
+ return html;
}
public Optional<Message> getNewMessage() {
@@ -38,7 +38,7 @@ public class CommandResult {
CommandResult result = new CommandResult();
result.newMessage = newMessage;
result.text = text;
- result.markdown = markdown;
+ result.html = markdown;
return result;
}
public static CommandResult fromString(String text) {