sendMessage

Request

{
    "chat_id": "@onlinecsee",
    "text": "<a href=\"https://snhrepublic.com\">Test 4 SNH</a>",
    "parse_mode": "html",
    "disable_web_page_preview": 1
}

Response

22 lines

{
    "ok": true,
    "result": {
        "message_id": 9,
        "chat": {
            "id": -1001321580868,
            "title": "ONLINE CLASSES - CSE E",
            "username": "onlinecsee",
            "type": "channel"
        },
        "date": "1596726169 (2020 Aug 06 23:02:49 +0800)",
        "text": "Test 4 SNH",
        "entities": [
            {
                "offset": 0,
                "length": 10,
                "type": "text_link",
                "url": "https://snhrepublic.com/"
            }
        ]
    }
}

Share

Submit by @jhuibot

⬅️ Back to Recently Submissions