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

# sendMessage

`POST /bot{token}/sendMessage`

Use this method to send text messages.

## 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`)
  - `text` string — Text of the message to be sent
  - `parse_mode` string — Send Markdown or HTML, if you want Telegram apps to show bold, italic, fixed-width text or inline URLs in your bot's message.
  - `disable_web_page_preview` boolean — Disables link previews for links in this message
  - `disable_notification` boolean — Sends the message silently. 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, 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
    - `text` string

## 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)
