BaileysEx.Feature.Account (baileys_ex v0.1.0-alpha.9)

Copy Markdown View Source

Account standing and quota helpers aligned with Baileys socket.ts.

Summary

Functions

Fetch account reachout timelock state via WMex.

Fetch new-chat message cap information via WMex.

Functions

fetch_account_reachout_timelock(queryable, opts \\ [])

@spec fetch_account_reachout_timelock(
  term(),
  keyword()
) :: {:ok, map()} | {:error, term()}

Fetch account reachout timelock state via WMex.

Mirrors Baileys fetchAccountReachoutTimelock. When :event_emitter is supplied, the normalized result is also emitted as a connection_update.

fetch_new_chat_message_cap(queryable, opts \\ [])

@spec fetch_new_chat_message_cap(
  term(),
  keyword()
) :: {:ok, map()} | {:error, term()}

Fetch new-chat message cap information via WMex.