sendPhoto

Request

{
    "chat_id": "@ghhhbou",
    "photo": "content://com.android.providers.media.documents/document/image%3A274460"
}

Response

39 lines

{
    "ok": true,
    "result": {
        "message_id": 168,
        "from": {
            "id": 954450392,
            "is_bot": true,
            "first_name": "Okhoj",
            "username": "Vvcxp_bot"
        },
        "chat": {
            "id": -1001229771418,
            "title": "My_files",
            "username": "ghhhbou",
            "type": "supergroup"
        },
        "date": "1565132633 (2019 Aug 07 07:03:53 +0800)",
        "photo": [
            {
                "file_id": "AgADAQAD_KcxGw4wUEYY7RIggTjK1LcdFDAABAEAAwIAA20AAxlhAwABFgQ",
                "file_size": 16738,
                "width": 213,
                "height": 320
            },
            {
                "file_id": "AgADAQAD_KcxGw4wUEYY7RIggTjK1LcdFDAABAEAAwIAA3kAAxdhAwABFgQ",
                "file_size": 65692,
                "width": 600,
                "height": 900
            },
            {
                "file_id": "AgADAQAD_KcxGw4wUEYY7RIggTjK1LcdFDAABAEAAwIAA3gAAxphAwABFgQ",
                "file_size": 71179,
                "width": 533,
                "height": 800
            }
        ]
    }
}

Share

Submit by @Vvcxp_bot

⬅️ Back to Recently Submissions