BaileysEx.Feature.PhoneValidation (baileys_ex v0.1.0-alpha.8)

Copy Markdown View Source

Phone-number registration checks via the USync contact protocol.

Summary

Functions

Check one or more phone numbers with the USync contact protocol.

Functions

on_whatsapp(queryable, phone_numbers, opts \\ [])

@spec on_whatsapp(term(), [String.t()], keyword()) ::
  {:ok, [%{exists: boolean(), jid: String.t()}]} | {:error, term()}

Check one or more phone numbers with the USync contact protocol.

This mirrors Baileys onWhatsApp: LID inputs are skipped, and only users confirmed as WhatsApp contacts are returned.