You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,7 @@
6
6
*[#242](https://github.com/slack-ruby/slack-ruby-client/pull/242): Added `apps_uninstall` to Web API - [@dblock](https://github.com/dblock).
7
7
*[#244](https://github.com/slack-ruby/slack-ruby-client/pull/244): Implementing #restart for the celluloid socket class - [@RodneyU215](https://github.com/RodneyU215).
8
8
*[#246](https://github.com/slack-ruby/slack-ruby-client/pull/246): Added TOC to README and danger-toc - [@dblock](https://github.com/dblock).
9
+
*[#253](https://github.com/slack-ruby/slack-ruby-client/pull/253): Support for Block Kit - [@JrmKrb](https://github.com/JrmKrb).
Copy file name to clipboardExpand all lines: bin/commands/chat.rb
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -52,6 +52,7 @@
52
52
c.flag'user',desc: 'id of the user who will receive the ephemeral message. The user should be in the channel specified by the channel argument.'
53
53
c.flag'as_user',desc: 'Pass true to post the message as the authed user. Defaults to true if the chat:write:bot scope is not included. Otherwise, defaults to false.'
54
54
c.flag'attachments',desc: 'A JSON-based array of structured attachments, presented as a URL-encoded string.'
55
+
c.flag'blocks',desc: 'A JSON-based array of structured blocks, presented as a URL-encoded string.'
55
56
c.flag'link_names',desc: 'Find and link channel names and usernames.'
56
57
c.flag'parse',desc: 'Change how messages are treated. Defaults to none. See below.'
57
58
c.flag'thread_ts',desc: "Provide another message's ts value to make this message a reply. Avoid using a reply's ts value; use its parent instead."
@@ -67,6 +68,7 @@
67
68
c.flag'text',desc: "Text of the message to send. See below for an explanation of formatting. This field is usually required, unless you're providing only attachments instead. Provide no more than 40,000 characters or risk truncation."
68
69
c.flag'as_user',desc: 'Pass true to post the message as the authed user, instead of as a bot. Defaults to false. See authorship below.'
69
70
c.flag'attachments',desc: 'A JSON-based array of structured attachments, presented as a URL-encoded string.'
71
+
c.flag'blocks',desc: 'A JSON-based array of structured blocks, presented as a URL-encoded string.'
70
72
c.flag'icon_emoji',desc: 'Emoji to use as the icon for this message. Overrides icon_url. Must be used in conjunction with as_user set to false, otherwise ignored. See authorship below.'
71
73
c.flag'icon_url',desc: 'URL to an image to use as the icon for this message. Must be used in conjunction with as_user set to false, otherwise ignored. See authorship below.'
72
74
c.flag'link_names',desc: 'Find and link channel names and usernames.'
@@ -104,6 +106,7 @@
104
106
c.flag'ts',desc: 'Timestamp of the message to be updated.'
105
107
c.flag'as_user',desc: 'Pass true to update the message as the authed user. Bot users in this context are considered authed users.'
106
108
c.flag'attachments',desc: 'A JSON-based array of structured attachments, presented as a URL-encoded string. This field is required when not presenting text.'
109
+
c.flag'blocks',desc: 'A JSON-based array of structured blocks, presented as a URL-encoded string.'
107
110
c.flag'link_names',desc: 'Find and link channel names and usernames. Defaults to none. See below.'
108
111
c.flag'parse',desc: 'Change how messages are treated. Defaults to client, unlike chat.postMessage. See below.'
# Pass true to post the message as the authed user, instead of as a bot. Defaults to false. See authorship below.
119
127
# @option options [Object] :attachments
120
128
# A JSON-based array of structured attachments, presented as a URL-encoded string.
129
+
# @option options [Object] :blocks
130
+
# A JSON-based array of structured blocks, presented as a URL-encoded string.
121
131
# @option options [Object] :icon_emoji
122
132
# Emoji to use as the icon for this message. Overrides icon_url. Must be used in conjunction with as_user set to false, otherwise ignored. See authorship below.
0 commit comments