-
- All Implemented Interfaces:
-
java.io.Serializable
public final class ChatMessageSelection implements Serializable
Represents the selection of a message within a channel.
Implements Serializable to allow for saving and restoring the state across configuration changes.
-
-
Constructor Summary
Constructors Constructor Description ChatMessageSelection(String channelId, String messageId, String parentMessageId)
-
Method Summary
Modifier and Type Method Description final StringgetChannelId()The ID of the selected channel, or nullif no channel is selected.final StringgetMessageId()The ID of a specific message, or nullif navigating to a channel without a pre-selected message.final StringgetParentMessageId()The ID of the parent message (for threads), or nullif not in a thread.-
-
Method Detail
-
getChannelId
final String getChannelId()
The ID of the selected channel, or
nullif no channel is selected.
-
getMessageId
final String getMessageId()
The ID of a specific message, or
nullif navigating to a channel without a pre-selected message.
-
getParentMessageId
final String getParentMessageId()
The ID of the parent message (for threads), or
nullif not in a thread.
-
-
-
-