File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -1065,6 +1065,7 @@ public function editMessageText(
10651065 * @param Types\ReplyKeyboardMarkup|Types\ReplyKeyboardHide|Types\ForceReply|
10661066 * Types\ReplyKeyboardRemove|null $replyMarkup
10671067 * @param string $inlineMessageId
1068+ * @param string|null $parseMode
10681069 *
10691070 * @return \TelegramBot\Api\Types\Message
10701071 * @throws \TelegramBot\Api\InvalidArgumentException
@@ -1075,14 +1076,16 @@ public function editMessageCaption(
10751076 $ messageId ,
10761077 $ caption = null ,
10771078 $ replyMarkup = null ,
1078- $ inlineMessageId = null
1079+ $ inlineMessageId = null ,
1080+ $ parseMode = null
10791081 ) {
10801082 return Message::fromResponse ($ this ->call ('editMessageCaption ' , [
10811083 'chat_id ' => $ chatId ,
10821084 'message_id ' => $ messageId ,
10831085 'inline_message_id ' => $ inlineMessageId ,
10841086 'caption ' => $ caption ,
10851087 'reply_markup ' => is_null ($ replyMarkup ) ? $ replyMarkup : $ replyMarkup ->toJson (),
1088+ 'parse_mode ' => $ parseMode
10861089 ]));
10871090 }
10881091
You can’t perform that action at this time.
0 commit comments