Class SendText

java.lang.Object
io.micronaut.chatbots.telegram.api.send.Send
io.micronaut.chatbots.telegram.api.send.SendText
Direct Known Subclasses:
SendCaption, SendMessage

public abstract class SendText extends Send
Since:
1.0.0
Author:
Sergio del Amo
  • Constructor Details

    • SendText

      protected SendText(String method)
  • Method Details

    • getParseMode

      @Nullable public @Nullable String getParseMode()
      Returns:
      Send Markdown or HTML, if you want Telegram apps to show bold, italic, fixed-width text or inline URLs in the media caption.
    • setParseMode

      public void setParseMode(@Nullable @Nullable String parseMode)
      Parameters:
      parseMode - Send Markdown or HTML, if you want Telegram apps to show bold, italic, fixed-width text or inline URLs in the media caption.