Link Search Menu Expand Document

danog\MadelineProto\Conversion

Back to index

Author: Daniil Gentili daniil@daniil.it

Properties

  • $tdesktop_base_path: mixed
  • $tdesktop_user_base_path: mixed
  • $tdesktop_key: mixed

Method list:

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:

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:

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:

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:


Generated by danog/phpdoc