Someone is typing ...

This method allows you to set the status of "User X types a message ..." in the conversation. You can send a message being typed, it makes you see what’s being typed.

URL

POST https://api.dashly.app/conversations/{id}/settyping

Conversation ID should be used as {id}.

Parameters

Auth parameters.
id_as_string parameter.

Parameter Type Description
body integer Message that has been typed
from_user Optional[ID] ID of the User typing is sent from
from_admin Optional[ID/default_admin] Set operator ID who operates tag or default_admin to act as default admin

Notes

Use from_admin and from_user parameter in order to control the source of typing.

Response

data field is empty.

{
  "data": {},
  "meta": {
    "status": 200
  }
}

Exceptions

Standard Web API Exceptions.

Examples

Set “User is typing”:

curl -X POST \
  --data-urlencode "body=My Message" \
  --data-urlencode "from_user=true" \
  -H "Authorization: Token XXX" \
  https://api.dashly.app/conversations/1789152/settyping

Set “Administrator is typing” (administrator’s id = 8164):

curl -X POST \
  --data-urlencode "body=My Message" \
  --data-urlencode "from_admin=8164" \
  -H "Authorization: Token XXX" \
  https://api.dashly.app/conversations/1789152/settyping