getUpdates

This request has no parameter.

Response

206 lines

{
    "ok": true,
    "result": [
        {
            "update_id": 161402722,
            "message": {
                "message_id": 13598,
                "from": {
                    "id": 397753466,
                    "is_bot": false,
                    "first_name": "SLKun",
                    "username": "SLKun"
                },
                "chat": {
                    "id": -1001202940923,
                    "title": "女装嫖艺能事务所",
                    "type": "supergroup"
                },
                "date": "1537814106 (2018 Sep 25 02:35:06 +0800)",
                "new_chat_participant": {
                    "id": 670442215,
                    "is_bot": true,
                    "first_name": "喵喵喵",
                    "username": "miaomiaomiaobot"
                },
                "new_chat_member": {
                    "id": 670442215,
                    "is_bot": true,
                    "first_name": "喵喵喵",
                    "username": "miaomiaomiaobot"
                },
                "new_chat_members": [
                    {
                        "id": 670442215,
                        "is_bot": true,
                        "first_name": "喵喵喵",
                        "username": "miaomiaomiaobot"
                    }
                ]
            }
        },
        {
            "update_id": 161402732,
            "message": {
                "message_id": 13599,
                "from": {
                    "id": 397753466,
                    "is_bot": false,
                    "first_name": "SLKun",
                    "username": "SLKun",
                    "language_code": "zh-CN"
                },
                "chat": {
                    "id": -1001202940923,
                    "title": "女装嫖艺能事务所",
                    "type": "supergroup"
                },
                "date": "1537814385 (2018 Sep 25 02:39:45 +0800)",
                "text": "/miao@miaomiaomiaobot",
                "entities": [
                    {
                        "offset": 0,
                        "length": 21,
                        "type": "bot_command"
                    }
                ]
            }
        },
        {
            "update_id": 161402733,
            "message": {
                "message_id": 13600,
                "from": {
                    "id": 397753466,
                    "is_bot": false,
                    "first_name": "SLKun",
                    "username": "SLKun",
                    "language_code": "zh-CN"
                },
                "chat": {
                    "id": -1001202940923,
                    "title": "女装嫖艺能事务所",
                    "type": "supergroup"
                },
                "date": "1537814389 (2018 Sep 25 02:39:49 +0800)",
                "text": "/miao@miaomiaomiaobot",
                "entities": [
                    {
                        "offset": 0,
                        "length": 21,
                        "type": "bot_command"
                    }
                ]
            }
        },
        {
            "update_id": 161402734,
            "message": {
                "message_id": 13605,
                "from": {
                    "id": 397753466,
                    "is_bot": false,
                    "first_name": "盛夏",
                    "username": "SLKun",
                    "language_code": "zh-CN"
                },
                "chat": {
                    "id": -1001202940923,
                    "title": "女装嫖艺能事务所",
                    "type": "supergroup"
                },
                "date": "1537816539 (2018 Sep 25 03:15:39 +0800)",
                "new_chat_participant": {
                    "id": 633002742,
                    "is_bot": false,
                    "first_name": "夏夕"
                },
                "new_chat_member": {
                    "id": 633002742,
                    "is_bot": false,
                    "first_name": "夏夕"
                },
                "new_chat_members": [
                    {
                        "id": 633002742,
                        "is_bot": false,
                        "first_name": "夏夕"
                    }
                ]
            }
        },
        {
            "update_id": 161402735,
            "message": {
                "message_id": 13608,
                "from": {
                    "id": 397753466,
                    "is_bot": false,
                    "first_name": "盛夏",
                    "username": "SLKun",
                    "language_code": "zh-CN"
                },
                "chat": {
                    "id": -1001202940923,
                    "title": "女装嫖艺能事务所",
                    "type": "supergroup"
                },
                "date": "1537817009 (2018 Sep 25 03:23:29 +0800)",
                "reply_to_message": {
                    "message_id": 13604,
                    "from": {
                        "id": 670442215,
                        "is_bot": true,
                        "first_name": "喵喵喵",
                        "username": "miaomiaomiaobot"
                    },
                    "chat": {
                        "id": -1001202940923,
                        "title": "女装嫖艺能事务所",
                        "type": "supergroup"
                    },
                    "date": "1537815369 (2018 Sep 25 02:56:09 +0800)",
                    "text": "好的 回头研究一下 弄一个只会喵喵喵的bot"
                },
                "text": "想了想感觉写个shell脚本就行"
            }
        },
        {
            "update_id": 161402736,
            "message": {
                "message_id": 13609,
                "from": {
                    "id": 397753466,
                    "is_bot": false,
                    "first_name": "盛夏",
                    "username": "SLKun",
                    "language_code": "zh-CN"
                },
                "chat": {
                    "id": -1001202940923,
                    "title": "女装嫖艺能事务所",
                    "type": "supergroup"
                },
                "date": "1537817168 (2018 Sep 25 03:26:08 +0800)",
                "reply_to_message": {
                    "message_id": 13608,
                    "from": {
                        "id": 397753466,
                        "is_bot": false,
                        "first_name": "盛夏",
                        "username": "SLKun",
                        "language_code": "zh-CN"
                    },
                    "chat": {
                        "id": -1001202940923,
                        "title": "女装嫖艺能事务所",
                        "type": "supergroup"
                    },
                    "date": "1537817009 (2018 Sep 25 03:23:29 +0800)",
                    "text": "想了想感觉写个shell脚本就行"
                },
                "text": "getUpdates -> diff -> sendMessage"
            }
        }
    ]
}

Share

Submit by @miaomiaomiaobot

⬅️ Back to Recently Submissions