Skip to content

Commit d709fb0

Browse files
authored
Merge pull request #309 from TelegramBot/feature/copyMessage
Patch: fix copyMessage method
2 parents 87dba9f + d8df849 commit d709fb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/BotApi.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ public function copyMessage(
372372
$allowSendingWithoutReply = false,
373373
$replyMarkup = null
374374
) {
375-
return Message::fromResponse($this->call('sendMessage', [
375+
return Message::fromResponse($this->call('copyMessage', [
376376
'chat_id' => $chatId,
377377
'from_chat_id' => $fromChatId,
378378
'message_id' => (int)$messageId,

0 commit comments

Comments
 (0)