Update README.md
This commit is contained in:
parent
d4c188ece4
commit
950a0e205d
@ -12,7 +12,7 @@ For a **fully separate and standalone** pure JS client-side implementation of th
|
|||||||
|
|
||||||
## Instantiation
|
## Instantiation
|
||||||
|
|
||||||
```
|
```php
|
||||||
use danog\MadelineProto\TON\API;
|
use danog\MadelineProto\TON\API;
|
||||||
|
|
||||||
$API = new API(
|
$API = new API(
|
||||||
@ -26,7 +26,7 @@ $API = new API(
|
|||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
```
|
```php
|
||||||
$API->async(true);
|
$API->async(true);
|
||||||
$API->loop(
|
$API->loop(
|
||||||
function () use ($API) {
|
function () use ($API) {
|
||||||
|
Loading…
Reference in New Issue
Block a user