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 WhatsAppContactVerificationQuerybusinessAccountId(String accountId)The id of the business account that should be used when verifying the contact.WhatsAppContactVerificationQuerycontact(String contact)The contact that should be verified.WhatsAppContactVerificationQuerycontacts(Collection<String> contacts)The contacts that should be verified.WhatsAppContactVerificationQueryreferenceId(String referenceId)The reference id for the verification.WhatsAppContactVerificationQueryreferenceSubType(String referenceSubType)The sub type of the reference id.WhatsAppContactVerificationQueryreferenceType(String referenceType)The type of the reference id.voidverify()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.
-
-