Skip to content

Commit

Permalink
Fixdocs
Browse files Browse the repository at this point in the history
  • Loading branch information
danog committed Jan 10, 2020
1 parent f697f7b commit aba6cb2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/docs/LOGIN.md
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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>

0 comments on commit aba6cb2

Please sign in to comment.