diff --git a/docs/docs/UPDATES.md b/docs/docs/UPDATES.md index 0454a524..28d682e4 100644 --- a/docs/docs/UPDATES.md +++ b/docs/docs/UPDATES.md @@ -294,12 +294,7 @@ $MadelineProto = new \danog\MadelineProto\API('bot.madeline'); $MadelineProto->start(); $MadelineProto->setNoop(); -$MadelineProto->loop(); ``` When an [Update](https://docs.madelineproto.xyz/API_docs/types/Update.html) is received, nothing is done. This is useful if you need to populate the internal peer database with peers to avoid `This peer is not present in the internal peer database errors`, but don't need to handle updates. -The update handling loop is started by the `$MadelineProto->loop()` method, and it will automatically restart the script if execution time runs out. - -To break out of the loop just call `die();` - -Next section \ No newline at end of file +Next section