Module it.auties.whatsapp4j
Interface MessageMetadataProvider
- All Known Implementing Classes:
MessageInfo
,QuotedMessage
Model interface to mark classes that can provide info about a message
-
Method Summary
-
Method Details
-
id
String id()Returns the id of the message- Returns:
- a string
-
chat
Chat chat()Returns the chat of the message- Returns:
- a chat
-
senderJid
ContactJid senderJid()Returns the sender's jid- Returns:
- a jid
-
sender
Returns the sender of the message- Returns:
- an optional
-
message
MessageContainer message()Returns the message- Returns:
- a message container
-