Closed aronilie closed 3 weeks ago
If you want to change status such as online, offline, and typing, you can use a function method like this:
client.sendPresenceAvailable() // online
client.sendPresenceUnvailable() // offline
chat.sendStateTyping() // typing
chat.sendStateRecording() // recording
I think he mean to get presence status, not to set one.
I think he mean to get presence status, not to set one.
Exactly
I have the same doubt, knowing if the person is typing would help my bot to wait until he stops typing before sending a message
If you want to change status such as online, offline, and typing, you can use a function method like this:
client.sendPresenceAvailable() // online client.sendPresenceUnvailable() // offline chat.sendStateTyping() // typing chat.sendStateRecording() // recording
Not work (
Is there an existing issue for this?
Is your feature request related to a problem? Please describe.
No response
Describe the solution you'd like.
I would like to have the possibility to know a chat status. If it is online, typing or disconnected.
Describe an alternate solution.
No response
Additional context
No response