Module it.auties.whatsapp4j
Class InteractiveCollection
java.lang.Object
it.auties.whatsapp.model.interactive.InteractiveCollection
- All Implemented Interfaces:
it.auties.protobuf.base.ProtobufMessage
,InteractiveMessageContent
A model class that represents a business collection
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ContactJid
The business jid of the messageprivate String
The id of the messageprivate int
The version of the message -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
business()
The business jid of the messagebusiness
(ContactJid business) The business jid of the messageReturns the type of this contentboolean
int
hashCode()
id()
The id of the messageThe id of the messagetoString()
int
version()
The version of the messageversion
(int version) The version of the message
-
Field Details
-
business
The business jid of the message -
id
The id of the message -
version
private int versionThe version of the message
-
-
Constructor Details
-
InteractiveCollection
-
-
Method Details
-
contentType
Description copied from interface:InteractiveMessageContent
Returns the type of this content- Specified by:
contentType
in interfaceInteractiveMessageContent
- Returns:
- a non-null type
-
builder
-
business
The business jid of the message -
id
The id of the message -
version
public int version()The version of the message -
business
The business jid of the message- Returns:
this
.
-
id
The id of the message- Returns:
this
.
-
version
The version of the message- Returns:
this
.
-
equals
-
hashCode
public int hashCode() -
toString
-