Skip to content

Commit

Permalink
Patch: fix copyMessage method
Browse files Browse the repository at this point in the history
  • Loading branch information
eldarQa committed Jan 13, 2021
1 parent 4718e8a commit d8df849
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 d8df849

Please sign in to comment.