2017-01-02 19:50:37 +01:00
---
title: Methods
2018-03-23 17:48:12 +01:00
description: What do you want to do?
2017-01-02 19:50:37 +01:00
---
2018-03-23 17:48:12 +01:00
# What do you want to do?
[Go back to API documentation index ](.. )
2017-01-02 19:50:37 +01:00
2018-03-23 17:50:03 +01:00
[Go to the old code-version method index ](api_index.md )
2017-01-02 19:50:37 +01:00
2018-03-23 17:48:12 +01:00
* [Logout ](https://docs.madelineproto.xyz/logout.html )
2017-08-25 14:29:02 +02:00
2018-03-23 17:48:12 +01:00
* [Login ](https://docs.madelineproto.xyz/docs/LOGIN.html )
2017-08-25 14:29:02 +02:00
2018-03-23 17:48:12 +01:00
* [Get all chats, broadcast a message to all chats ](https://docs.madelineproto.xyz/docs/DIALOGS.html )
2017-08-25 14:29:02 +02:00
2018-03-23 17:48:12 +01:00
* [Get the full participant list of a channel/group/supergroup ](https://docs.madelineproto.xyz/get_pwr_chat.html )
2017-08-25 14:29:02 +02:00
2018-03-23 17:48:12 +01:00
* [Get full info about a user/chat/supergroup/channel ](https://docs.madelineproto.xyz/get_full_info.html )
2017-08-25 14:29:02 +02:00
2018-03-23 17:48:12 +01:00
* [Get info about a user/chat/supergroup/channel ](https://docs.madelineproto.xyz/get_info.html )
2017-08-25 14:29:02 +02:00
2018-03-23 17:48:12 +01:00
* [Get info about the currently logged-in user ](https://docs.madelineproto.xyz/get_self.html )
2017-08-25 14:29:02 +02:00
2018-03-23 17:48:12 +01:00
* [Upload or download files up to 1.5 GB ](https://docs.madelineproto.xyz/docs/FILES.html )
2017-08-25 14:29:02 +02:00
2018-03-23 17:48:12 +01:00
* [Make a phone call and play a song ](https://docs.madelineproto.xyz/docs/CALLS.html )
2017-08-25 14:29:02 +02:00
2018-03-23 17:48:12 +01:00
* [Create a secret chat bot ](https://docs.madelineproto.xyz/docs/SECRET_CHATS.html )
Documentation rework (#349)
* 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
2018-03-20 12:48:05 +01:00
2018-03-23 18:08:39 +01:00
* < a href = "destroy_session.html" name = "destroy_session" > Destroy the current MTProto session: destroy_session</ a >
2017-01-02 19:50:37 +01:00
2018-03-23 18:14:25 +01:00
* < a href = "rpc_drop_answer.html" name = "rpc_drop_answer" > Do not send answer to provided request: rpc_drop_answer</ a >
2018-03-23 18:08:39 +01:00
* < a href = "get_future_salts.html" name = "get_future_salts" > Get future salts: get_future_salts</ a >
2017-01-02 19:50:37 +01:00
2018-03-23 18:08:39 +01:00
* < a href = "http_wait.html" name = "http_wait" > Makes the server send messages waiting in the buffer: http_wait</ a >
2017-01-02 19:50:37 +01:00
2018-03-23 18:08:39 +01:00
* < a href = "ping_delay_disconnect.html" name = "ping_delay_disconnect" > Pings the server and causes disconection if the same method is not called within ping_disconnect_delay: ping_delay_disconnect</ a >
2017-01-02 19:50:37 +01:00
2018-03-23 18:08:39 +01:00
* < a href = "req_DH_params.html" name = "req_DH_params" > Requests Diffie-hellman parameters for key exchange: req_DH_params</ a >
2017-01-02 19:50:37 +01:00
2018-03-23 18:08:39 +01:00
* < a href = "req_pq_multi.html" name = "req_pq_multi" > Requests PQ for factorization (new version): req_pq_multi</ a >
2018-02-18 14:18:18 +01:00
2018-03-23 18:14:25 +01:00
* < a href = "req_pq.html" name = "req_pq" > Requests PQ for factorization: req_pq</ a >
2017-01-02 19:50:37 +01:00
2018-03-23 18:08:39 +01:00
* < a href = "set_client_DH_params.html" name = "set_client_DH_params" > Sets client diffie-hellman parameters: set_client_DH_params</ a >
2017-01-02 19:50:37 +01:00
2018-03-23 18:14:25 +01:00
* < a href = "ping.html" name = "ping" > pings the server: ping</ a >