Interface WhatsAppContactVerificationQuery

All Known Implementing Classes:
WhatsAppContactVerificationQueryImpl

@Deprecated(forRemoval=true) public interface WhatsAppContactVerificationQuery
Deprecated, for removal: This API element is subject to removal in a future version.
without an alternative, as the WhatsApp Cloud API does not support this and the On-Premise API is being sunset by Meta.
Query to verify a WhatsApp contact. This only works with the WhatsApp On-Premise API. It does not work with the WhatsApp Cloud API.
Author:
Filip Hrisafov
  • Method Details

    • contact

      Deprecated, for removal: This API element is subject to removal in a future version.
      The contact that should be verified.
    • contacts

      Deprecated, for removal: This API element is subject to removal in a future version.
      The contacts that should be verified.
    • businessAccountId

      WhatsAppContactVerificationQuery businessAccountId(String accountId)
      Deprecated, for removal: This API element is subject to removal in a future version.
      The id of the business account that should be used when verifying the contact.
    • referenceId

      WhatsAppContactVerificationQuery referenceId(String referenceId)
      Deprecated, for removal: This API element is subject to removal in a future version.
      The reference id for the verification. This would be used when the reply comes from WhatsApp asynchronously.
    • referenceType

      WhatsAppContactVerificationQuery referenceType(String referenceType)
      Deprecated, for removal: This API element is subject to removal in a future version.
      The type of the reference id.
    • referenceSubType

      WhatsAppContactVerificationQuery referenceSubType(String referenceSubType)
      Deprecated, for removal: This API element is subject to removal in a future version.
      The sub type of the reference id.
    • verify

      @Deprecated(forRemoval=true) void verify()
      Deprecated, for removal: This API element is subject to removal in a future version.
      See WhatsAppContactVerificationQuery for the deprecation reason
      Perform the contact verification.