diff options
author | Vitaly Takmazov | 2023-01-12 11:46:40 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2023-01-12 11:56:11 +0300 |
commit | e377357b00cdb151aa20d96a0ce7a5f1a8bbe9c9 (patch) | |
tree | 8e776a6705e71eb72e8ea48bb3d345bc0e96fa6c /src/main/java/com/juick/model/CommandResult.java | |
parent | 84f6e27f7e563bcb58815575546c52c944f0cd3e (diff) |
Telegram: parse_mode=html
Diffstat (limited to 'src/main/java/com/juick/model/CommandResult.java')
-rw-r--r-- | src/main/java/com/juick/model/CommandResult.java | 8 |
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) { |