v1

latestOpenAPI 3.0.02026-07-1374103805.5 KB

Use this method to send text messages. On success, the sent Message is returned.

post/sendMessage

Request body

textstring required

Text of the message to be sent, 1-4096 characters after entities parsing

parse_modestring

Mode for parsing entities in the message text. See formatting options for more details.

disable_web_page_previewboolean

Disables link previews for links in this message

disable_notificationboolean

Sends the message silently. Users will receive a notification with no sound.

reply_to_message_idinteger

If the message is a reply, ID of the original message

allow_sending_without_replyboolean

Pass True, if the message should be sent even if the specified replied-to message is not found

Response

okboolean required