java.lang.Object
it.auties.whatsapp.model.message.model.MessageReceipt
- All Implemented Interfaces:
it.auties.protobuf.model.ProtobufMessage,it.auties.protobuf.model.ProtobufObject
public final class MessageReceipt
extends Object
implements it.auties.protobuf.model.ProtobufMessage
A model that represents the receipt for a message
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the date when the message was deliveredReturns the date when the message was playedplayedTimestampSeconds(long playedTimestampSeconds) Sets the played timestampSecondsreadJids()Returns the date when the message was deliveredreadTimestampSeconds(long readTimestampSeconds) Sets the read timestampSeconds
-
Field Details
-
deliveredTimestampSeconds
-
readTimestampSeconds
-
playedTimestampSeconds
-
deliveredJids
-
readJids
-
-
Constructor Details
-
MessageReceipt
public MessageReceipt() -
MessageReceipt
-
-
Method Details
-
deliveredTimestampSeconds
-
deliveredTimestamp
Returns the date when the message was delivered- Returns:
- a non-null optional
-
readTimestampSeconds
-
readTimestamp
Returns the date when the message was delivered- Returns:
- a non-null optional
-
playedTimestampSeconds
-
playedTimestamp
Returns the date when the message was played- Returns:
- a non-null optional
-
deliveredJids
-
readJids
-
readTimestampSeconds
Sets the read timestampSeconds- Parameters:
readTimestampSeconds- the timestampSeconds- Returns:
- the same instance
-
playedTimestampSeconds
Sets the played timestampSeconds- Parameters:
playedTimestampSeconds- the timestampSeconds- Returns:
- the same instance
-