java.lang.Object
it.auties.whatsapp.model.message.server.DeviceSentMessage
- All Implemented Interfaces:
it.auties.protobuf.base.ProtobufMessage
,Message
,ServerMessage
A model class that represents a message that refers to a message sent by the device paired with
the active WhatsappWeb session.
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate String
The unique identifier that this message update regards.private MessageContainer
The message container that this object wraps.private String
The hash of the destination chat -
Constructor Summary
ConstructorDescriptionDeviceSentMessage
(String destinationJid, MessageContainer message, String phash) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
The unique identifier that this message update regards.destinationJid
(String destinationJid) The unique identifier that this message update regards.boolean
int
hashCode()
message()
The message container that this object wraps.message
(MessageContainer message) The message container that this object wraps.phash()
The hash of the destination chatThe hash of the destination chattoString()
type()
Return message typeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface it.auties.whatsapp.model.message.model.ServerMessage
category
-
Field Details
-
destinationJid
The unique identifier that this message update regards. -
message
The message container that this object wraps. -
phash
The hash of the destination chat
-
-
Constructor Details
-
DeviceSentMessage
-
DeviceSentMessage
public DeviceSentMessage()
-
-
Method Details
-
type
Description copied from interface:Message
Return message type -
builder
-
destinationJid
The unique identifier that this message update regards. -
message
The message container that this object wraps. -
phash
The hash of the destination chat -
destinationJid
The unique identifier that this message update regards.- Returns:
this
.
-
message
The message container that this object wraps.- Returns:
this
.
-
phash
The hash of the destination chat- Returns:
this
.
-
equals
-
hashCode
public int hashCode() -
toString
-