Module it.auties.whatsappweb4j
Package it.auties.whatsapp.model.info
Class MessageInfo.MessageInfoBuilder
java.lang.Object
it.auties.whatsapp.model.info.MessageInfo.MessageInfoBuilder
- Enclosing class:
- MessageInfo
-
Method Summary
Modifier and TypeMethodDescriptionbroadcast
(boolean broadcast) Broadcast.build()
businessPrivacyStatus
(BusinessPrivacyStatus businessPrivacyStatus) Business privacy statusbusinessVerifiedName
(String businessVerifiedName) Business verified nameclearMedia
(boolean clearMedia) Clear media This field is suppressed because this information is available from the message itselfduration
(int duration) Duration This field is suppressed because this information is available from the message itselfenableEphemeral
(boolean enableEphemeral) Enable ephemeral This field is suppressed because this information is available from the message itselfephemeralDuration
(int ephemeralDuration) Ephemeral duration This field is suppressed because this information is available from the message itselfephemeralOutOfSync
(boolean ephemeralOutOfSync) Ephemeral out of sync This field is suppressed because this information is available from the message itselfephemeralStartTimestamp
(long ephemeralStartTimestamp) Ephemeral start timestamp This field is suppressed because this information is available from the message itselffinalLiveLocation
(LiveLocationMessage finalLiveLocation) Final live location This field is suppressed because this information is available from the message itselffutureProofData
(String futureProofData) Upcoming dataignore
(boolean ignore) Whether this message should be ignored or counted as an unread messagekey
(@NonNull MessageKey key) The MessageKey of this messagemediaCiphertextSha256
(byte[] mediaCiphertextSha256) Media cipher This field is suppressed because this information is available from the message itselfMedia data This field is suppressed because this information is available from the message itselfmessage
(@NonNull MessageContainer message) The container of this messagemulticast
(boolean multicast) Multicast This field is suppressed because this information is available from the message itselfpaymentInfo
(PaymentInfo paymentInfo) PaymentInfophotoChange
(PhotoChange photoChange) Photo change This field is suppressed because this information is available from the message itselfpsaStatus
(PublicServiceAnnouncementStatus psaStatus) Public service announcement statusPush namequotedPaymentInfo
(PaymentInfo quotedPaymentInfo) Quoted payment infoquotedStickerData
(MediaData quotedStickerData) Media data This field is suppressed because this information is available from the message itselfreactions
(List<ReactionMessage> reactions) receipt
(MessageReceipt receipt) Message receiptThe sender of the messagesenderJid
(ContactJid senderJid) The jid of the senderstarred
(boolean starred) Whether this message is starredstatus
(@NonNull MessageStatus status) The global status of this messagestubParameters
(List<String> stubParameters) stubType
(MessageInfo.StubType stubType) The stub type of this message.timestampInSeconds
(long timestampInSeconds) The timestamp, that is the seconds sinceInstant.EPOCH
, when this message was senttoString()
urlNumber
(boolean urlNumber) Url number This field is suppressed because this information is available from the message itselfurlText
(boolean urlText) Url text This field is suppressed because this information is available from the message itself
-
Method Details
-
stubParameters
-
reactions
-
labels
-
key
The MessageKey of this message- Returns:
this
.
-
message
The container of this message- Returns:
this
.
-
timestampInSeconds
The timestamp, that is the seconds sinceInstant.EPOCH
, when this message was sent- Returns:
this
.
-
status
The global status of this message- Returns:
this
.
-
senderJid
The jid of the sender- Returns:
this
.
-
sender
The sender of the message- Returns:
this
.
-
ignore
Whether this message should be ignored or counted as an unread message- Returns:
this
.
-
starred
Whether this message is starred- Returns:
this
.
-
broadcast
Broadcast. This field is suppressed because this information is available from the message itself.- Returns:
this
.
-
pushName
Push name- Returns:
this
.
-
mediaCiphertextSha256
Media cipher This field is suppressed because this information is available from the message itself- Returns:
this
.
-
multicast
Multicast This field is suppressed because this information is available from the message itself- Returns:
this
.
-
urlText
Url text This field is suppressed because this information is available from the message itself- Returns:
this
.
-
urlNumber
Url number This field is suppressed because this information is available from the message itself- Returns:
this
.
-
stubType
The stub type of this message. This property is populated only if the message thatMessageInfo.message
wraps is aProtocolMessage
.- Returns:
this
.
-
clearMedia
Clear media This field is suppressed because this information is available from the message itself- Returns:
this
.
-
duration
Duration This field is suppressed because this information is available from the message itself- Returns:
this
.
-
paymentInfo
PaymentInfo- Returns:
this
.
-
finalLiveLocation
Final live location This field is suppressed because this information is available from the message itself- Returns:
this
.
-
quotedPaymentInfo
Quoted payment info- Returns:
this
.
-
ephemeralStartTimestamp
Ephemeral start timestamp This field is suppressed because this information is available from the message itself- Returns:
this
.
-
ephemeralDuration
Ephemeral duration This field is suppressed because this information is available from the message itself- Returns:
this
.
-
enableEphemeral
Enable ephemeral This field is suppressed because this information is available from the message itself- Returns:
this
.
-
ephemeralOutOfSync
Ephemeral out of sync This field is suppressed because this information is available from the message itself- Returns:
this
.
-
businessPrivacyStatus
public MessageInfo.MessageInfoBuilder businessPrivacyStatus(BusinessPrivacyStatus businessPrivacyStatus) Business privacy status- Returns:
this
.
-
businessVerifiedName
Business verified name- Returns:
this
.
-
mediaData
Media data This field is suppressed because this information is available from the message itself- Returns:
this
.
-
photoChange
Photo change This field is suppressed because this information is available from the message itself- Returns:
this
.
-
receipt
Message receipt- Returns:
this
.
-
quotedStickerData
Media data This field is suppressed because this information is available from the message itself- Returns:
this
.
-
futureProofData
Upcoming data- Returns:
this
.
-
psaStatus
Public service announcement status- Returns:
this
.
-
build
-
toString
-