Search

Send Reply

Last Updated: Feb 14, 2022

Articles

Use this function to reply to the given message.

Syntax

Send Reply (token, channel_id, time_stamp, text)

Parameters

Input Parameter Name Description
token Authentication token
channel_id ID of the channel to post the message
time_stamp Time stamp (ts) of the unique message to be replied
text The text to be replied to

  • To know more about token, click here.
  • To view the Channel ID, right click on the channel name in the left menu and select Copy link in Slack. Paste in a text editor, the URL is of the format: https://<Slack URL>/<Channel ID>.

Returns

Return Value Description
Output
  • On Success returns 1 | Timestamp(ts) of the message
  • On Failure returns 0 | Error Reply

Sample

Send Reply (xoxp-12QWERT, ABC123, 2020-12-11 03:14:07, Hello)

  • Uses token xoxp-12QWERT to authenticate connection to Slack, replies Hello to the message with timestamp 2020-12-11 03:14:07.
    Returns the Timestamp of the sent reply.

To view all the Slack functions, click here.

Did you find what you were looking for?