Interface WhatsAppContactVerificationQuery
-
- All Known Implementing Classes:
WhatsAppContactVerificationQueryImpl
public interface WhatsAppContactVerificationQuery
- Author:
- Filip Hrisafov
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description WhatsAppContactVerificationQuery
businessAccountId(String accountId)
The id of the business account that should be used when verifying the contact.WhatsAppContactVerificationQuery
contact(String contact)
The contact that should be verified.WhatsAppContactVerificationQuery
contacts(Collection<String> contacts)
The contacts that should be verified.WhatsAppContactVerificationQuery
referenceId(String referenceId)
The reference id for the verification.WhatsAppContactVerificationQuery
referenceSubType(String referenceSubType)
The sub type of the reference id.WhatsAppContactVerificationQuery
referenceType(String referenceType)
The type of the reference id.void
verify()
Perform the contact verification.
-
-
-
Method Detail
-
contact
WhatsAppContactVerificationQuery contact(String contact)
The contact that should be verified.
-
contacts
WhatsAppContactVerificationQuery contacts(Collection<String> contacts)
The contacts that should be verified.
-
businessAccountId
WhatsAppContactVerificationQuery businessAccountId(String accountId)
The id of the business account that should be used when verifying the contact.
-
referenceId
WhatsAppContactVerificationQuery referenceId(String referenceId)
The reference id for the verification. This would be used when the reply comes from WhatsApp asynchronously.
-
referenceType
WhatsAppContactVerificationQuery referenceType(String referenceType)
The type of the reference id.
-
referenceSubType
WhatsAppContactVerificationQuery referenceSubType(String referenceSubType)
The sub type of the reference id.
-
verify
void verify()
Perform the contact verification.
-
-