---
title: "sendPhoto"
method: POST
path: "/bot{token}/sendPhoto"
---

# sendPhoto

`POST /bot{token}/sendPhoto`

Use this method to send photos.

## Path parameters

- `token` string, required

## Request body

- object
  - `chat_id` string — Unique identifier for the target chat or username of the target channel (in the format `@channelusername`)
  - `photo` string — Photo to send. You can either pass a *file_id* as String to [resend](https://core.telegram.org/bots/api#resending-files-without-reuploading) a photo that is already on the Telegram servers, or upload a new photo by just passing the path to the file as String and the SDK will take care of uploading the file for you. You can also directly pass Image URL as String to automatically download and send it to Telegram.
  - `caption` string — Photo caption (may also be used when resending photos by *file_id*), 0-200 characters
  - `disable_notification` boolean — Sends the message (silently)[https://telegram.org/blog/channels-2-0#silent-messages]. iOS users will not receive a notification, Android users will receive a notification with no sound. Other apps coming soon.
  - `reply_to_message_id` integer — If the message is a reply, ID of the original message
  - `reply_markup` object — Additional interface options. A JSON-serialized object for a (custom reply keyboard)[https://core.telegram.org/bots#keyboards], instructions to hide keyboard or to force a reply from the user.

## Response `200`

200

- object
  - `ok` boolean
  - `result` object
    - `message_id` integer
    - `from` object
      - `id` integer
      - `first_name` string
      - `username` string
    - `chat` object
      - `id` integer
      - `first_name` string
      - `last_name` string
      - `username` string
      - `type` string
    - `date` integer
    - `photo` object[]
      - `file_id` string
      - `file_size` integer
      - `width` integer
      - `height` integer

## Other responses

- `400` — 400

---

[API](https://skmtc.net/telegram/apis/api-settings.md) · [All operations](https://skmtc.net/telegram/apis/api-settings/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/telegram/api-settings/versions/1933ff0a8d5f/schema)
