mirror of
https://github.com/danog/TelegramApiServer.git
synced 2024-11-26 20:04:45 +01:00
Direct Api access.
This commit is contained in:
parent
bfff799f5a
commit
d1f314bba5
@ -93,7 +93,8 @@ Fast, simple, async php telegram client and parser: MadelineProto + Swoole Serve
|
||||
* Url: `http://%address%:%port%/api/%method%/?%param1%=%val%`
|
||||
* All available methods you can find in `src/Client.php`.
|
||||
* <b>Important: All parameters must be passed at strict order!</b>
|
||||
* <b>Important: api available only from ip in whitelist. By default it is: `127.0.0.1`
|
||||
* <b>Important: api available only from ip in whitelist.</b>
|
||||
By default it is: `127.0.0.1`
|
||||
You can add client ip in .env file to `API_CLIENT_WHITELIST` (use json format)
|
||||
|
||||
Examples:
|
||||
|
Loading…
Reference in New Issue
Block a user