mirror of
https://github.com/danog/MadelineProto.git
synced 2025-01-22 23:11:19 +01:00
Docufix
This commit is contained in:
parent
43dd0229e8
commit
0cd3517323
@ -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 {
|
||||
|
2
docs
2
docs
@ -1 +1 @@
|
||||
Subproject commit 81ed0ba2f958f85cfaea90836ea76991e9345833
|
||||
Subproject commit 32b251d5ba5ff19777c823395fd5dca36bb948e1
|
Loading…
x
Reference in New Issue
Block a user