diff --git a/README.md b/README.md index 3b45fa6c0..b89cb6dcd 100644 --- a/README.md +++ b/README.md @@ -36,12 +36,12 @@ $me = $MadelineProto->getSelf(); $MadelineProto->logger($me); if (!$me['bot']) { - // This example uses PHP 8.0+ syntax with named arguments - $MadelineProto->messages->sendMessage(peer: '@danogentili', message: "Hi!\nThanks for creating MadelineProto (PHP 8)! <3"]); - // This example uses PHP 7.1+ syntax with arrays $MadelineProto->messages->sendMessage(['peer' => '@danogentili', 'message' => "Hi!\nThanks for creating MadelineProto (PHP 7)! <3"]); + // This example uses PHP 8.0+ syntax with named arguments + $MadelineProto->messages->sendMessage(peer: '@danogentili', message: "Hi!\nThanks for creating MadelineProto (PHP 8)! <3"); + $MadelineProto->channels->joinChannel(channel: '@MadelineProto'); try { diff --git a/docs b/docs index 81ed0ba2f..32b251d5b 160000 --- a/docs +++ b/docs @@ -1 +1 @@ -Subproject commit 81ed0ba2f958f85cfaea90836ea76991e9345833 +Subproject commit 32b251d5ba5ff19777c823395fd5dca36bb948e1