send_message


Description:

public async Message send_message (int64 chat_id, int64 message_thread_id, InputMessageReplyTo reply_to, MessageSendOptions options, ReplyMarkup reply_markup, InputMessageContent input_message_content) throws TDLibError

Sends a message. Returns the sent message

Parameters:

chat_id

Target chat

message_thread_id

If not 0, the message thread identifier in which the message will be sent

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