Link Search Menu Expand Document

danog\MadelineProto\MyTelegramOrgWrapper

Back to index

Author: Daniil Gentili daniil@daniil.it

Wrapper for my.telegram.org.

Method list:

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