sendMessage¶
Sends a message. Returns the sent message
sendMessage(
chat_id: int53,
topic_id: MessageTopic,
reply_to: InputMessageReplyTo,
options: MessageSendOptions,
reply_markup: ReplyMarkup,
input_message_content: InputMessageContent
) → Message
chat_id¶
int53
Target chat
topic_id¶
Topic in which the message will be sent; pass null if none
reply_to¶
Information about the message or story to be replied; pass null if none
options¶
Options to be used to send the message; pass null to use default options
reply_markup¶
Markup for replying to the message; pass null if none; for bots only
input_message_content¶
The content of the message to be sent