sendPhoto

Request

{
    "chat_id": 109780439,
    "photo": "https://img.sean.taipei/2018/01/telegreat.png",
    "caption": "*Cap*tain",
    "parse_mode": "Markdown"
}

Response

47 lines

{
    "ok": true,
    "result": {
        "message_id": 324312,
        "from": {
            "id": 131210513,
            "is_bot": true,
            "first_name": "Sean",
            "username": "Sean_Bot"
        },
        "chat": {
            "id": 109780439,
            "first_name": "Sean",
            "username": "S_ean",
            "type": "private"
        },
        "date": "1534546107 (2018 Aug 18 06:48:27 +0800)",
        "photo": [
            {
                "file_id": "AgADBAADIwY8Gy0cZAfd05r8NiYM30TgKhoABA9NO4S1xr8TIIkCAAEC",
                "file_size": 1007,
                "width": 90,
                "height": 90
            },
            {
                "file_id": "AgADBAADIwY8Gy0cZAfd05r8NiYM30TgKhoABPQZqE87uwhIH4kCAAEC",
                "file_size": 7907,
                "width": 320,
                "height": 320
            },
            {
                "file_id": "AgADBAADIwY8Gy0cZAfd05r8NiYM30TgKhoABB69agdpJ4KxIYkCAAEC",
                "file_size": 14364,
                "width": 512,
                "height": 512
            }
        ],
        "caption": "Captain",
        "caption_entities": [
            {
                "offset": 0,
                "length": 3,
                "type": "bold"
            }
        ]
    }
}

Share

Submit by @Sean_Bot

⬅️ Back to Recently Submissions