Update User Chat Behavior
EVENTwebhook
Provides real-time updates regarding a user's behavior within the WhatsApp chat. This information offers insights into user actions like typing, recording a voice message, or other relevant activities that might influence real-time chat interactions.
Request
Header Parameters
x-businessId stringrequired
Identificador do negócio
x-instanceId stringrequired
Identificador da instanceia
x-whatsappId stringrequired
Identificador do whatsapp conectado
- application/json
Body
event string
Possible values: [presence.update
]
instance object
instanceId string
name string
state string
Possible values: [active
, inactive
]
connection string
Possible values: [refused
, close
, open
]
createdAt date-time
WhatsApp object
whatsappId string
remoteJid string
pictureUrl string
pushName string
createdAt date-time
Business object
businessId string
name string
data object
id string
Possible values: [[email protected]
, [email protected]
]
isGroup boolean
presences
jid string
type string
Possible values: [composing
, recording
, available
, unavailable
, pause
]
Responses
- 200
The server successfully received the user behavior data from the WhatsApp chat. Status 200 is returned, confirming the successful reception and processing of the provided data.
Loading...