java.lang.Object
it.auties.whatsapp.model.poll.PollUpdate
- All Implemented Interfaces:
it.auties.protobuf.base.ProtobufMessage
A model class that represents metadata about a
PollUpdateMessage
Not currently used, so it's
package private-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate MessageKey
The message keyprivate long
The timestampprivate PollUpdateEncryptedOptions
The vote -
Constructor Summary
ConstructorDescriptionPollUpdate
(MessageKey pollUpdateMessageKey, PollUpdateEncryptedOptions vote, long senderTimestampMilliseconds) -
Method Summary
Modifier and TypeMethodDescriptionstatic PollUpdate.PollUpdateBuilder
builder()
protected boolean
boolean
int
hashCode()
The message keypollUpdateMessageKey
(MessageKey pollUpdateMessageKey) The message keylong
The timestampsenderTimestampMilliseconds
(long senderTimestampMilliseconds) The timestamptoString()
vote()
The voteThe vote
-
Field Details
-
pollUpdateMessageKey
The message key -
vote
The vote -
senderTimestampMilliseconds
private long senderTimestampMillisecondsThe timestamp
-
-
Constructor Details
-
PollUpdate
public PollUpdate(MessageKey pollUpdateMessageKey, PollUpdateEncryptedOptions vote, long senderTimestampMilliseconds)
-
-
Method Details
-
builder
-
pollUpdateMessageKey
The message key -
vote
The vote -
senderTimestampMilliseconds
public long senderTimestampMilliseconds()The timestamp -
pollUpdateMessageKey
The message key- Returns:
this
.
-
vote
The vote- Returns:
this
.
-
senderTimestampMilliseconds
The timestamp- Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-