java.lang.Object
it.auties.whatsapp.model.action.StickerAction
- All Implemented Interfaces:
it.auties.protobuf.base.ProtobufMessage
,Action
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionStickerAction
(String url, byte[] fileEncSha256, byte[] mediaKey, String mimetype, int height, int width, String directPath, long fileLength, boolean favorite, Integer deviceIdHint) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
deviceIdHint
(Integer deviceIdHint) directPath
(String directPath) boolean
boolean
favorite()
favorite
(boolean favorite) byte[]
fileEncSha256
(byte[] fileEncSha256) long
fileLength
(long fileLength) int
hashCode()
int
height()
height
(int height) Always throws an exception as this action cannot be serializedbyte[]
mediaKey()
mediaKey
(byte[] mediaKey) mimetype()
toString()
url()
int
width()
width
(int width) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface it.auties.protobuf.base.ProtobufMessage
isValueBased, toValue
-
Constructor Details
-
StickerAction
-
-
Method Details
-
indexName
Always throws an exception as this action cannot be serialized -
builder
-
url
-
fileEncSha256
public byte[] fileEncSha256() -
mediaKey
public byte[] mediaKey() -
mimetype
-
height
public int height() -
width
public int width() -
directPath
-
fileLength
public long fileLength() -
favorite
public boolean favorite() -
deviceIdHint
-
url
- Returns:
this
.
-
fileEncSha256
- Returns:
this
.
-
mediaKey
- Returns:
this
.
-
mimetype
- Returns:
this
.
-
height
- Returns:
this
.
-
width
- Returns:
this
.
-
directPath
- Returns:
this
.
-
fileLength
- Returns:
this
.
-
favorite
- Returns:
this
.
-
deviceIdHint
- Returns:
this
.
-
equals
-
hashCode
public int hashCode() -
toString
-