* Documentation rework * Apply fixes from StyleCI * Documentation fixes * Login as bot through web/cli API, allow using invite links in joinChannel, full invite links in importChatInvite and checkChatInvite, non-invite links in importChatInvite * Apply fixes from StyleCI * Logging fixes * Build docs * Add methods to modify start template, bugfix to logging and keyboard conversion * Add TL documentator * Document MTProto methods * Documenting methods... * 7% documented * Bugfixes * Update docs * Update docs * Simplify file management * Implement automatic object conversion for media, and more awesome stuff * Implement automatic object conversion for media, and more awesome stuff * Implement event update handler and file upload/download callback * Auto-detect mime type, duration, width and height of media * Update docs * Document new file functions * Fix links * Fix links * Update bot.php to use event loop * Implement webhook update handler and forking in main loop * Build docs * Better docs * Fixes to secret chats * Almost finished updating docs * Bugfixes, implemented infinite loop for loop() method, almost finished docs * Finish writing docs * Add automatic documentation builder script * Finished writing docs
3.3 KiB
title | description |
---|---|
Methods | List of methods |
Methods
Back to API documentation index
$MadelineProto->logout();
$MadelineProto->phone_login($number);
$MadelineProto->complete_phone_login($code);
$MadelineProto->complete_2FA_login($password);
$MadelineProto->bot_login($token);
$MadelineProto->get_dialogs();
$MadelineProto->get_pwr_chat($id);
$MadelineProto->get_info($id);
$MadelineProto->get_full_info($id);
$MadelineProto->get_self();
$MadelineProto->request_call($id);
$MadelineProto->request_secret_chat($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