Messaging (chat.*).
text_or_opts is either the message text (binary) or a map/keyword of message
fields — :text, :blocks, :thread_ts, :reply_broadcast, :unfurl_links,
:unfurl_media, :mrkdwn, :attachments, :metadata, :username, :icon_emoji, …
Extra message fields may also be given in opts (they are merged over
text_or_opts); request-level keys (:token, :headers, :encoding) are never
sent to Slack.
Chat.post_message(client, "C123", "hello")
Chat.post_message(client, "C123", %{text: "fallback", blocks: blocks}, thread_ts: ts)
Summary
Functions
POST chat.delete — deletes the message at ts in channel.
POST chat.postEphemeral — posts a message only user can see in channel.
POST chat.postMessage — posts a message (text and/or blocks) to a channel or thread.
POST chat.update — edits the message at ts in channel.
Types
Functions
@spec delete(Noizu.Slack.Client.t(), String.t(), String.t(), keyword()) :: Noizu.Slack.Request.result()
POST chat.delete — deletes the message at ts in channel.
@spec post_ephemeral( Noizu.Slack.Client.t(), String.t(), String.t(), content(), keyword() ) :: Noizu.Slack.Request.result()
POST chat.postEphemeral — posts a message only user can see in channel.
@spec post_message(Noizu.Slack.Client.t(), String.t(), content(), keyword()) :: Noizu.Slack.Request.result()
POST chat.postMessage — posts a message (text and/or blocks) to a channel or thread.
@spec update(Noizu.Slack.Client.t(), String.t(), String.t(), content(), keyword()) :: Noizu.Slack.Request.result()
POST chat.update — edits the message at ts in channel.