Class PollUpdateEncryptedMetadata

java.lang.Object
it.auties.whatsapp.model.poll.PollUpdateEncryptedMetadata
All Implemented Interfaces:
it.auties.protobuf.base.ProtobufMessage

public class PollUpdateEncryptedMetadata extends Object implements it.auties.protobuf.base.ProtobufMessage
A model class that represents the cypher data to decode a PollUpdateMessage
  • Constructor Details

    • PollUpdateEncryptedMetadata

      public PollUpdateEncryptedMetadata(byte[] payload, byte[] iv)
  • Method Details

    • builder

    • payload

      public byte[] payload()
      The bytes of the payload, decoded internally by the message handler
    • iv

      public byte[] iv()
      The bytes of the iv, used to decode the payload internally in the message handler
    • payload

      public PollUpdateEncryptedMetadata payload(byte[] payload)
      The bytes of the payload, decoded internally by the message handler
      Returns:
      this.
    • iv

      public PollUpdateEncryptedMetadata iv(byte[] iv)
      The bytes of the iv, used to decode the payload internally in the message handler
      Returns:
      this.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object