NAME
Twilio::Rest::Messaging::V2::TypingIndicator - The TypingIndicator resource
SYNOPSIS
my $client = Twilio::Rest::Client->new($account_sid, $auth_token);
my $typing_indicator = $client->messaging->v2->typing_indicator->create($channel, $message_id);
DESCRIPTION
Send a typing indicator event between OTT senders (e.g., WhatsApp, RCS).
This file holds TypingIndicatorList and TypingIndicatorInstance. Methods that make a request throw Twilio::Exceptions::RestException on an error response.
TypingIndicatorList
Returned by $client->messaging->v2->typing_indicator. See also Twilio::ListResource.
create
my $typing_indicator = $client->messaging->v2->typing_indicator->create($channel, $message_id);
Send a typing indicator to notify the recipient that you are composing a message. Currently supported for whatsapp channel only. For WhatsApp, messageId is required. Returns a TypingIndicatorInstance.
The required values are:
$channel-
Shared channel identifier Must be
whatsapp. $message_id-
Message SID that identifies the conversation thread for the typing indicator. Must be a valid Twilio Message SID (SM*) or Media SID (MM*) from an existing WhatsApp conversation.
TypingIndicatorInstance
See also Twilio::InstanceResource.
Its fields are:
- success
-
Indicates if the typing indicator was sent successfully.
CONSTRUCTORS
new
Objects here come from the methods above, so there is no need to call new directly.
LICENSE
Copyright (c) 2026 Francisco Zarabozo. Released under the MIT License.