Fixdocs
This commit is contained in:
parent
f697f7bf92
commit
aba6cb23e4
@ -70,7 +70,7 @@ if (yield $wrapper->loggedIn()) {
|
||||
$url = yield $wrapper->readLine('Enter the app/website\'s URL, or t.me/yourusername: ');
|
||||
$description = yield $wrapper->readLine('Describe your app: ');
|
||||
|
||||
$app = yield $wrapper->my_telegram_org_wrapper->create_app_async(['app_title' => $app_title, 'app_shortname' => $short_name, 'app_url' => $url, 'app_platform' => 'web', 'app_desc' => $description]);
|
||||
$app = yield $wrapper->createApp(['app_title' => $app_title, 'app_shortname' => $short_name, 'app_url' => $url, 'app_platform' => 'web', 'app_desc' => $description]);
|
||||
}
|
||||
|
||||
\danog\MadelineProto\Logger::log($app);
|
||||
@ -134,4 +134,4 @@ $result = yield $MadelineProto->update2fa(['password' => 'current password', 'ne
|
||||
|
||||
If you want to logout, you can use the update2fa function, see [here for the parameters and the result](https://docs.madelineproto.xyz/update2fa.html).
|
||||
|
||||
<a href="https://docs.madelineproto.xyz/docs/FEATURES.html">Next section</a>
|
||||
<a href="https://docs.madelineproto.xyz/docs/FEATURES.html">Next section</a>
|
||||
|
Loading…
Reference in New Issue
Block a user