Skip to content

Instantly share code, notes, and snippets.

@dcastro
Created May 15, 2022 17:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dcastro/6e4d9fa3e606aeb0f74ec7cd1531558e to your computer and use it in GitHub Desktop.
Save dcastro/6e4d9fa3e606aeb0f74ec7cd1531558e to your computer and use it in GitHub Desktop.
slack_edit_message.json
{
"envelope_id": "f34c6197-a7ef-45ed-acad-4d5a3147ec86",
"payload": {
"token": "Pct6Sm6JynybrFXkjEiH7hhX",
"team_id": "T02NDBHSWSG",
"api_app_id": "A03BLN935DK",
"event": {
"type": "message",
"subtype": "message_changed",
"message": {
"client_msg_id": "0837851c-2d34-4d4d-804c-7aed753c3421",
"type": "message",
"text": "Goodbye world",
"user": "U02N85E78QM",
"team": "T02NDBHSWSG",
"edited": {
"user": "U02N85E78QM",
"ts": "1652635675.000000"
},
"blocks": [
{
"type": "rich_text",
"block_id": "YKju",
"elements": [
{
"type": "rich_text_section",
"elements": [
{
"type": "text",
"text": "Goodbye world"
}
]
}
]
}
],
"ts": "1652635099.971779",
"source_team": "T02NDBHSWSG",
"user_team": "T02NDBHSWSG"
},
"previous_message": {
"client_msg_id": "0837851c-2d34-4d4d-804c-7aed753c3421",
"type": "message",
"text": "Hello world",
"user": "U02N85E78QM",
"ts": "1652635099.971779",
"team": "T02NDBHSWSG",
"blocks": [
{
"type": "rich_text",
"block_id": "7/i8g",
"elements": [
{
"type": "rich_text_section",
"elements": [
{
"type": "text",
"text": "Hello world"
}
]
}
]
}
]
},
"channel": "C02NDBPP4E8",
"hidden": true,
"ts": "1652635675.000400",
"event_ts": "1652635675.000400",
"channel_type": "channel"
},
"type": "event_callback",
"event_id": "Ev03FAUH49LN",
"event_time": 1652635675,
"authorizations": [
{
"enterprise_id": null,
"team_id": "T02NDBHSWSG",
"user_id": "U03BPMDU202",
"is_bot": true,
"is_enterprise_install": false
}
],
"is_ext_shared_channel": false,
"event_context": "4-eyJldCI6Im1lc3NhZ2UiLCJ0aWQiOiJUMDJOREJIU1dTRyIsImFpZCI6IkEwM0JMTjkzNURLIiwiY2lkIjoiQzAyTkRCUFA0RTgifQ"
},
"type": "events_api",
"accepts_response_payload": false,
"retry_attempt": 0,
"retry_reason": ""
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment