Class SendMessage


public class SendMessage extends SendText
Since:
1.0.0
Author:
Sergio del Amo
See Also:
  • Field Details

  • Constructor Details

    • SendMessage

      public SendMessage()
  • Method Details

    • getText

      @NonNull public @NonNull String getText()
      Returns:
      Text of the message to be sent.
    • setText

      public void setText(@NonNull @NonNull String text)
      Parameters:
      text - Text of the message to be sent.
    • getDisableWebPagePreview

      @Nullable public @Nullable Boolean getDisableWebPagePreview()
      Returns:
      Disables link previews for links in this message.
    • setDisableWebPagePreview

      public void setDisableWebPagePreview(@Nullable @Nullable Boolean disableWebPagePreview)
      Parameters:
      disableWebPagePreview - Disables link previews for links in this message.
    • toString

      public String toString()
      Overrides:
      toString in class Object