teknologi-umum / tgif

Pack of valuable insights and thoughts on software engineering and the like
https://tgif.teknologiumum.com/?utm_source=github
Apache License 2.0
2 stars 6 forks source link

exported poll text #50

Closed WahidinAji closed 7 months ago

WahidinAji commented 8 months ago

the issue is when the message type is a question

{
            "id": 632576,
            "type": "message",
            "date": "2024-02-25T11:53:31",
            "date_unixtime": "1708836811",
            "from": "Reinaldy",
            "from_id": "user1462097294",
            "poll": {
                "question": "Apakah Anda tahu kalau SSL certificate bisa digunakan selain untuk keperluan website (https)?",
                "closed": false,
                "total_voters": 25,
                "answers": [
                    {
                        "text": "Tahu",
                        "voters": 11,
                        "chosen": true
                    },
                    {
                        "text": "Tidak",
                        "voters": 14,
                        "chosen": false
                    }
                ]
            },
            "text": "",
            "text_entities": []
        },

this doesn't show in the chat bubble card, just a blank chat bubble card

image
aldy505 commented 8 months ago

@elianiva @krowter Since this is not merely just a parsing issue, do either of you wanna work on this for the display side of things?

krowter commented 8 months ago

@aldy505 Got it 👍