Block users from messaging a phone number, and unblock them.
Users are identified by phone number ("+56961567267") or WhatsApp ID.
Summary
Types
@type result() :: {:ok, map()} | {:error, KapsoEx.Error.t()}
Functions
@spec block(KapsoEx.Client.t(), String.t(), [String.t()]) :: result()
Blocks one or more users.
@spec list(KapsoEx.Client.t(), String.t(), map() | keyword()) :: result()
Lists blocked users.
@spec unblock(KapsoEx.Client.t(), String.t(), [String.t()]) :: result()
Unblocks one or more users.