Class ReadReceiptUser

  • All Implemented Interfaces:

    
    public final class ReadReceiptUser
    
                        

    Read receipt user information.

    Contains the user ID and the time at which the user read the message.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final String userId
      private final Long timestamp
      private final Boolean isMentioned
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final String getUserId() user ID
      final Long getTimestamp() The time when this user read the message (Unix timestamp in milliseconds).
      final Boolean isMentioned() Whether this user was mentioned
      • Methods inherited from class java.lang.Object

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

      • ReadReceiptUser

        ReadReceiptUser()
    • Method Detail

      • getTimestamp

         final Long getTimestamp()

        The time when this user read the message (Unix timestamp in milliseconds). 0 indicates no read receipt was sent.

      • isMentioned

         final Boolean isMentioned()

        Whether this user was mentioned