sendPhoto

Request

{
    "chat_id": 512808800,
    "photo": "content://com.android.providers.media.documents/document/image%3A135896",
    "caption": "udate"
}

Response

46 lines

{
    "ok": true,
    "result": {
        "message_id": 10,
        "from": {
            "id": 559538781,
            "is_bot": true,
            "first_name": "test",
            "username": "breaktoooool_bot"
        },
        "chat": {
            "id": 512808800,
            "first_name": "advisor",
            "username": "advisoring",
            "type": "private"
        },
        "date": "1556496418 (2019 Apr 29 08:06:58 +0800)",
        "photo": [
            {
                "file_id": "AgADBAADnrAxGy-IMFLpoQ0UCJWZE705sRoABNhwZaMU3iwO3M0AAgI",
                "file_size": 898,
                "width": 51,
                "height": 90
            },
            {
                "file_id": "AgADBAADnrAxGy-IMFLpoQ0UCJWZE705sRoABMpd1cWJwG8y3c0AAgI",
                "file_size": 7349,
                "width": 180,
                "height": 320
            },
            {
                "file_id": "AgADBAADnrAxGy-IMFLpoQ0UCJWZE705sRoABDDlaBCheSQj3s0AAgI",
                "file_size": 32963,
                "width": 450,
                "height": 800
            },
            {
                "file_id": "AgADBAADnrAxGy-IMFLpoQ0UCJWZE705sRoABCVxamoR6mOc380AAgI",
                "file_size": 74391,
                "width": 720,
                "height": 1280
            }
        ],
        "caption": "udate"
    }
}

Share

Submit by @breaktoooool_bot

⬅️ Back to Recently Submissions