|
2 | 2 | "additionalProperties": true,
|
3 | 3 | "properties": {
|
4 | 4 | "channel_id": {
|
| 5 | + "description": "Unique identifier of the channel where the message was posted", |
5 | 6 | "type": ["null", "string"]
|
6 | 7 | },
|
7 | 8 | "blocks": {
|
| 9 | + "description": "List of blocks that make up the message", |
8 | 10 | "items": {
|
9 | 11 | "additionalProperties": true,
|
10 | 12 | "properties": {
|
11 | 13 | "type": {
|
| 14 | + "description": "Type of block (e.g., section, actions, context, etc.)", |
12 | 15 | "type": ["null", "string"]
|
13 | 16 | },
|
14 | 17 | "block_id": {
|
| 18 | + "description": "Unique identifier for the block", |
15 | 19 | "type": ["null", "string"]
|
16 | 20 | },
|
17 | 21 | "elements": {
|
|
27 | 31 | "additionalProperties": true,
|
28 | 32 | "properties": {
|
29 | 33 | "text": {
|
| 34 | + "description": "Text content of the element", |
30 | 35 | "type": ["null", "string"]
|
31 | 36 | },
|
32 | 37 | "type": {
|
| 38 | + "description": "Type of element (e.g., text, image, etc.)", |
33 | 39 | "type": ["null", "string"]
|
34 | 40 | }
|
35 | 41 | }
|
36 | 42 | }
|
37 | 43 | },
|
38 | 44 | "type": {
|
| 45 | + "description": "Type of elements container (e.g., context, actions, etc.)", |
39 | 46 | "type": ["null", "string"]
|
40 | 47 | }
|
41 | 48 | }
|
|
47 | 54 | "type": ["null", "array"]
|
48 | 55 | },
|
49 | 56 | "bot_id": {
|
| 57 | + "description": "Unique identifier of the bot that sent the message", |
50 | 58 | "type": ["null", "string"]
|
51 | 59 | },
|
52 | 60 | "bot_profile": {
|
| 61 | + "description": "Profile information of the bot user", |
53 | 62 | "additionalProperties": true,
|
54 | 63 | "properties": {
|
55 | 64 | "app_id": {
|
| 65 | + "description": "ID of the Slack app associated with the bot", |
56 | 66 | "type": ["null", "string"]
|
57 | 67 | },
|
58 | 68 | "deleted": {
|
| 69 | + "description": "Flag indicating if the bot profile has been deleted", |
59 | 70 | "type": ["null", "boolean"]
|
60 | 71 | },
|
61 | 72 | "id": {
|
| 73 | + "description": "Unique identifier of the bot profile", |
62 | 74 | "type": ["null", "string"]
|
63 | 75 | },
|
64 | 76 | "name": {
|
| 77 | + "description": "Name of the bot", |
65 | 78 | "type": ["null", "string"]
|
66 | 79 | },
|
67 | 80 | "team_id": {
|
| 81 | + "description": "ID of the team to which the bot belongs", |
68 | 82 | "type": ["null", "string"]
|
69 | 83 | },
|
70 | 84 | "updated": {
|
| 85 | + "description": "Timestamp of the last profile update", |
71 | 86 | "type": ["null", "integer"]
|
72 | 87 | }
|
73 | 88 | },
|
74 | 89 | "type": ["null", "object"]
|
75 | 90 | },
|
76 | 91 | "attachments": {
|
| 92 | + "description": "List of attachments included in the message", |
77 | 93 | "items": {
|
78 | 94 | "properties": {
|
79 | 95 | "title": {
|
| 96 | + "description": "Title of the attachment", |
80 | 97 | "type": ["null", "string"]
|
81 | 98 | },
|
82 | 99 | "id": {
|
| 100 | + "description": "Unique identifier for the attachment", |
83 | 101 | "type": ["null", "integer"]
|
84 | 102 | },
|
85 | 103 | "color": {
|
| 104 | + "description": "Color code to be used for the attachment", |
86 | 105 | "type": ["null", "string"]
|
87 | 106 | },
|
88 | 107 | "fallback": {
|
| 108 | + "description": "Plain text summary of the attachment", |
89 | 109 | "type": ["null", "string"]
|
90 | 110 | }
|
91 | 111 | },
|
|
94 | 114 | "type": ["null", "array"]
|
95 | 115 | },
|
96 | 116 | "client_msg_id": {
|
| 117 | + "description": "Unique identifier for the client who sent the message", |
97 | 118 | "type": ["null", "string"]
|
98 | 119 | },
|
99 | 120 | "display_as_bot": {
|
| 121 | + "description": "Flag indicating if the message is displayed as coming from a bot", |
100 | 122 | "type": ["null", "boolean"]
|
101 | 123 | },
|
102 | 124 | "file_id": {
|
| 125 | + "description": "Unique identifier of the file attached to the message", |
103 | 126 | "type": ["null", "string"]
|
104 | 127 | },
|
105 | 128 | "file_ids": {
|
| 129 | + "description": "List of unique identifiers of files attached to the message", |
106 | 130 | "items": {
|
107 | 131 | "type": ["null", "string"]
|
108 | 132 | },
|
109 | 133 | "type": ["null", "array"]
|
110 | 134 | },
|
111 | 135 | "icons": {
|
| 136 | + "description": "Icons associated with the message", |
112 | 137 | "additionalProperties": true,
|
113 | 138 | "properties": {
|
114 | 139 | "emoji": {
|
| 140 | + "description": "Emoji icon used in the message", |
115 | 141 | "type": ["null", "string"]
|
116 | 142 | }
|
117 | 143 | },
|
118 | 144 | "type": ["null", "object"]
|
119 | 145 | },
|
120 | 146 | "inviter": {
|
| 147 | + "description": "User ID of the member who invited a user to the channel", |
121 | 148 | "type": ["null", "string"]
|
122 | 149 | },
|
123 | 150 | "is_delayed_message": {
|
| 151 | + "description": "Flag indicating if the message was delayed", |
124 | 152 | "type": ["null", "boolean"]
|
125 | 153 | },
|
126 | 154 | "is_intro": {
|
| 155 | + "description": "Flag indicating if the message is an introduction message", |
127 | 156 | "type": ["null", "boolean"]
|
128 | 157 | },
|
129 | 158 | "is_starred": {
|
| 159 | + "description": "Flag indicating if the message is starred", |
130 | 160 | "type": ["null", "boolean"]
|
131 | 161 | },
|
132 | 162 | "last_read": {
|
| 163 | + "description": "Timestamp when the message was last read", |
133 | 164 | "type": ["null", "string"]
|
134 | 165 | },
|
135 | 166 | "latest_reply": {
|
| 167 | + "description": "Timestamp of the latest reply to the message", |
136 | 168 | "type": ["null", "string"]
|
137 | 169 | },
|
138 | 170 | "name": {
|
| 171 | + "description": "Name of the channel", |
139 | 172 | "type": ["null", "string"]
|
140 | 173 | },
|
141 | 174 | "old_name": {
|
| 175 | + "description": "Previous name of the channel if renamed", |
142 | 176 | "type": ["null", "string"]
|
143 | 177 | },
|
144 | 178 | "parent_user_id": {
|
| 179 | + "description": "Unique identifier of the parent user", |
145 | 180 | "type": ["null", "string"]
|
146 | 181 | },
|
147 | 182 | "permalink": {
|
| 183 | + "description": "Permanent link to the message", |
148 | 184 | "format": "uri",
|
149 | 185 | "type": ["null", "string"]
|
150 | 186 | },
|
151 | 187 | "pinned_to": {
|
| 188 | + "description": "List of channels where the message is pinned", |
152 | 189 | "items": {
|
153 | 190 | "type": ["null", "string"]
|
154 | 191 | },
|
155 | 192 | "type": ["null", "array"]
|
156 | 193 | },
|
157 | 194 | "purpose": {
|
| 195 | + "description": "Purpose set for the channel", |
158 | 196 | "type": ["null", "string"]
|
159 | 197 | },
|
160 | 198 | "reactions": {
|
| 199 | + "description": "List of reactions added to the message", |
161 | 200 | "items": {
|
162 | 201 | "additionalProperties": true,
|
163 | 202 | "properties": {
|
164 | 203 | "count": {
|
| 204 | + "description": "Number of users who reacted", |
165 | 205 | "type": ["null", "integer"]
|
166 | 206 | },
|
167 | 207 | "name": {
|
| 208 | + "description": "Emoji name of the reaction", |
168 | 209 | "type": ["null", "string"]
|
169 | 210 | },
|
170 | 211 | "users": {
|
| 212 | + "description": "List of users who reacted", |
171 | 213 | "items": {
|
172 | 214 | "type": ["null", "string"]
|
173 | 215 | },
|
|
179 | 221 | "type": ["null", "array"]
|
180 | 222 | },
|
181 | 223 | "reply_count": {
|
| 224 | + "description": "Number of replies to the message", |
182 | 225 | "type": ["null", "integer"]
|
183 | 226 | },
|
184 | 227 | "reply_users": {
|
| 228 | + "description": "List of users who replied to the message", |
185 | 229 | "items": {
|
186 | 230 | "type": ["null", "string"]
|
187 | 231 | },
|
188 | 232 | "type": ["null", "array"]
|
189 | 233 | },
|
190 | 234 | "reply_users_count": {
|
| 235 | + "description": "Number of users who replied to the message", |
191 | 236 | "type": ["null", "integer"]
|
192 | 237 | },
|
193 | 238 | "source_team": {
|
| 239 | + "description": "Team ID of the source team", |
194 | 240 | "type": ["null", "string"]
|
195 | 241 | },
|
196 | 242 | "subscribed": {
|
| 243 | + "description": "Flag indicating if the user is subscribed to the channel", |
197 | 244 | "type": ["null", "boolean"]
|
198 | 245 | },
|
199 | 246 | "subtype": {
|
| 247 | + "description": "Type of message subtype", |
200 | 248 | "type": ["null", "string"]
|
201 | 249 | },
|
202 | 250 | "team": {
|
| 251 | + "description": "Team ID where the message was posted", |
203 | 252 | "type": ["null", "string"]
|
204 | 253 | },
|
205 | 254 | "text": {
|
| 255 | + "description": "Text content of the message", |
206 | 256 | "type": ["null", "string"]
|
207 | 257 | },
|
208 | 258 | "thread_ts": {
|
| 259 | + "description": "Timestamp of the thread the message is part of", |
209 | 260 | "type": ["null", "string"]
|
210 | 261 | },
|
211 | 262 | "topic": {
|
| 263 | + "description": "Topic set for the channel", |
212 | 264 | "type": ["null", "string"]
|
213 | 265 | },
|
214 | 266 | "ts": {
|
| 267 | + "description": "Timestamp of the message", |
215 | 268 | "type": ["null", "string"]
|
216 | 269 | },
|
217 | 270 | "float_ts": {
|
| 271 | + "description": "Timestamp of the message in float format", |
218 | 272 | "type": ["null", "number"]
|
219 | 273 | },
|
220 | 274 | "is_locked": {
|
| 275 | + "description": "Flag indicating if the message is locked", |
221 | 276 | "type": ["null", "boolean"]
|
222 | 277 | },
|
223 | 278 | "type": {
|
| 279 | + "description": "Type of message (e.g., message, reply, etc.)", |
224 | 280 | "type": ["null", "string"]
|
225 | 281 | },
|
226 | 282 | "unread_count": {
|
| 283 | + "description": "Number of unread messages in the channel", |
227 | 284 | "type": ["null", "integer"]
|
228 | 285 | },
|
229 | 286 | "upload": {
|
| 287 | + "description": "Flag indicating if the message contains uploaded content", |
230 | 288 | "type": ["null", "boolean"]
|
231 | 289 | },
|
232 | 290 | "user": {
|
| 291 | + "description": "Unique identifier of the user who sent the message", |
233 | 292 | "type": ["null", "string"]
|
234 | 293 | },
|
235 | 294 | "user_team": {
|
| 295 | + "description": "Team ID of the user who sent the message", |
236 | 296 | "type": ["null", "string"]
|
237 | 297 | },
|
238 | 298 | "username": {
|
| 299 | + "description": "Username of the user who sent the message", |
239 | 300 | "type": ["null", "string"]
|
240 | 301 | }
|
241 | 302 | },
|
|
0 commit comments