java.lang.Object
it.auties.whatsapp.model.message.standard.ContactMessage
- All Implemented Interfaces:
it.auties.protobuf.model.ProtobufMessage,it.auties.protobuf.model.ProtobufObject,ContextualMessage<ContactMessage>,Message
A model class that represents a message holding a contact inside
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ContextInfoprivate final Stringprivate final ContactCard -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncategory()Return message categoryname()static ContactMessageof(String name, ContactCard vcard) setContextInfo(ContextInfo contextInfo) toString()type()Return message typevcard()
-
Field Details
-
name
-
vcard
-
contextInfo
-
-
Constructor Details
-
ContactMessage
-
-
Method Details
-
of
-
type
Description copied from interface:MessageReturn message type -
category
Description copied from interface:MessageReturn message category -
name
-
vcard
-
contextInfo
- Specified by:
contextInfoin interfaceContextualMessage<ContactMessage>
-
setContextInfo
- Specified by:
setContextInfoin interfaceContextualMessage<ContactMessage>
-
toString
-