Skip to content
  • Auto
  • Light
  • Dark
Get Started

Send

Send a typing indicator
typing_indicators.send(TypingIndicatorSendParams**kwargs) -> TypingIndicatorSendResponse
post/api/send-typing-indicator

Send an indication that you are typing to a user. This shows up as the animated three dots on the recipient's device. Only available for existing chats and not supported in group chats.

ParametersExpand Collapse
number: str

The number you want to send a typing indicator to (E.164 format)

ReturnsExpand Collapse
class TypingIndicatorSendResponse:
error_message: Optional[str]

The error message if the status is ERROR

number: Optional[str]

The number you evaluated in E.164 format

status: Optional[Literal["SENT", "ERROR"]]

The status of the typing indicator you tried to send

Accepts one of the following:
"SENT"
"ERROR"
Send a typing indicator
from sendblue_api import SendblueAPI

client = SendblueAPI(
    api_key="My API Key",
    api_secret="My API Secret",
)
response = client.typing_indicators.send(
    number="+19998887777",
)
print(response.error_message)
{
  "error_message": null,
  "number": "+19998887777",
  "status": "SENT"
}
Returns Examples
{
  "error_message": null,
  "number": "+19998887777",
  "status": "SENT"
}