danog\MadelineProto\Conversion
Author: Daniil Gentili daniil@daniil.it
Properties
$tdesktop_base_path
:mixed
$tdesktop_user_base_path
:mixed
$tdesktop_key
:mixed
Method list:
importAuthorization(array<int, string> $authorization, int $main_dc_id, string $session, ?\danog\MadelineProto\SettingsAbstract $settings = NULL): \danog\MadelineProto\API
telethon(string $session, string $new_session, (\danog\MadelineProto\SettingsAbstract|null) $settings = NULL): \danog\MadelineProto\API
pyrogram(string $session, string $new_session, (\danog\MadelineProto\SettingsAbstract|null) $settings = NULL): \danog\MadelineProto\API
zerobias(array|string $session, string $new_session, ?\danog\MadelineProto\SettingsAbstract $settings = NULL): \danog\MadelineProto\API
Methods:
importAuthorization(array<int, string> $authorization, int $main_dc_id, string $session, ?\danog\MadelineProto\SettingsAbstract $settings = NULL): \danog\MadelineProto\API
Import authorization from raw auth key and DC id.
Parameters:
$authorization
:array<int, string>
Authorization info, DC ID => auth key$main_dc_id
:int
$session
:string
$settings
:?\danog\MadelineProto\SettingsAbstract
See also:
\danog\MadelineProto\SettingsAbstract
\danog\MadelineProto\API
: Main API wrapper for MadelineProto.
telethon(string $session, string $new_session, (\danog\MadelineProto\SettingsAbstract|null) $settings = NULL): \danog\MadelineProto\API
Convert telethon session.
Parameters:
$session
:string
Telethon session file$new_session
:string
MadelineProto session directory to create$settings
:(\danog\MadelineProto\SettingsAbstract|null)
Settings
See also:
\danog\MadelineProto\SettingsAbstract
\danog\MadelineProto\API
: Main API wrapper for MadelineProto.
pyrogram(string $session, string $new_session, (\danog\MadelineProto\SettingsAbstract|null) $settings = NULL): \danog\MadelineProto\API
Convert pyrogram session.
Parameters:
$session
:string
Pyrogram session file$new_session
:string
MadelineProto session directory to create$settings
:(\danog\MadelineProto\SettingsAbstract|null)
Settings
See also:
\danog\MadelineProto\SettingsAbstract
\danog\MadelineProto\API
: Main API wrapper for MadelineProto.
zerobias(array|string $session, string $new_session, ?\danog\MadelineProto\SettingsAbstract $settings = NULL): \danog\MadelineProto\API
Parameters:
$session
:array|string
$new_session
:string
$settings
:?\danog\MadelineProto\SettingsAbstract
See also:
\danog\MadelineProto\SettingsAbstract
\danog\MadelineProto\API
: Main API wrapper for MadelineProto.
Generated by danog/phpdoc