Send Message with Metadata

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

metadata

Yes

Key value pair in Json format

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 required too. Of-User-Id is the userId of the user on behalf of which application bot wants to send message to another user.

Language
Authentication
Click Try It! to start a request and see the response here!