MadelineProtoDocs/docs/MTProto_docs/methods/api_index.md
2019-12-27 17:48:04 +01:00

3.4 KiB

title description image
Methods List of methods https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Methods

Back to API documentation index

Go to the new description-version method index

$MadelineProto->logout();

$MadelineProto->phoneLogin($number);

$MadelineProto->completePhoneLogin($code);

$MadelineProto->complete2FALogin($password);

$MadelineProto->botLogin($token);

$MadelineProto->getDialogs();

$MadelineProto->getPwrChat($id);

$MadelineProto->getInfo($id);

$MadelineProto->getFullInfo($id);

$MadelineProto->getSelf();

$MadelineProto->requestCall($id);

$MadelineProto->requestSecretChat($id);




$MadelineProto->destroy_session(['session_id' => long, ]) === $DestroySessionRes




$MadelineProto->get_future_salts(['num' => int, ]) === $FutureSalts




$MadelineProto->http_wait(['max_delay' => int, 'wait_after' => int, 'max_wait' => int, ]) === $HttpWait




$MadelineProto->ping(['ping_id' => long, ]) === $Pong

$MadelineProto->ping_delay_disconnect(['ping_id' => long, 'disconnect_delay' => int, ]) === $Pong




$MadelineProto->req_DH_params(['nonce' => int128, 'server_nonce' => int128, 'p' => bytes, 'q' => bytes, 'public_key_fingerprint' => long, 'encrypted_data' => bytes, ]) === $Server_DH_Params

$MadelineProto->req_pq(['nonce' => int128, ]) === $ResPQ

$MadelineProto->req_pq_multi(['nonce' => int128, ]) === $ResPQ




$MadelineProto->rpc_drop_answer(['req_msg_id' => long, ]) === $RpcDropAnswer




$MadelineProto->set_client_DH_params(['nonce' => int128, 'server_nonce' => int128, 'encrypted_data' => bytes, ]) === $Set_client_DH_params_answer