Insert a Chat Message Reply

To insert a chat message reply, your XML must include the following properties:

Type Required Name Description
Property Yes Type The type of item to insert. To insert a chat message reply, specify ChatMessageReply.
Property Yes TEAMID The ID of the team that contains the channel.
Property Yes CHANNELID The ID of the channel that contains the chat.
Property Yes INREPLYTOID The ID of the chat message to reply to.
Metadata field Yes Content The message text.

For example, the value of your insertXML action parameter might look like this:

<insertXML>      
  <insert>
    <property name="Type" value="ChatMessageReply"/>
    <property name="TEAMID" value="1"/>
    <property name="CHANNELID" value="1"/>
    <property name="INREPLYTOID" value="1"/>
    <xmlmetadata>
      <Content>To see the latest new features, check out the release notes.</Content>
    </xmlmetadata>
  </insert>
</insertXML>