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 @@ -1136,6 +1136,7 @@ public function editMessageText(
11361136 * @param Types\ReplyKeyboardMarkup|Types\ReplyKeyboardHide|Types\ForceReply|
11371137 * Types\ReplyKeyboardRemove|null $replyMarkup
11381138 * @param string $inlineMessageId
1139+ * @param string|null $parseMode
11391140 *
11401141 * @return \TelegramBot\Api\Types\Message
11411142 * @throws \TelegramBot\Api\InvalidArgumentException
@@ -1146,14 +1147,16 @@ public function editMessageCaption(
11461147 $ messageId ,
11471148 $ caption = null ,
11481149 $ replyMarkup = null ,
1149- $ inlineMessageId = null
1150+ $ inlineMessageId = null ,
1151+ $ parseMode = null
11501152 ) {
11511153 return Message::fromResponse ($ this ->call ('editMessageCaption ' , [
11521154 'chat_id ' => $ chatId ,
11531155 'message_id ' => $ messageId ,
11541156 'inline_message_id ' => $ inlineMessageId ,
11551157 'caption ' => $ caption ,
11561158 'reply_markup ' => is_null ($ replyMarkup ) ? $ replyMarkup : $ replyMarkup ->toJson (),
1159+ 'parse_mode ' => $ parseMode
11571160 ]));
11581161 }
11591162
You can’t perform that action at this time.
0 commit comments