MadelineProtoDocs/docs/TD_docs/methods/sendMessage.md

1.1 KiB

title description image
sendMessage Sends a message. Returns sent message https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Method: sendMessage

Back to methods index

YOU CANNOT USE THIS METHOD IN MADELINEPROTO

Sends a message. Returns sent message

Parameters:

Name Type Description Required
chat_id int53 Chat to send message Yes
reply_to_message_id int53 Identifier of a message to reply to or 0 Yes
disable_notification Bool Pass true, to disable notification about the message, doesn't works in secret chats Yes
from_background Bool Pass true, if the message is sent from background Yes
reply_markup ReplyMarkup Bots only. Markup for replying to message Yes
input_message_content InputMessageContent Content of a message to send Yes

Return type: Message