mirror of
https://github.com/danog/TelegramApiServer.git
synced 2024-11-30 04:19:13 +01:00
Readme update
This commit is contained in:
parent
df208e0122
commit
85b68fde9b
@ -103,13 +103,12 @@ Fast, simple, async php telegram api server:
|
|||||||
* glob syntax for sessions:
|
* glob syntax for sessions:
|
||||||
* `--session=*` to use all `sessions/*.madeline` files.
|
* `--session=*` to use all `sessions/*.madeline` files.
|
||||||
* `--session=users/* --session=bots/*` to use all session files from `sessions/bots` and `sessions/users` folders.
|
* `--session=users/* --session=bots/*` to use all session files from `sessions/bots` and `sessions/users` folders.
|
||||||
* Session management
|
* Session management (**Use with caution, can be unstable**)
|
||||||
Session can be added and removed while server is running.
|
|
||||||
|
|
||||||
**Examples:**
|
**Examples:**
|
||||||
* Adding session: `http://127.0.0.1:9503/system/addInstance?session=users/xtrime`
|
* Adding session: `http://127.0.0.1:9503/system/addInstance?session=users/xtrime`
|
||||||
* Removing session: `http://127.0.0.1:9503/system/removeInstance?session=users/xtrime`
|
* Removing session: `http://127.0.0.1:9503/system/removeInstance?session=users/xtrime`
|
||||||
|
|
||||||
If there is no authorization in session, or session file is blank, authorization required:
|
If there is no authorization in session, or session file is blank, authorization required:
|
||||||
|
|
||||||
User:
|
User:
|
||||||
|
Loading…
Reference in New Issue
Block a user