Giter VIP home page Giter VIP logo

Comments (2)

copoer avatar copoer commented on June 11, 2024 1

I am also interested in getting embedded text to show up. I am wondering if we could have a setting to force it to just dump the raw embedded text

from slack.

twouters avatar twouters commented on June 11, 2024

Example source message resulting in the same behavior:

        {
            "bot_id": "B03DM6XXXXX",
            "type": "message",
            "text": "",
            "user": "U03CXDXXXXX",
            "ts": "1687792189.893579",
            "app_id": "A03CXDXXXXX",
            "team": "TQEGXXXXX",
            "bot_profile": {
                "id": "B03DM6XXXXX",
                "deleted": false,
                "name": "Sentry",
                "updated": 1650957489,
                "app_id": "A03CXDXXXXX",
                "icons": {
                    "image_36": "https:\/\/avatars.slack-edge.com\/2022-04-26\/3432816908838_4a5919504d479a933a9a_36.png",
                    "image_48": "https:\/\/avatars.slack-edge.com\/2022-04-26\/3432816908838_4a5919504d479a933a9a_48.png",
                    "image_72": "https:\/\/avatars.slack-edge.com\/2022-04-26\/3432816908838_4a5919504d479a933a9a_72.png"
                },
                "team_id": "TQEGXXXXX"
            },
            "attachments": [
                {
                    "id": 1,
                    "ts": 1687792178,
                    "color": "E03E2F",
                    "fallback": "[api] GuzzleHttp\\Exception\\ConnectException: cURL error 6: Could not resolve host: <http:\/\/example.org|example.org> (see <https:\/\/curl.haxx.se\/lib>...",
                    "text": "cURL error 6: Could not resolve host: <http:\/\/example.org|example.org> (see <https:\/\/curl.haxx.se\/libcurl\/c\/libcurl-errors.html>) for <https:\/\/example.org\/api\/instances>",
                    "title": "GuzzleHttp\\Exception\\ConnectException",
                    "title_link": "https:\/\/sentry.example.org\/organizations\/sentry\/issues\/37557\/?referrer=slack",
                    "callback_id": "{\"issue\":37557}",
                    "footer": "API-1GQ via <https:\/\/sentry.example.org\/organizations\/sentry\/alerts\/rules\/api\/29\/details\/|Issue was changed to unresolved (or is a new issue)>",
                    "fields": [
                        {
                            "value": "prod",
                            "title": "environment",
                            "short": true
                        },
                        {
                            "value": "BE",
                            "title": "Country",
                            "short": true
                        },
                        {
                            "value": "verhip",
                            "title": "searchString",
                            "short": true
                        }
                    ],
                    "mrkdwn_in": [
                        "text"
                    ],
                    "actions": [
                        {
                            "id": "1",
                            "name": "resolve_dialog",
                            "text": "Resolve...",
                            "type": "button",
                            "value": "resolve_dialog",
                            "style": ""
                        },
                        {
                            "id": "2",
                            "name": "status",
                            "text": "Ignore",
                            "type": "button",
                            "value": "ignored",
                            "style": ""
                        },
                        {
                            "id": "3",
                            "name": "assign",
                            "text": "Select Assignee...",
                            "type": "select",
                            "data_source": "static",
                            "option_groups": [
                                {
                                    "text": "Teams",
                                    "options": [
                                        {
                                            "text": "#devteam",
                                            "value": "team:5"
                                        }
                                    ]
                                },
                                {
                                    "text": "People",
                                    "options": [
                                        {
                                            "text": "Test User",
                                            "value": "user:6"
                                        }
                                    ]
                                }
                            ],
                            "selected_options": [
                                {
                                    "value": "user:6",
                                    "text": "Test User"
                                }
                            ]
                        }
                    ]
                }
            ]
        }

from slack.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.