java.lang.Object
it.auties.whatsapp.model.message.button.ListResponseMessage
- All Implemented Interfaces:
it.auties.protobuf.model.ProtobufMessage,it.auties.protobuf.model.ProtobufObject,ButtonMessage,ButtonReplyMessage<ListResponseMessage>,ContextualMessage<ListResponseMessage>,Message
public final class ListResponseMessage
extends Object
implements ButtonReplyMessage<ListResponseMessage>
A model class that represents a message that contains a newsletters to a previous
ListMessage-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe constants of this enumerated type describe the various types ofListMessage -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ContextInfoprivate final Stringprivate final ListResponseMessage.Typeprivate final SingleSelectReplyButtonprivate final String -
Constructor Summary
ConstructorsConstructorDescriptionListResponseMessage(String title, SingleSelectReplyButton reply, ContextInfo contextInfo, String description, ListResponseMessage.Type listType) -
Method Summary
Modifier and TypeMethodDescriptionlistType()reply()setContextInfo(ContextInfo contextInfo) title()toString()type()Return message typeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface it.auties.whatsapp.model.message.model.ButtonMessage
category
-
Field Details
-
title
-
reply
-
contextInfo
-
description
-
listType
-
-
Constructor Details
-
ListResponseMessage
public ListResponseMessage(String title, SingleSelectReplyButton reply, ContextInfo contextInfo, String description, ListResponseMessage.Type listType)
-
-
Method Details
-
type
Description copied from interface:MessageReturn message type -
title
-
reply
-
contextInfo
- Specified by:
contextInfoin interfaceContextualMessage<ListResponseMessage>
-
setContextInfo
- Specified by:
setContextInfoin interfaceContextualMessage<ListResponseMessage>
-
description
-
listType
-
toString
-