Class SendMessageResult
java.lang.Object
com.github.jamesnetherton.zulip.client.api.message.SendMessageResult
Defines the result of sending a Zulip message.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlonggetId()Gets the id of the sent message.Gets a Markdown link to the sent message within its conversation, matching the web app's "Copy link to message" feature.Gets a URL that links directly to the sent message within its conversation.
-
Constructor Details
-
SendMessageResult
-
-
Method Details
-
getId
public long getId()Gets the id of the sent message.- Returns:
- The id of the sent message
-
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
nullif the server does not provide it
-
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
nullif the server does not provide it
-