31 KiB
title | description |
---|---|
Methods | What do you want to do? |
What do you want to do?
Go back to API documentation index
Go to the old code-version method index
* Change the phone number associated to this account
* Send webhook request via bot API
* Check if this username is free and can be assigned to a channel/supergroup
-
Get channel/supergroup participants (you should use
$MadelineProto->get_pwr_chat($id)
instead) -
Allow or disallow any user to invite users to this channel/supergroup
-
Enable or disable hidden history for new channel/supergroup users
* Save developer info for telegram contest
* Destroy current authorization key
* Get the changelog of this app
* Initializes connection and save information on the user's device and application.
* Invokes a query after successfull completion of one of the previous queries.
* Result type returned by a current query.
* Invoke this method with layer X
* Invoke with method without returning updates in the socket
-
Add a user to a normal chat (use channels->inviteToChannel for supergroups)
-
You cannot use this method directly, instead use $MadelineProto->get_dh_config();
-
Bots only: set the callback answer (after a button was clicked)
-
Enable all users are admins in normal groups (not supergroups)
* Requests Diffie-hellman parameters for key exchange
* Do not send answer to provided request
* Sets client diffie-hellman parameters