danog\MadelineProto\MyTelegramOrgWrapper
Author: Daniil Gentili daniil@daniil.it
Wrapper for my.telegram.org.
Method list:
__construct(\danog\MadelineProto\SettingsAbstract $settings)
login(string $number): void
completeLogin(string $password)
loggedIn(): bool
hasApp()
getApp()
createApp(array $settings)
Methods:
__construct(\danog\MadelineProto\SettingsAbstract $settings)
Constructor.
Parameters:
$settings
:\danog\MadelineProto\SettingsAbstract
See also:
\danog\MadelineProto\SettingsAbstract
login(string $number): void
Login.
Parameters:
$number
:string
Phone number
completeLogin(string $password)
Complete login.
Parameters:
$password
:string
Password
loggedIn(): bool
Whether we are logged in.
hasApp()
Check if an app was already created.
getApp()
Get the currently created app.
createApp(array $settings)
Create an app.
Parameters:
$settings
:array
App parameters
Generated by danog/phpdoc