Package 

Class ChatMessageSelection

  • 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.

    • Method Summary

      Modifier and Type Method Description
      final String getChannelId() The ID of the selected channel, or null if no channel is selected.
      final String getMessageId() The ID of a specific message, or null if navigating to a channel without a pre-selected message.
      final String getParentMessageId() The ID of the parent message (for threads), or null if not in a thread.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ChatMessageSelection

        ChatMessageSelection(String channelId, String messageId, String parentMessageId)
    • Method Detail

      • getChannelId

         final String getChannelId()

        The ID of the selected channel, or null if no channel is selected.

      • getMessageId

         final String getMessageId()

        The ID of a specific message, or null if navigating to a channel without a pre-selected message.

      • getParentMessageId

         final String getParentMessageId()

        The ID of the parent message (for threads), or null if not in a thread.