WMex (WhatsApp MEX) query helpers.
Reference: dev/reference/Baileys-master/src/Socket/mex.ts
Summary
Functions
Wraps an encoded GraphQL WMex schema payload.
Extracts the response from the inner GraphQL response body.
Functions
@spec build_query(String.t(), map(), String.t()) :: BaileysEx.BinaryNode.t()
Wraps an encoded GraphQL WMex schema payload.
@spec extract_result(BaileysEx.BinaryNode.t(), String.t() | nil) :: {:ok, term()} | {:error, term()}
Extracts the response from the inner GraphQL response body.