diff --git a/docs/PHP/danog/MadelineProto/EventHandler/Update.md b/docs/PHP/danog/MadelineProto/EventHandler/Update.md index add974108c..5ce57beba2 100644 --- a/docs/PHP/danog/MadelineProto/EventHandler/Update.md +++ b/docs/PHP/danog/MadelineProto/EventHandler/Update.md @@ -1,6 +1,6 @@ --- title: "danog\\MadelineProto\\EventHandler\\Update: Represents a generic update." -description: "" +description: "\nNOTE: use serialize(), not json_encode() to serialize updates.\n\njson_encode() may only be used for logging updates.\n" image: "https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png" parent: "MadelineProto API" @@ -14,6 +14,10 @@ parent: "MadelineProto API" Represents a generic update. +NOTE: use serialize(), not json_encode() to serialize updates. + +json_encode() may only be used for logging updates. + --- Generated by [danog/phpdoc](https://phpdoc.daniil.it) diff --git a/docs/docs/UPDATES.md b/docs/docs/UPDATES.md index 3e591600f1..b76b0dfdc0 100644 --- a/docs/docs/UPDATES.md +++ b/docs/docs/UPDATES.md @@ -1382,4 +1382,4 @@ $MadelineProto = new \danog\MadelineProto\API('bot.madeline'); echo json_encode($MadelineProto->getUpdates($_GET)); ``` -Next section +Next section \ No newline at end of file