Minimal representation of a WhatsApp JID.
The implementation mirrors the pieces used by the binary encoder/decoder.
Summary
Functions
Checks if a JID string represents a broadcast list.
Checks if a JID string represents a group.
is_broadcast?(jid)
deprecated
is_group?(jid)
deprecated
is_user?(jid)
deprecated
Parses a JID string into a struct.
Checks if a JID string represents a regular user.
Types
@type t() :: %ExWapp.JID{ device: non_neg_integer(), integrator: non_neg_integer(), raw_agent: non_neg_integer(), server: String.t(), user: String.t() }
Functions
Checks if a JID string represents a broadcast list.
Checks if a JID string represents a group.
This function is deprecated. Use broadcast?/1 instead..
This function is deprecated. Use group?/1 instead..
This function is deprecated. Use user?/1 instead..
Parses a JID string into a struct.
Checks if a JID string represents a regular user.