send_business_message


Description:

public async BusinessMessage send_business_message (string business_connection_id, int64 chat_id, InputMessageReplyTo reply_to, bool disable_notification, bool protect_content, int64 effect_id, ReplyMarkup reply_markup, InputMessageContent input_message_content) throws TDLibError

Sends a message on behalf of a business account; for bots only. Returns the message after it was sent

Parameters:

business_connection_id

Unique identifier of business connection on behalf of which to send the request

chat_id

Target chat

reply_to

Information about the message to be replied; pass null if none

disable_notification

Pass true to disable notification for the message

protect_content

Pass true if the content of the message must be protected from forwarding and saving

effect_id

Identifier of the effect to apply to the message

reply_markup

Markup for replying to the message; pass null if none

input_message_content

The content of the message to be sent