Class SendMessageResult

java.lang.Object
com.github.jamesnetherton.zulip.client.api.message.SendMessageResult

public class SendMessageResult extends Object
Defines the result of sending a Zulip message.
  • Constructor Details

  • Method Details

    • getId

      public long getId()
      Gets the id of the sent message.
      Returns:
      The id of the sent message
    • getMessageUrl

      public String getMessageUrl()
      Gets a URL that links directly to the sent message within its conversation. Requires Zulip 13 or later.
      Returns:
      The URL of the sent message, or null if the server does not provide it
    • getMessageLink

      public String getMessageLink()
      Gets a Markdown link to the sent message within its conversation, matching the web app's "Copy link to message" feature. Requires Zulip 13 or later.
      Returns:
      The Markdown link to the sent message, or null if the server does not provide it