68 lines
3.2 KiB
Markdown
68 lines
3.2 KiB
Markdown
---
|
|
title: Methods
|
|
description: List of methods
|
|
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
|
|
---
|
|
# Methods
|
|
[Back to API documentation index](..)
|
|
|
|
[Go to the new description-version method index](index.md)
|
|
|
|
$MadelineProto->[logout](https://docs.madelineproto.xyz/logout.html)();
|
|
|
|
$MadelineProto->[phoneLogin](https://docs.madelineproto.xyz/phoneLogin.html)($number);
|
|
|
|
$MadelineProto->[completePhoneLogin](https://docs.madelineproto.xyz/completePhoneLogin.html)($code);
|
|
|
|
$MadelineProto->[complete2FALogin](https://docs.madelineproto.xyz/complete2FAlogin.html)($password);
|
|
|
|
$MadelineProto->[botLogin](https://docs.madelineproto.xyz/botLogin.html)($token);
|
|
|
|
|
|
$MadelineProto->[getDialogs](https://docs.madelineproto.xyz/getDialogs.html)();
|
|
|
|
$MadelineProto->[getPwrChat](https://docs.madelineproto.xyz/getPwrChat.html)($id);
|
|
|
|
$MadelineProto->[getInfo](https://docs.madelineproto.xyz/getInfo.html)($id);
|
|
|
|
$MadelineProto->[getFullInfo](https://docs.madelineproto.xyz/getFullInfo.html)($id);
|
|
|
|
$MadelineProto->[getSelf](https://docs.madelineproto.xyz/getSelf.html)();
|
|
|
|
|
|
$MadelineProto->[requestCall](https://docs.madelineproto.xyz/requestCall.html)($id);
|
|
|
|
$MadelineProto->[requestSecretChat](https://docs.madelineproto.xyz/requestSecretChat.html)($id);
|
|
|
|
***
|
|
<br><br>
|
|
$MadelineProto->[destroy_session](destroy_session.md)(\['session_id' => [long](../types/long.md), \]) === [$DestroySessionRes](../types/DestroySessionRes.md)<a name="destroy_session"></a>
|
|
|
|
***
|
|
<br><br>
|
|
$MadelineProto->[get_future_salts](get_future_salts.md)(\['num' => [int](../types/int.md), \]) === [$FutureSalts](../types/FutureSalts.md)<a name="get_future_salts"></a>
|
|
|
|
***
|
|
<br><br>
|
|
$MadelineProto->[ping](ping.md)(\['ping_id' => [long](../types/long.md), \]) === [$Pong](../types/Pong.md)<a name="ping"></a>
|
|
|
|
$MadelineProto->[ping_delay_disconnect](ping_delay_disconnect.md)(\['ping_id' => [long](../types/long.md), 'disconnect_delay' => [int](../types/int.md), \]) === [$Pong](../types/Pong.md)<a name="ping_delay_disconnect"></a>
|
|
|
|
***
|
|
<br><br>
|
|
$MadelineProto->[req_DH_params](req_DH_params.md)(\['nonce' => [int128](../types/int128.md), 'server_nonce' => [int128](../types/int128.md), 'p' => [string](../types/string.md), 'q' => [string](../types/string.md), 'public_key_fingerprint' => [long](../types/long.md), 'encrypted_data' => [string](../types/string.md), \]) === [$Server\_DH\_Params](../types/Server_DH_Params.md)<a name="req_DH_params"></a>
|
|
|
|
$MadelineProto->[req_pq](req_pq.md)(\['nonce' => [int128](../types/int128.md), \]) === [$ResPQ](../types/ResPQ.md)<a name="req_pq"></a>
|
|
|
|
$MadelineProto->[req_pq_multi](req_pq_multi.md)(\['nonce' => [int128](../types/int128.md), \]) === [$ResPQ](../types/ResPQ.md)<a name="req_pq_multi"></a>
|
|
|
|
***
|
|
<br><br>
|
|
$MadelineProto->[rpc_drop_answer](rpc_drop_answer.md)(\['req_msg_id' => [long](../types/long.md), \]) === [$RpcDropAnswer](../types/RpcDropAnswer.md)<a name="rpc_drop_answer"></a>
|
|
|
|
***
|
|
<br><br>
|
|
$MadelineProto->[set_client_DH_params](set_client_DH_params.md)(\['nonce' => [int128](../types/int128.md), 'server_nonce' => [int128](../types/int128.md), 'encrypted_data' => [string](../types/string.md), \]) === [$Set\_client\_DH\_params\_answer](../types/Set_client_DH_params_answer.md)<a name="set_client_DH_params"></a>
|
|
|
|
|