Skip to content

Commit

Permalink
Merge pull request #309 from TelegramBot/feature/copyMessage
Browse files Browse the repository at this point in the history
Patch: fix copyMessage method
  • Loading branch information
MyZik authored Jan 13, 2021
2 parents 87dba9f + d8df849 commit d709fb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/BotApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit d709fb0

Please sign in to comment.