lib/tdlib/client_methods.rb
# Edits the text of a message (or a text of a game message).
# Returns the edited message after the edit is completed on the server side.
#
# @param chat_id [Integer] The chat the message belongs to.
# @param message_id [Integer] Identifier of the message.
# @param reply_markup [TD::Types::ReplyMarkup] The new message reply markup; pass null if none; for bots only.
# @param input_message_content [TD::Types::InputMessageContent] New text content of the message.
#   Must be of type inputMessageText.
# @return [TD::Types::Message]
Edits the text of a message (or a text of a game message).
Returns the edited message after the edit is completed on the server side.
Edits the text of a message ( or a text of a game message ) . Returns the edited message after the edit is completed on the server side .
def edit_message_text(chat_id:, message_id:, reply_markup:, input_message_content:)
    broadcast('@type'                 => 'editMessageText',
              'chat_id'               => chat_id,
              'message_id'            => message_id,
              'reply_markup'          => reply_markup,
              'input_message_content' => input_message_content)
  end
def edit_message_text ( chat_id : , message_id : , reply_markup : , input_message_content : ) broadcast ( '@type' => 'editMessageText' , 'chat_id' => chat_id , 'message_id' => message_id , 'reply_markup' => reply_markup , 'input_message_content' => input_message_content ) end
Edits the text of a message (or a text of a game message).
Edits the text of a message ( or a text of a game message ) .
None
TD::Types::Message
chat_id
The chat the message belongs to.
The chat the message belongs to .
message_id
Identifier of the message.
Identifier of the message .
reply_markup
The new message reply markup; pass null if none; for bots only.
The new message reply markup ; pass null if none ; for bots only .
input_message_content
New text content of the message. Must be of type inputMessageText.
New text content of the message . Must be of type inputMessageText .