Skip to content

Stop Typing

Stop showing "typing..." status in the chat.

Usage

The Message facade's stopTyping method may be used to stop showing "typing..." status in a chat.

php
use NjoguAmos\Waha\Facades\Message;
use NjoguAmos\Waha\Dto\ChatRequestData;

$data = new ChatRequestData(
    chatId: '[email protected]',
);

/** @var \Saloon\Http\Response $response */
$response = Message::stopTyping(data: $data);

Response

The response returned by the stopTyping method is an instance of Saloon\Http\Response. You may use the json method to retrieve the response as an array:

php
/** @var \Saloon\Http\Response $response */

$response->status(); // 201
$response->json();   // ["status" => "success", ...]

Engines

WEBJSWPPNOWEBGOWS
✔️✔️✔️✔️

References

Released under the MIT License.