Update docs

This commit is contained in:
Daniil Gentili 2018-03-20 16:38:02 +01:00
parent e39ce11798
commit 2b857cb6ad
2 changed files with 7 additions and 0 deletions

View File

@ -36,6 +36,7 @@ try {
}
$MadelineProto->messages->sendMessage(['peer' => 'https://t.me/joinchat/Bgrajz6K-aJKu0IpGsLpBg', 'message' => 'Testing MadelineProto!']);
echo 'OK, done!'.PHP_EOL;
```
Run this code in a browser or in a console.

View File

@ -40,6 +40,7 @@ try {
}
$MadelineProto->messages->sendMessage(['peer' => 'https://t.me/joinchat/Bgrajz6K-aJKu0IpGsLpBg', 'message' => 'Testing MadelineProto!']);
echo 'OK, done!'.PHP_EOL;
```
Run this code in a browser or in a console.
@ -77,6 +78,7 @@ Tip: if you receive an error (or nothing), [send us](https://t.me/pwrtelegramgro
* [List of exception types](https://docs.madelineproto.xyz/docs/EXCEPTIONS.html#list-of-exception-types)
* [Pretty TL trace](https://docs.madelineproto.xyz/docs/EXCEPTIONS.html#pretty-tl-trace)
* [Getting the TL trace](https://docs.madelineproto.xyz/docs/EXCEPTIONS.html#getting-the-tl-trace)
* [Avoiding FLOOD_WAITs](https://docs.madelineproto.xyz/docs/FLOOD_WAIT.html)
* [Logging](https://docs.madelineproto.xyz/docs/LOGGING.html)
* [Using methods](https://docs.madelineproto.xyz/docs/USING_METHODS.html)
* [Peers](https://docs.madelineproto.xyz/docs/USING_METHODS.html#peers)
@ -127,6 +129,10 @@ Tip: if you receive an error (or nothing), [send us](https://t.me/pwrtelegramgro
* [Sending secret messages](https://docs.madelineproto.xyz/docs/SECRET_CHATS.html#sending-secret-messages)
* [Lua binding](https://docs.madelineproto.xyz/docs/LUA.html)
* [Using a proxy](https://docs.madelineproto.xyz/docs/PROXY.html)
* [Contributing](https://docs.madelineproto.xyz/docs/CONTRIBUTING.html)
* [Translation](https://docs.madelineproto.xyz/docs/CONTRIBUTING.html#translation)
* [Contribution guide](https://docs.madelineproto.xyz/docs/CONTRIBUTING.html#contribution-guide)
* [Credits](https://docs.madelineproto.xyz/docs/CONTRIBUTING.html#credits)
## Very complex and complete examples