module Slack::Web::Api::Endpoints::Chat
def chat_delete(options = {})
- See: https://github.com/slackhq/slack-api-docs/blob/master/methods/chat.delete.json -
See: https://github.com/slackhq/slack-api-docs/blob/master/methods/chat.delete.md -
See: https://api.slack.com/methods/chat.delete -
Options Hash:
(**options)-
:channel(channel) -- -
:ts(Object) --
def chat_delete(options = {}) throw ArgumentError.new('Required arguments :ts missing') if options[:ts].nil? throw ArgumentError.new('Required arguments :channel missing') if options[:channel].nil? post('chat.delete', options) end
def chat_postMessage(options = {})
- See: https://github.com/slackhq/slack-api-docs/blob/master/methods/chat.postMessage.json -
See: https://github.com/slackhq/slack-api-docs/blob/master/methods/chat.postMessage.md -
See: https://api.slack.com/methods/chat.postMessage -
Options Hash:
(**options)-
:icon_emoji(Object) -- -
:icon_url(Object) -- -
:unfurl_media(Object) -- -
:unfurl_links(Object) -- -
:attachments(Object) -- -
:link_names(Object) -- -
:parse(Object) -- -
:username(Object) -- -
:text(Object) -- -
:channel(channel) --
def chat_postMessage(options = {}) throw ArgumentError.new('Required arguments :channel missing') if options[:channel].nil? throw ArgumentError.new('Required arguments :text missing') if options[:text].nil? post('chat.postMessage', options) end
def chat_update(options = {})
- See: https://github.com/slackhq/slack-api-docs/blob/master/methods/chat.update.json -
See: https://github.com/slackhq/slack-api-docs/blob/master/methods/chat.update.md -
See: https://api.slack.com/methods/chat.update -
Options Hash:
(**options)-
:text(Object) -- -
:channel(channel) -- -
:ts(Object) --
def chat_update(options = {}) throw ArgumentError.new('Required arguments :ts missing') if options[:ts].nil? throw ArgumentError.new('Required arguments :channel missing') if options[:channel].nil? throw ArgumentError.new('Required arguments :text missing') if options[:text].nil? post('chat.update', options) end