Method: Slack::Web::Api::Endpoints::Chat#chat_getPermalink
- Defined in:
- lib/slack/web/api/endpoints/chat.rb
#chat_getPermalink(options = {}) ⇒ Object
Retrieve a permalink URL for a specific extant message
72 73 74 75 76 77 |
# File 'lib/slack/web/api/endpoints/chat.rb', line 72 def chat_getPermalink( = {}) throw ArgumentError.new('Required arguments :channel missing') if [:channel].nil? throw ArgumentError.new('Required arguments :message_ts missing') if [:message_ts].nil? = .merge(channel: conversations_id()['channel']['id']) if [:channel] post('chat.getPermalink', ) end |