Class StickerAction

java.lang.Object
it.auties.whatsapp.model.action.StickerAction
All Implemented Interfaces:
it.auties.protobuf.base.ProtobufMessage, Action

public final class StickerAction extends Object implements Action
  • Constructor Details

    • StickerAction

      public StickerAction(String url, byte[] fileEncSha256, byte[] mediaKey, String mimetype, int height, int width, String directPath, long fileLength, boolean favorite, Integer deviceIdHint)
  • Method Details

    • indexName

      public String indexName()
      Always throws an exception as this action cannot be serialized
      Specified by:
      indexName in interface Action
      Returns:
      an exception
    • builder

      public static StickerAction.StickerActionBuilder builder()
    • url

      public String url()
    • fileEncSha256

      public byte[] fileEncSha256()
    • mediaKey

      public byte[] mediaKey()
    • mimetype

      public String mimetype()
    • height

      public int height()
    • width

      public int width()
    • directPath

      public String directPath()
    • fileLength

      public long fileLength()
    • favorite

      public boolean favorite()
    • deviceIdHint

      public Integer deviceIdHint()
    • url

      public StickerAction url(String url)
      Returns:
      this.
    • fileEncSha256

      public StickerAction fileEncSha256(byte[] fileEncSha256)
      Returns:
      this.
    • mediaKey

      public StickerAction mediaKey(byte[] mediaKey)
      Returns:
      this.
    • mimetype

      public StickerAction mimetype(String mimetype)
      Returns:
      this.
    • height

      public StickerAction height(int height)
      Returns:
      this.
    • width

      public StickerAction width(int width)
      Returns:
      this.
    • directPath

      public StickerAction directPath(String directPath)
      Returns:
      this.
    • fileLength

      public StickerAction fileLength(long fileLength)
      Returns:
      this.
    • favorite

      public StickerAction favorite(boolean favorite)
      Returns:
      this.
    • deviceIdHint

      public StickerAction deviceIdHint(Integer deviceIdHint)
      Returns:
      this.
    • equals

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

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

      public String toString()
      Overrides:
      toString in class Object