Update README.md

This commit is contained in:
Daniil Gentili 2019-12-23 16:21:52 +01:00 committed by GitHub
parent d4c188ece4
commit 950a0e205d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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) {