Readme update

This commit is contained in:
Alexander Pankratov 2020-01-19 19:44:10 +03:00
parent df208e0122
commit 85b68fde9b

View File

@ -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: