SlackWeb.Chat.get_permalink

You're seeing just the function get_permalink, go back to SlackWeb.Chat module for more information.
Link to this function

get_permalink(channel, message_ts, optional_params \\ %{})

View Source

Retrieve a permalink URL for a specific extant message.

Required Params

  • channel - The ID of the conversation or channel containing the message.
  • message_ts - A message's ts value, uniquely identifying it within a channel. ex: 1405894322.002768

Errors the API can return:

  • channel_not_found - Value passed for channel was invalid.
  • message_not_found - No message exists with the requested timestamp.