Skip to content

Commit

Permalink
Update example
Browse files Browse the repository at this point in the history
  • Loading branch information
danog committed Jun 2, 2023
1 parent 3d4094f commit a4e7a90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/bot.php
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ public function onUpdateNewMessage(array $update): void
}
$this->broadcastForwardMessages(
from_peer: $update,
ids: [$update['message']['reply_to']['reply_to_msg_id']],
message_ids: [$update['message']['reply_to']['reply_to_msg_id']],
drop_author: true,
);
return;
Expand Down

0 comments on commit a4e7a90

Please sign in to comment.