There are two kinds of status of every user that you need to consider before you can message them:
- Based on activity
- Based on opt-in
Users who have sent a message to your WhatsApp Business API number are Active users. They remain active for 24 hours from the time of their last message.
Users who have sent a message to your WhatsApp Business API number but are now outside the 24 hour session period are Inactive users. If an inactive user sends a message, they become active again.
OPT-IN BASED STATUS
Users who have been opted-in to receive notifications from your business are opted-in users. You can get opt-ins via any of the mechanisms provided by Gupshup.
Users who have never opted in or opted out from receiving notifications from your business are non-opted-in users.