|
| 1 | +{ |
| 2 | + "botName": "Chat SDK ExampleBot", |
| 3 | + "botUserId": "U00FAKEBOT01", |
| 4 | + "mention": { |
| 5 | + "token": "xAbCdEfGhIjKlMnOpQrStUvW", |
| 6 | + "team_id": "T00FAKE00AA", |
| 7 | + "api_app_id": "A00FAKEAPP01", |
| 8 | + "event": { |
| 9 | + "type": "app_mention", |
| 10 | + "user": "U00FAKEUSER1", |
| 11 | + "ts": "1767326125.870439", |
| 12 | + "text": "<@U00FAKEBOT01> Test", |
| 13 | + "channel": "C00FAKECHAN1", |
| 14 | + "event_ts": "1767326125.870439" |
| 15 | + }, |
| 16 | + "type": "event_callback", |
| 17 | + "authorizations": [{ "user_id": "U00FAKEBOT01", "is_bot": true }] |
| 18 | + }, |
| 19 | + "action": { |
| 20 | + "type": "block_actions", |
| 21 | + "user": { |
| 22 | + "id": "U00FAKEUSER1", |
| 23 | + "username": "testuser", |
| 24 | + "name": "testuser", |
| 25 | + "team_id": "T00FAKE00AA" |
| 26 | + }, |
| 27 | + "api_app_id": "A00FAKEAPP01", |
| 28 | + "token": "xAbCdEfGhIjKlMnOpQrStUvW", |
| 29 | + "container": { |
| 30 | + "type": "message", |
| 31 | + "message_ts": "1767326126.896109", |
| 32 | + "channel_id": "C00FAKECHAN1", |
| 33 | + "is_ephemeral": false, |
| 34 | + "thread_ts": "1767326125.870439" |
| 35 | + }, |
| 36 | + "trigger_id": "10215325802133.3901254001572.2e2548aa918b35fd85829545c2d4ae2b", |
| 37 | + "team": { |
| 38 | + "id": "T00FAKE00AA", |
| 39 | + "domain": "vercelslacktesting" |
| 40 | + }, |
| 41 | + "channel": { |
| 42 | + "id": "C00FAKECHAN1", |
| 43 | + "name": "chat-sdk" |
| 44 | + }, |
| 45 | + "message": { |
| 46 | + "user": "U00FAKEBOT01", |
| 47 | + "type": "message", |
| 48 | + "ts": "1767326126.896109", |
| 49 | + "thread_ts": "1767326125.870439" |
| 50 | + }, |
| 51 | + "actions": [ |
| 52 | + { |
| 53 | + "type": "button", |
| 54 | + "block_id": "P0z+f", |
| 55 | + "action_id": "info", |
| 56 | + "text": { |
| 57 | + "type": "plain_text", |
| 58 | + "text": "Show Info", |
| 59 | + "emoji": true |
| 60 | + }, |
| 61 | + "action_ts": "1767326130.289415" |
| 62 | + } |
| 63 | + ], |
| 64 | + "response_url": "https://hooks.slack.com/actions/T00FAKE00AA/10231680918177/hMWwGmzsWEYbB4BjtNump6kO" |
| 65 | + }, |
| 66 | + "reaction": { |
| 67 | + "token": "xAbCdEfGhIjKlMnOpQrStUvW", |
| 68 | + "team_id": "T00FAKE00AA", |
| 69 | + "api_app_id": "A00FAKEAPP01", |
| 70 | + "event": { |
| 71 | + "type": "reaction_added", |
| 72 | + "user": "U00FAKEUSER1", |
| 73 | + "reaction": "+1", |
| 74 | + "item": { |
| 75 | + "type": "message", |
| 76 | + "channel": "C00FAKECHAN1", |
| 77 | + "ts": "1767326126.896109" |
| 78 | + }, |
| 79 | + "item_user": "U00FAKEBOT01", |
| 80 | + "event_ts": "1767326140.000700" |
| 81 | + }, |
| 82 | + "type": "event_callback", |
| 83 | + "authorizations": [{ "user_id": "U00FAKEBOT01", "is_bot": true }] |
| 84 | + }, |
| 85 | + "staticSelectAction": { |
| 86 | + "type": "block_actions", |
| 87 | + "user": { |
| 88 | + "id": "U00FAKEUSER1", |
| 89 | + "username": "testuser", |
| 90 | + "name": "testuser", |
| 91 | + "team_id": "T00FAKE00AA" |
| 92 | + }, |
| 93 | + "api_app_id": "A00FAKEAPP01", |
| 94 | + "token": "xAbCdEfGhIjKlMnOpQrStUvW", |
| 95 | + "container": { |
| 96 | + "type": "message", |
| 97 | + "message_ts": "1767326126.896109", |
| 98 | + "channel_id": "C00FAKECHAN1", |
| 99 | + "is_ephemeral": false, |
| 100 | + "thread_ts": "1767326125.870439" |
| 101 | + }, |
| 102 | + "trigger_id": "10215325802133.3901254001572.staticselect123", |
| 103 | + "team": { |
| 104 | + "id": "T00FAKE00AA", |
| 105 | + "domain": "vercelslacktesting" |
| 106 | + }, |
| 107 | + "channel": { |
| 108 | + "id": "C00FAKECHAN1", |
| 109 | + "name": "chat-sdk" |
| 110 | + }, |
| 111 | + "message": { |
| 112 | + "user": "U00FAKEBOT01", |
| 113 | + "type": "message", |
| 114 | + "ts": "1767326126.896109", |
| 115 | + "thread_ts": "1767326125.870439" |
| 116 | + }, |
| 117 | + "actions": [ |
| 118 | + { |
| 119 | + "type": "static_select", |
| 120 | + "action_id": "quick_action", |
| 121 | + "block_id": "ikh4M", |
| 122 | + "selected_option": { |
| 123 | + "text": { |
| 124 | + "type": "plain_text", |
| 125 | + "text": "Say Hello", |
| 126 | + "emoji": true |
| 127 | + }, |
| 128 | + "value": "greet" |
| 129 | + }, |
| 130 | + "placeholder": { |
| 131 | + "type": "plain_text", |
| 132 | + "text": "Choose...", |
| 133 | + "emoji": true |
| 134 | + }, |
| 135 | + "action_ts": "1767326130.289415" |
| 136 | + } |
| 137 | + ], |
| 138 | + "response_url": "https://hooks.slack.com/actions/T00FAKE00AA/10231680918177/staticSelectExample" |
| 139 | + }, |
| 140 | + "radioButtonsAction": { |
| 141 | + "type": "block_actions", |
| 142 | + "user": { |
| 143 | + "id": "U00FAKEUSER1", |
| 144 | + "username": "testuser", |
| 145 | + "name": "testuser", |
| 146 | + "team_id": "T00FAKE00AA" |
| 147 | + }, |
| 148 | + "api_app_id": "A00FAKEAPP01", |
| 149 | + "token": "xAbCdEfGhIjKlMnOpQrStUvW", |
| 150 | + "container": { |
| 151 | + "type": "message", |
| 152 | + "message_ts": "1767326126.896109", |
| 153 | + "channel_id": "C00FAKECHAN1", |
| 154 | + "is_ephemeral": false, |
| 155 | + "thread_ts": "1767326125.870439" |
| 156 | + }, |
| 157 | + "trigger_id": "10215325802133.3901254001572.radiobuttons123", |
| 158 | + "team": { |
| 159 | + "id": "T00FAKE00AA", |
| 160 | + "domain": "vercelslacktesting" |
| 161 | + }, |
| 162 | + "channel": { |
| 163 | + "id": "C00FAKECHAN1", |
| 164 | + "name": "chat-sdk" |
| 165 | + }, |
| 166 | + "message": { |
| 167 | + "user": "U00FAKEBOT01", |
| 168 | + "type": "message", |
| 169 | + "ts": "1767326126.896109", |
| 170 | + "thread_ts": "1767326125.870439" |
| 171 | + }, |
| 172 | + "actions": [ |
| 173 | + { |
| 174 | + "type": "radio_buttons", |
| 175 | + "action_id": "plan_selected", |
| 176 | + "block_id": "yCgjj", |
| 177 | + "selected_option": { |
| 178 | + "text": { |
| 179 | + "type": "mrkdwn", |
| 180 | + "text": "*All text elements*", |
| 181 | + "verbatim": false |
| 182 | + }, |
| 183 | + "value": "all_text", |
| 184 | + "description": { |
| 185 | + "type": "mrkdwn", |
| 186 | + "text": "Headers, body text, labels, and placeholders", |
| 187 | + "verbatim": false |
| 188 | + } |
| 189 | + }, |
| 190 | + "action_ts": "1767326135.289415" |
| 191 | + } |
| 192 | + ], |
| 193 | + "response_url": "https://hooks.slack.com/actions/T00FAKE00AA/10231680918177/radioButtonsExample" |
| 194 | + } |
| 195 | +} |
0 commit comments