From d8df84944284c1a125e535ad5fed5041390a7b0d Mon Sep 17 00:00:00 2001 From: eldarQa Date: Wed, 13 Jan 2021 15:09:26 +0100 Subject: [PATCH] Patch: fix copyMessage method --- src/BotApi.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BotApi.php b/src/BotApi.php index e7d51756..c79f0eb7 100644 --- a/src/BotApi.php +++ b/src/BotApi.php @@ -372,7 +372,7 @@ public function copyMessage( $allowSendingWithoutReply = false, $replyMarkup = null ) { - return Message::fromResponse($this->call('sendMessage', [ + return Message::fromResponse($this->call('copyMessage', [ 'chat_id' => $chatId, 'from_chat_id' => $fromChatId, 'message_id' => (int)$messageId,