sendMessage

Request

{
    "chat_id": 616145015,
    "text": "This Link",
    "parse_mode": "markdown",
    "entities": [
        {
            "offset": 0,
            "lenght": 4,
            "type": "text_mention",
            "user": {
                "id": 616145015,
                "is_bot": false,
                "first_name": "jabal"
            }
        }
    ]
}

Response

21 lines

{
    "ok": true,
    "result": {
        "message_id": 2321,
        "from": {
            "id": 782894843,
            "is_bot": true,
            "first_name": "MbokBot",
            "username": "MbokBot"
        },
        "chat": {
            "id": 616145015,
            "first_name": "R",
            "last_name": "White Tea",
            "username": "UsirNama",
            "type": "private"
        },
        "date": "1698050778 (2023 Oct 23 16:46:18 +0800)",
        "text": "This Link"
    }
}

Share

Submit by @MbokBot

⬅️ Back to Recently Submissions