Add tip to visit try.madelineproto.xyz
This commit is contained in:
parent
449264ed69
commit
51582ce5f1
10
README.md
10
README.md
@ -39,7 +39,7 @@ $MadelineProto->messages->sendMessage(['peer' => 'https://t.me/joinchat/Bgrajz6K
|
||||
echo 'OK, done!'.PHP_EOL;
|
||||
```
|
||||
|
||||
Run this code in a browser or in a console.
|
||||
[Try this code now!](https://try.madelineproto.xyz) or run this code in a browser or in a console.
|
||||
|
||||
|
||||
Tip: if you receive an error (or nothing), [send us](https://t.me/pwrtelegramgroup) the error message and the `MadelineProto.log` file that was created in the same directory (if running from a browser).
|
||||
@ -125,10 +125,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)
|
||||
* [Contributing](https://docs.madelineproto.xyz/docs/CONTRIB.html)
|
||||
* [Translation](https://docs.madelineproto.xyz/docs/CONTRIB.html#translation)
|
||||
* [Contribution guide](https://docs.madelineproto.xyz/docs/CONTRIB.html#contribution-guide)
|
||||
* [Credits](https://docs.madelineproto.xyz/docs/CONTRIB.html#credits)
|
||||
* [Web templates for `$MadelineProto->start()`](https://docs.madelineproto.xyz/docs/TEMPLATES.html)
|
||||
|
||||
|
||||
|
@ -43,7 +43,7 @@ foreach ($files as $file) {
|
||||
$orderedfiles[18] = $file;
|
||||
} else if ($base === 'PROXY') {
|
||||
$orderedfiles[19] = $file;
|
||||
} else if ($base === 'CONTRIBUTING') {
|
||||
} else if ($base === 'CONTRIB') {
|
||||
$orderedfiles[20] = $file;
|
||||
} else if ($base === 'TEMPLATES') {
|
||||
$orderedfiles[21] = $file;
|
||||
@ -61,7 +61,8 @@ foreach ($orderedfiles as $key => $filename) {
|
||||
}
|
||||
if (isset($orderedfiles[$key+1])) {
|
||||
$nextfile = "https://docs.madelineproto.xyz/docs/".basename($orderedfiles[$key+1], '.md').".html";
|
||||
$lines[count($lines)] = "\n<form action=\"$nextfile\"><input type=\"submit\" value=\"Next section\" /></form>";
|
||||
$prevfile = $key === 0 ? "https://docs.madelineproto.xyz" : "https://docs.madelineproto.xyz/docs/".basename($orderedfiles[$key-1], '.md').".html";
|
||||
$lines[count($lines)] = "\n<form action=\"$prevfile\"><input type=\"submit\" value=\"Previous section\" /></form><form action=\"$nextfile\"><input type=\"submit\" value=\"Next section\" /></form>";
|
||||
} else {
|
||||
$lines[count($lines)] = "\n<form action=\"https://docs.madelineproto.xyz/#very-complex-and-complete-examples\"><input type=\"submit\" value=\"Next section\" /></form>";
|
||||
}
|
||||
|
@ -120,4 +120,6 @@ foreach ($updates as $update) {
|
||||
|
||||
|
||||
|
||||
<form action="https://docs.madelineproto.xyz/docs/SECRET_CHATS.html"><input type="submit" value="Next section" /></form>
|
||||
|
||||
|
||||
<form action="https://docs.madelineproto.xyz/docs/INLINE_BUTTONS.html"><input type="submit" value="Previous section" /></form><form action="https://docs.madelineproto.xyz/docs/SECRET_CHATS.html"><input type="submit" value="Next section" /></form>
|
@ -45,4 +45,6 @@ You can also use `get_info` to get chat info, see [here for the parameters and t
|
||||
|
||||
|
||||
|
||||
<form action="https://docs.madelineproto.xyz/docs/DIALOGS.html"><input type="submit" value="Next section" /></form>
|
||||
|
||||
|
||||
<form action="https://docs.madelineproto.xyz/docs/FILES.html"><input type="submit" value="Previous section" /></form><form action="https://docs.madelineproto.xyz/docs/DIALOGS.html"><input type="submit" value="Next section" /></form>
|
@ -92,4 +92,6 @@ Thanks to the devs that contributed to these projects, MadelineProto is now an e
|
||||
|
||||
|
||||
|
||||
<form action="https://docs.madelineproto.xyz/docs/TEMPLATES.html"><input type="submit" value="Next section" /></form>
|
||||
|
||||
|
||||
<form action="https://docs.madelineproto.xyz/docs/PROXY.html"><input type="submit" value="Previous section" /></form><form action="https://docs.madelineproto.xyz/docs/TEMPLATES.html"><input type="submit" value="Next section" /></form>
|
@ -23,4 +23,6 @@ $MadelineProto->session = 'newsession.madeline';
|
||||
|
||||
|
||||
|
||||
<form action="https://docs.madelineproto.xyz/docs/LOGIN.html"><input type="submit" value="Next section" /></form>
|
||||
|
||||
|
||||
<form action="https://docs.madelineproto.xyz"><input type="submit" value="Previous section" /></form><form action="https://docs.madelineproto.xyz/docs/LOGIN.html"><input type="submit" value="Next section" /></form>
|
@ -34,4 +34,6 @@ Since bots cannot run `get_dialogs`, you must make use of the internal MadelineP
|
||||
|
||||
|
||||
|
||||
<form action="https://docs.madelineproto.xyz/docs/INLINE_BUTTONS.html"><input type="submit" value="Next section" /></form>
|
||||
|
||||
|
||||
<form action="https://docs.madelineproto.xyz/docs/CHAT_INFO.html"><input type="submit" value="Previous section" /></form><form action="https://docs.madelineproto.xyz/docs/INLINE_BUTTONS.html"><input type="submit" value="Next section" /></form>
|
@ -109,4 +109,6 @@ try {
|
||||
|
||||
|
||||
|
||||
<form action="https://docs.madelineproto.xyz/docs/FLOOD_WAIT.html"><input type="submit" value="Next section" /></form>
|
||||
|
||||
|
||||
<form action="https://docs.madelineproto.xyz/docs/SELF.html"><input type="submit" value="Previous section" /></form><form action="https://docs.madelineproto.xyz/docs/FLOOD_WAIT.html"><input type="submit" value="Next section" /></form>
|
@ -45,4 +45,6 @@
|
||||
|
||||
|
||||
|
||||
<form action="https://docs.madelineproto.xyz/docs/REQUIREMENTS.html"><input type="submit" value="Next section" /></form>
|
||||
|
||||
|
||||
<form action="https://docs.madelineproto.xyz/docs/LOGIN.html"><input type="submit" value="Previous section" /></form><form action="https://docs.madelineproto.xyz/docs/REQUIREMENTS.html"><input type="submit" value="Next section" /></form>
|
@ -430,4 +430,6 @@ $output_file_name = $MadelineProto->download_to_file(
|
||||
|
||||
|
||||
|
||||
<form action="https://docs.madelineproto.xyz/docs/CHAT_INFO.html"><input type="submit" value="Next section" /></form>
|
||||
|
||||
|
||||
<form action="https://docs.madelineproto.xyz/docs/USING_METHODS.html"><input type="submit" value="Previous section" /></form><form action="https://docs.madelineproto.xyz/docs/CHAT_INFO.html"><input type="submit" value="Next section" /></form>
|
@ -16,4 +16,6 @@ Use sleep to execute max N calls in `floodwaitrate` seconds, this way you won't
|
||||
|
||||
|
||||
|
||||
<form action="https://docs.madelineproto.xyz/docs/LOGGING.html"><input type="submit" value="Next section" /></form>
|
||||
|
||||
|
||||
<form action="https://docs.madelineproto.xyz/docs/EXCEPTIONS.html"><input type="submit" value="Previous section" /></form><form action="https://docs.madelineproto.xyz/docs/LOGGING.html"><input type="submit" value="Next section" /></form>
|
@ -55,4 +55,6 @@ $button->click();
|
||||
|
||||
|
||||
|
||||
<form action="https://docs.madelineproto.xyz/docs/CALLS.html"><input type="submit" value="Next section" /></form>
|
||||
|
||||
|
||||
<form action="https://docs.madelineproto.xyz/docs/DIALOGS.html"><input type="submit" value="Previous section" /></form><form action="https://docs.madelineproto.xyz/docs/CALLS.html"><input type="submit" value="Next section" /></form>
|
@ -124,4 +124,6 @@ Now open `.env` and edit its values as needed.
|
||||
|
||||
|
||||
|
||||
<form action="https://docs.madelineproto.xyz/docs/UPDATES.html"><input type="submit" value="Next section" /></form>
|
||||
|
||||
|
||||
<form action="https://docs.madelineproto.xyz/docs/REQUIREMENTS.html"><input type="submit" value="Previous section" /></form><form action="https://docs.madelineproto.xyz/docs/UPDATES.html"><input type="submit" value="Next section" /></form>
|
@ -21,4 +21,6 @@ By default, `$level` is `\danog\MadelineProto\Logger:NOTICE`.
|
||||
|
||||
|
||||
|
||||
<form action="https://docs.madelineproto.xyz/docs/USING_METHODS.html"><input type="submit" value="Next section" /></form>
|
||||
|
||||
|
||||
<form action="https://docs.madelineproto.xyz/docs/FLOOD_WAIT.html"><input type="submit" value="Previous section" /></form><form action="https://docs.madelineproto.xyz/docs/USING_METHODS.html"><input type="submit" value="Next section" /></form>
|
@ -62,4 +62,6 @@ Use `logout` to logout, see [here for the parameters and the result](https://doc
|
||||
|
||||
|
||||
|
||||
<form action="https://docs.madelineproto.xyz/docs/FEATURES.html"><input type="submit" value="Next section" /></form>
|
||||
|
||||
|
||||
<form action="https://docs.madelineproto.xyz/docs/CREATING_A_CLIENT.html"><input type="submit" value="Previous section" /></form><form action="https://docs.madelineproto.xyz/docs/FEATURES.html"><input type="submit" value="Next section" /></form>
|
@ -20,4 +20,6 @@ td-cli wrappers are also present: you can use the tdcli_function in lua and pass
|
||||
|
||||
|
||||
|
||||
<form action="https://docs.madelineproto.xyz/docs/PROXY.html"><input type="submit" value="Next section" /></form>
|
||||
|
||||
|
||||
<form action="https://docs.madelineproto.xyz/docs/SECRET_CHATS.html"><input type="submit" value="Previous section" /></form><form action="https://docs.madelineproto.xyz/docs/PROXY.html"><input type="submit" value="Next section" /></form>
|
@ -124,4 +124,6 @@ Can return additional HTTP headers to use when the HTTP protocol is being used.
|
||||
|
||||
|
||||
|
||||
<form action="https://docs.madelineproto.xyz/docs/CONTRIBUTING.html"><input type="submit" value="Next section" /></form>
|
||||
|
||||
|
||||
<form action="https://docs.madelineproto.xyz/docs/LUA.html"><input type="submit" value="Previous section" /></form><form action="https://docs.madelineproto.xyz/docs/CONTRIB.html"><input type="submit" value="Next section" /></form>
|
@ -17,4 +17,6 @@ Next, follow the instructions on voip.madelineproto.xyz and prime.madelineproto.
|
||||
|
||||
|
||||
|
||||
<form action="https://docs.madelineproto.xyz/docs/INSTALLATION.html"><input type="submit" value="Next section" /></form>
|
||||
|
||||
|
||||
<form action="https://docs.madelineproto.xyz/docs/FEATURES.html"><input type="submit" value="Previous section" /></form><form action="https://docs.madelineproto.xyz/docs/INSTALLATION.html"><input type="submit" value="Next section" /></form>
|
@ -72,4 +72,6 @@ This method gets info about a certain chat.
|
||||
|
||||
|
||||
|
||||
<form action="https://docs.madelineproto.xyz/docs/LUA.html"><input type="submit" value="Next section" /></form>
|
||||
|
||||
|
||||
<form action="https://docs.madelineproto.xyz/docs/CALLS.html"><input type="submit" value="Previous section" /></form><form action="https://docs.madelineproto.xyz/docs/LUA.html"><input type="submit" value="Next section" /></form>
|
@ -12,4 +12,6 @@ $me = $MadelineProto->get_self();
|
||||
|
||||
|
||||
|
||||
<form action="https://docs.madelineproto.xyz/docs/EXCEPTIONS.html"><input type="submit" value="Next section" /></form>
|
||||
|
||||
|
||||
<form action="https://docs.madelineproto.xyz/docs/SETTINGS.html"><input type="submit" value="Previous section" /></form><form action="https://docs.madelineproto.xyz/docs/EXCEPTIONS.html"><input type="submit" value="Next section" /></form>
|
@ -401,4 +401,6 @@ $MadelineProto->settings['updates']['handle_updates'] = true; // reenable update
|
||||
|
||||
|
||||
|
||||
<form action="https://docs.madelineproto.xyz/docs/SELF.html"><input type="submit" value="Next section" /></form>
|
||||
|
||||
|
||||
<form action="https://docs.madelineproto.xyz/docs/UPDATES.html"><input type="submit" value="Previous section" /></form><form action="https://docs.madelineproto.xyz/docs/SELF.html"><input type="submit" value="Next section" /></form>
|
@ -32,4 +32,6 @@ $MadelineProto->set_web_template($new_template);
|
||||
The new template must have a structure similar the the default template.
|
||||
|
||||
|
||||
|
||||
|
||||
<form action="https://docs.madelineproto.xyz/#very-complex-and-complete-examples"><input type="submit" value="Next section" /></form>
|
@ -202,4 +202,6 @@ Note that multiprocessing is not the same as multithreading, and should be avoid
|
||||
|
||||
|
||||
|
||||
<form action="https://docs.madelineproto.xyz/docs/SETTINGS.html"><input type="submit" value="Next section" /></form>
|
||||
|
||||
|
||||
<form action="https://docs.madelineproto.xyz/docs/INSTALLATION.html"><input type="submit" value="Previous section" /></form><form action="https://docs.madelineproto.xyz/docs/SETTINGS.html"><input type="submit" value="Next section" /></form>
|
@ -101,4 +101,6 @@ If the queue if the specified queue name does not exist, it will be created.
|
||||
|
||||
|
||||
|
||||
<form action="https://docs.madelineproto.xyz/docs/FILES.html"><input type="submit" value="Next section" /></form>
|
||||
|
||||
|
||||
<form action="https://docs.madelineproto.xyz/docs/LOGGING.html"><input type="submit" value="Previous section" /></form><form action="https://docs.madelineproto.xyz/docs/FILES.html"><input type="submit" value="Next section" /></form>
|
@ -43,7 +43,7 @@ $MadelineProto->messages->sendMessage(['peer' => 'https://t.me/joinchat/Bgrajz6K
|
||||
echo 'OK, done!'.PHP_EOL;
|
||||
```
|
||||
|
||||
Run this code in a browser or in a console.
|
||||
[Try this code now!](https://try.madelineproto.xyz) or run this code in a browser or in a console.
|
||||
|
||||
|
||||
Tip: if you receive an error (or nothing), [send us](https://t.me/pwrtelegramgroup) the error message and the `MadelineProto.log` file that was created in the same directory (if running from a browser).
|
||||
@ -129,10 +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)
|
||||
* [Contributing](https://docs.madelineproto.xyz/docs/CONTRIB.html)
|
||||
* [Translation](https://docs.madelineproto.xyz/docs/CONTRIB.html#translation)
|
||||
* [Contribution guide](https://docs.madelineproto.xyz/docs/CONTRIB.html#contribution-guide)
|
||||
* [Credits](https://docs.madelineproto.xyz/docs/CONTRIB.html#credits)
|
||||
* [Web templates for `$MadelineProto->start()`](https://docs.madelineproto.xyz/docs/TEMPLATES.html)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user