Replying to Messages

When replying to a message, it's the same as creating a message but you need to pass the parentId as a parameter.

Below is a sample code for creating a text message as a reply. It passes the parentId of the message for which the reply is intended for.

The type parameter can be any of the following:

  • text

  • image

  • file

  • audio

  • custom

Refer to Creating Messages section for the sample implementation on other message types.

Last updated