View Source Glific.Providers.ContactBehaviour behaviour (Glific v5.1.6)
The contact behaviour which all the providers needs to implement for communication
Link to this section Summary
Link to this section Callbacks
@callback optin_contact(attrs :: map()) :: {:ok, Glific.Contacts.Contact.t()} | {:error, Ecto.Changeset.t()} | {:error, list()}