--- title: Methods (API) description: List of methods nav_exclude: true image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png --- # Methods [Back to API documentation index](..) [Go to the new description-version method index](%s) $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); %s