sendPhoto

Request

{
    "chat_id": 576555656,
    "photo": "content://com.android.providers.media.documents/document/image%3A14140",
    "caption": "ello"
}

Response

35 lines

{
    "ok": true,
    "result": {
        "message_id": 260,
        "from": {
            "id": 732344417,
            "is_bot": true,
            "first_name": "MMRBot",
            "username": "MMR_Sync_bot"
        },
        "chat": {
            "id": 576555656,
            "first_name": "Bryan",
            "last_name": "Nibb",
            "username": "ResNibb",
            "type": "private"
        },
        "date": "1572408213 (2019 Oct 30 12:03:33 +0800)",
        "photo": [
            {
                "file_id": "AgADAQADPagxG5QgyEXZsz1LkolOiJTpawYABAEAAwIAA20AA8I2AQABFgQ",
                "file_size": 12906,
                "width": 320,
                "height": 220
            },
            {
                "file_id": "AgADAQADPagxG5QgyEXZsz1LkolOiJTpawYABAEAAwIAA3gAA8M2AQABFgQ",
                "file_size": 39633,
                "width": 620,
                "height": 427
            }
        ],
        "caption": "ello"
    }
}

Share

Submit by @MMR_Sync_bot

⬅️ Back to Recently Submissions