danog\MadelineProto\MyTelegramOrgWrapper
Author: Daniil Gentili daniil@daniil.it
Wrapper for my.telegram.org.
Method list:
login(string $number)
completeLogin(string $password)
loggedIn()
hasApp()
getApp()
createApp(array $settings)
loop(callable $callable)
Methods:
login(string $number)
Login.
Parameters:
$number
:string
Phone number
completeLogin(string $password)
Complete login.
Parameters:
$password
:string
Password
loggedIn()
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
loop(callable $callable)
Run specified callable synchronously.
Parameters:
$callable
:callable
Callable
Generated by danog/phpdoc