post https://apps.applozic.com/rest/ws/message/v2/send
Use this API to send message to another user.
API supported by both application bot and application user.
JSON Parameter Description:
Parameter | Required | Description |
---|---|---|
to | Yes | UserId to which you want to send message |
message | Yes | Text Message |
Response Parameter Description:
Parameter | Description |
---|---|
message key | Request is successfully processed |
createdAt | time in milliseconds |
Application Bot
In case of Application Bot calling the API, Of-User-Id header is required. Of-User-Id is the userId of the user on behalf of which application bot wants to send the message to another user.