Fixing markdown syntax

This commit is contained in:
danogentili 2016-12-19 21:20:07 +03:00
parent cb7a07f2b0
commit 7ebaa0a390
176 changed files with 532 additions and 528 deletions

View File

@ -55,6 +55,8 @@ $types = [];
\danog\MadelineProto\Logger::log('Generating methods documentation...');
foreach ($TL->methods->method as $key => $method) {
$method = str_replace('.', '_', $method);
$type = str_replace(['.', '<', '>'], ['_', '_of_', ''], $TL->methods->type[$key]);
$real_type = preg_replace('/.*_of_/', '', $type);
@ -284,6 +286,8 @@ $index = '';
\danog\MadelineProto\Logger::log('Generating types documentation...');
foreach ($types as $type => $keys) {
$type = str_replace('.', '_', $type);
$index .= '['.$type.']('.$type.'.md)
';

View File

@ -1,4 +1,4 @@
## Method: account.changePhone
## Method: account\_changePhone
### Parameters:
@ -29,5 +29,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$User = $MadelineProto->account->changePhone(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]);
$User = $MadelineProto->account_changePhone(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]);
```

View File

@ -1,4 +1,4 @@
## Method: account.checkUsername
## Method: account\_checkUsername
### Parameters:
@ -27,5 +27,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$Bool = $MadelineProto->account->checkUsername(['username' => string, ]);
$Bool = $MadelineProto->account_checkUsername(['username' => string, ]);
```

View File

@ -1,4 +1,4 @@
## Method: account.confirmPhone
## Method: account\_confirmPhone
### Parameters:
@ -28,5 +28,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$Bool = $MadelineProto->account->confirmPhone(['phone_code_hash' => string, 'phone_code' => string, ]);
$Bool = $MadelineProto->account_confirmPhone(['phone_code_hash' => string, 'phone_code' => string, ]);
```

View File

@ -1,4 +1,4 @@
## Method: account.deleteAccount
## Method: account\_deleteAccount
### Parameters:
@ -27,5 +27,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$Bool = $MadelineProto->account->deleteAccount(['reason' => string, ]);
$Bool = $MadelineProto->account_deleteAccount(['reason' => string, ]);
```

View File

@ -1,4 +1,4 @@
## Method: account.getAccountTTL
## Method: account\_getAccountTTL
@ -22,5 +22,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$AccountDaysTTL = $MadelineProto->account->getAccountTTL();
$AccountDaysTTL = $MadelineProto->account_getAccountTTL();
```

View File

@ -1,4 +1,4 @@
## Method: account.getAuthorizations
## Method: account\_getAuthorizations
@ -22,5 +22,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$account_Authorizations = $MadelineProto->account->getAuthorizations();
$account_Authorizations = $MadelineProto->account_getAuthorizations();
```

View File

@ -1,4 +1,4 @@
## Method: account.getNotifySettings
## Method: account\_getNotifySettings
### Parameters:
@ -27,5 +27,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$PeerNotifySettings = $MadelineProto->account->getNotifySettings(['peer' => InputNotifyPeer, ]);
$PeerNotifySettings = $MadelineProto->account_getNotifySettings(['peer' => InputNotifyPeer, ]);
```

View File

@ -1,4 +1,4 @@
## Method: account.getPassword
## Method: account\_getPassword
@ -22,5 +22,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$account_Password = $MadelineProto->account->getPassword();
$account_Password = $MadelineProto->account_getPassword();
```

View File

@ -1,4 +1,4 @@
## Method: account.getPasswordSettings
## Method: account\_getPasswordSettings
### Parameters:
@ -27,5 +27,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$account_PasswordSettings = $MadelineProto->account->getPasswordSettings(['current_password_hash' => bytes, ]);
$account_PasswordSettings = $MadelineProto->account_getPasswordSettings(['current_password_hash' => bytes, ]);
```

View File

@ -1,4 +1,4 @@
## Method: account.getPrivacy
## Method: account\_getPrivacy
### Parameters:
@ -27,5 +27,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$account_PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]);
$account_PrivacyRules = $MadelineProto->account_getPrivacy(['key' => InputPrivacyKey, ]);
```

View File

@ -1,4 +1,4 @@
## Method: account.getWallPapers
## Method: account\_getWallPapers
@ -22,5 +22,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$Vector_of_WallPaper = $MadelineProto->account->getWallPapers();
$Vector_of_WallPaper = $MadelineProto->account_getWallPapers();
```

View File

@ -1,4 +1,4 @@
## Method: account.registerDevice
## Method: account\_registerDevice
### Parameters:
@ -28,5 +28,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$Bool = $MadelineProto->account->registerDevice(['token_type' => int, 'token' => string, ]);
$Bool = $MadelineProto->account_registerDevice(['token_type' => int, 'token' => string, ]);
```

View File

@ -1,4 +1,4 @@
## Method: account.reportPeer
## Method: account\_reportPeer
### Parameters:
@ -28,5 +28,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$Bool = $MadelineProto->account->reportPeer(['peer' => InputPeer, 'reason' => ReportReason, ]);
$Bool = $MadelineProto->account_reportPeer(['peer' => InputPeer, 'reason' => ReportReason, ]);
```

View File

@ -1,4 +1,4 @@
## Method: account.resetAuthorization
## Method: account\_resetAuthorization
### Parameters:
@ -27,5 +27,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$Bool = $MadelineProto->account->resetAuthorization(['hash' => long, ]);
$Bool = $MadelineProto->account_resetAuthorization(['hash' => long, ]);
```

View File

@ -1,4 +1,4 @@
## Method: account.resetNotifySettings
## Method: account\_resetNotifySettings
@ -22,5 +22,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$Bool = $MadelineProto->account->resetNotifySettings();
$Bool = $MadelineProto->account_resetNotifySettings();
```

View File

@ -1,4 +1,4 @@
## Method: account.sendChangePhoneCode
## Method: account\_sendChangePhoneCode
### Parameters:
@ -29,5 +29,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$auth_SentCode = $MadelineProto->account->sendChangePhoneCode(['allow_flashcall' => Bool, 'phone_number' => string, 'current_number' => Bool, ]);
$auth_SentCode = $MadelineProto->account_sendChangePhoneCode(['allow_flashcall' => Bool, 'phone_number' => string, 'current_number' => Bool, ]);
```

View File

@ -1,4 +1,4 @@
## Method: account.sendConfirmPhoneCode
## Method: account\_sendConfirmPhoneCode
### Parameters:
@ -29,5 +29,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$auth_SentCode = $MadelineProto->account->sendConfirmPhoneCode(['allow_flashcall' => Bool, 'hash' => string, 'current_number' => Bool, ]);
$auth_SentCode = $MadelineProto->account_sendConfirmPhoneCode(['allow_flashcall' => Bool, 'hash' => string, 'current_number' => Bool, ]);
```

View File

@ -1,4 +1,4 @@
## Method: account.setAccountTTL
## Method: account\_setAccountTTL
### Parameters:
@ -27,5 +27,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$Bool = $MadelineProto->account->setAccountTTL(['ttl' => AccountDaysTTL, ]);
$Bool = $MadelineProto->account_setAccountTTL(['ttl' => AccountDaysTTL, ]);
```

View File

@ -1,4 +1,4 @@
## Method: account.setPrivacy
## Method: account\_setPrivacy
### Parameters:
@ -28,5 +28,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$account_PrivacyRules = $MadelineProto->account->setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule], ]);
$account_PrivacyRules = $MadelineProto->account_setPrivacy(['key' => InputPrivacyKey, 'rules' => [InputPrivacyRule], ]);
```

View File

@ -1,4 +1,4 @@
## Method: account.unregisterDevice
## Method: account\_unregisterDevice
### Parameters:
@ -28,5 +28,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$Bool = $MadelineProto->account->unregisterDevice(['token_type' => int, 'token' => string, ]);
$Bool = $MadelineProto->account_unregisterDevice(['token_type' => int, 'token' => string, ]);
```

View File

@ -1,4 +1,4 @@
## Method: account.updateDeviceLocked
## Method: account\_updateDeviceLocked
### Parameters:
@ -27,5 +27,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$Bool = $MadelineProto->account->updateDeviceLocked(['period' => int, ]);
$Bool = $MadelineProto->account_updateDeviceLocked(['period' => int, ]);
```

View File

@ -1,4 +1,4 @@
## Method: account.updateNotifySettings
## Method: account\_updateNotifySettings
### Parameters:
@ -28,5 +28,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$Bool = $MadelineProto->account->updateNotifySettings(['peer' => InputNotifyPeer, 'settings' => InputPeerNotifySettings, ]);
$Bool = $MadelineProto->account_updateNotifySettings(['peer' => InputNotifyPeer, 'settings' => InputPeerNotifySettings, ]);
```

View File

@ -1,4 +1,4 @@
## Method: account.updatePasswordSettings
## Method: account\_updatePasswordSettings
### Parameters:
@ -28,5 +28,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$Bool = $MadelineProto->account->updatePasswordSettings(['current_password_hash' => bytes, 'new_settings' => account_PasswordInputSettings, ]);
$Bool = $MadelineProto->account_updatePasswordSettings(['current_password_hash' => bytes, 'new_settings' => account_PasswordInputSettings, ]);
```

View File

@ -1,4 +1,4 @@
## Method: account.updateProfile
## Method: account\_updateProfile
### Parameters:
@ -29,5 +29,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$User = $MadelineProto->account->updateProfile(['first_name' => string, 'last_name' => string, 'about' => string, ]);
$User = $MadelineProto->account_updateProfile(['first_name' => string, 'last_name' => string, 'about' => string, ]);
```

View File

@ -1,4 +1,4 @@
## Method: account.updateStatus
## Method: account\_updateStatus
### Parameters:
@ -27,5 +27,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$Bool = $MadelineProto->account->updateStatus(['offline' => Bool, ]);
$Bool = $MadelineProto->account_updateStatus(['offline' => Bool, ]);
```

View File

@ -1,4 +1,4 @@
## Method: account.updateUsername
## Method: account\_updateUsername
### Parameters:
@ -27,5 +27,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$User = $MadelineProto->account->updateUsername(['username' => string, ]);
$User = $MadelineProto->account_updateUsername(['username' => string, ]);
```

View File

@ -1,4 +1,4 @@
## Method: auth.bindTempAuthKey
## Method: auth\_bindTempAuthKey
### Parameters:
@ -30,5 +30,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$Bool = $MadelineProto->auth->bindTempAuthKey(['perm_auth_key_id' => long, 'nonce' => long, 'expires_at' => int, 'encrypted_message' => bytes, ]);
$Bool = $MadelineProto->auth_bindTempAuthKey(['perm_auth_key_id' => long, 'nonce' => long, 'expires_at' => int, 'encrypted_message' => bytes, ]);
```

View File

@ -1,4 +1,4 @@
## Method: auth.cancelCode
## Method: auth\_cancelCode
### Parameters:
@ -28,5 +28,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$Bool = $MadelineProto->auth->cancelCode(['phone_number' => string, 'phone_code_hash' => string, ]);
$Bool = $MadelineProto->auth_cancelCode(['phone_number' => string, 'phone_code_hash' => string, ]);
```

View File

@ -1,4 +1,4 @@
## Method: auth.checkPassword
## Method: auth\_checkPassword
### Parameters:
@ -27,5 +27,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$auth_Authorization = $MadelineProto->auth->checkPassword(['password_hash' => bytes, ]);
$auth_Authorization = $MadelineProto->auth_checkPassword(['password_hash' => bytes, ]);
```

View File

@ -1,4 +1,4 @@
## Method: auth.checkPhone
## Method: auth\_checkPhone
### Parameters:
@ -27,5 +27,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$auth_CheckedPhone = $MadelineProto->auth->checkPhone(['phone_number' => string, ]);
$auth_CheckedPhone = $MadelineProto->auth_checkPhone(['phone_number' => string, ]);
```

View File

@ -1,4 +1,4 @@
## Method: auth.dropTempAuthKeys
## Method: auth\_dropTempAuthKeys
### Parameters:
@ -27,5 +27,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$Bool = $MadelineProto->auth->dropTempAuthKeys(['except_auth_keys' => [long], ]);
$Bool = $MadelineProto->auth_dropTempAuthKeys(['except_auth_keys' => [long], ]);
```

View File

@ -1,4 +1,4 @@
## Method: auth.exportAuthorization
## Method: auth\_exportAuthorization
### Parameters:
@ -27,5 +27,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$auth_ExportedAuthorization = $MadelineProto->auth->exportAuthorization(['dc_id' => int, ]);
$auth_ExportedAuthorization = $MadelineProto->auth_exportAuthorization(['dc_id' => int, ]);
```

View File

@ -1,4 +1,4 @@
## Method: auth.importAuthorization
## Method: auth\_importAuthorization
### Parameters:
@ -28,5 +28,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$auth_Authorization = $MadelineProto->auth->importAuthorization(['id' => int, 'bytes' => bytes, ]);
$auth_Authorization = $MadelineProto->auth_importAuthorization(['id' => int, 'bytes' => bytes, ]);
```

View File

@ -1,4 +1,4 @@
## Method: auth.importBotAuthorization
## Method: auth\_importBotAuthorization
### Parameters:
@ -29,5 +29,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$auth_Authorization = $MadelineProto->auth->importBotAuthorization(['api_id' => int, 'api_hash' => string, 'bot_auth_token' => string, ]);
$auth_Authorization = $MadelineProto->auth_importBotAuthorization(['api_id' => int, 'api_hash' => string, 'bot_auth_token' => string, ]);
```

View File

@ -1,4 +1,4 @@
## Method: auth.logOut
## Method: auth\_logOut
@ -22,5 +22,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$Bool = $MadelineProto->auth->logOut();
$Bool = $MadelineProto->auth_logOut();
```

View File

@ -1,4 +1,4 @@
## Method: auth.recoverPassword
## Method: auth\_recoverPassword
### Parameters:
@ -27,5 +27,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => string, ]);
$auth_Authorization = $MadelineProto->auth_recoverPassword(['code' => string, ]);
```

View File

@ -1,4 +1,4 @@
## Method: auth.requestPasswordRecovery
## Method: auth\_requestPasswordRecovery
@ -22,5 +22,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$auth_PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery();
$auth_PasswordRecovery = $MadelineProto->auth_requestPasswordRecovery();
```

View File

@ -1,4 +1,4 @@
## Method: auth.resendCode
## Method: auth\_resendCode
### Parameters:
@ -28,5 +28,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$auth_SentCode = $MadelineProto->auth->resendCode(['phone_number' => string, 'phone_code_hash' => string, ]);
$auth_SentCode = $MadelineProto->auth_resendCode(['phone_number' => string, 'phone_code_hash' => string, ]);
```

View File

@ -1,4 +1,4 @@
## Method: auth.resetAuthorizations
## Method: auth\_resetAuthorizations
@ -22,5 +22,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$Bool = $MadelineProto->auth->resetAuthorizations();
$Bool = $MadelineProto->auth_resetAuthorizations();
```

View File

@ -1,4 +1,4 @@
## Method: auth.sendCode
## Method: auth\_sendCode
### Parameters:
@ -31,5 +31,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$auth_SentCode = $MadelineProto->auth->sendCode(['allow_flashcall' => Bool, 'phone_number' => string, 'current_number' => Bool, 'api_id' => int, 'api_hash' => string, ]);
$auth_SentCode = $MadelineProto->auth_sendCode(['allow_flashcall' => Bool, 'phone_number' => string, 'current_number' => Bool, 'api_id' => int, 'api_hash' => string, ]);
```

View File

@ -1,4 +1,4 @@
## Method: auth.sendInvites
## Method: auth\_sendInvites
### Parameters:
@ -28,5 +28,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$Bool = $MadelineProto->auth->sendInvites(['phone_numbers' => [string], 'message' => string, ]);
$Bool = $MadelineProto->auth_sendInvites(['phone_numbers' => [string], 'message' => string, ]);
```

View File

@ -1,4 +1,4 @@
## Method: auth.signIn
## Method: auth\_signIn
### Parameters:
@ -29,5 +29,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$auth_Authorization = $MadelineProto->auth->signIn(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]);
$auth_Authorization = $MadelineProto->auth_signIn(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, ]);
```

View File

@ -1,4 +1,4 @@
## Method: auth.signUp
## Method: auth\_signUp
### Parameters:
@ -31,5 +31,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$auth_Authorization = $MadelineProto->auth->signUp(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, 'first_name' => string, 'last_name' => string, ]);
$auth_Authorization = $MadelineProto->auth_signUp(['phone_number' => string, 'phone_code_hash' => string, 'phone_code' => string, 'first_name' => string, 'last_name' => string, ]);
```

View File

@ -1,4 +1,4 @@
## Method: channels.updateUsername
## Method: channels\_checkUsername
### Parameters:
@ -28,5 +28,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$Bool = $MadelineProto->channels->updateUsername(['channel' => InputChannel, 'username' => string, ]);
$Bool = $MadelineProto->channels_checkUsername(['channel' => InputChannel, 'username' => string, ]);
```

View File

@ -1,4 +1,4 @@
## Method: channels.createChannel
## Method: channels\_createChannel
### Parameters:
@ -30,5 +30,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$Updates = $MadelineProto->channels->createChannel(['broadcast' => Bool, 'megagroup' => Bool, 'title' => string, 'about' => string, ]);
$Updates = $MadelineProto->channels_createChannel(['broadcast' => Bool, 'megagroup' => Bool, 'title' => string, 'about' => string, ]);
```

View File

@ -1,4 +1,4 @@
## Method: channels.leaveChannel
## Method: channels\_deleteChannel
### Parameters:
@ -27,5 +27,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$Updates = $MadelineProto->channels->leaveChannel(['channel' => InputChannel, ]);
$Updates = $MadelineProto->channels_deleteChannel(['channel' => InputChannel, ]);
```

View File

@ -1,4 +1,4 @@
## Method: channels.deleteMessages
## Method: channels\_deleteMessages
### Parameters:
@ -28,5 +28,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$messages_AffectedMessages = $MadelineProto->channels->deleteMessages(['channel' => InputChannel, 'id' => [int], ]);
$messages_AffectedMessages = $MadelineProto->channels_deleteMessages(['channel' => InputChannel, 'id' => [int], ]);
```

View File

@ -1,4 +1,4 @@
## Method: channels.deleteUserHistory
## Method: channels\_deleteUserHistory
### Parameters:
@ -28,5 +28,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$messages_AffectedHistory = $MadelineProto->channels->deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]);
$messages_AffectedHistory = $MadelineProto->channels_deleteUserHistory(['channel' => InputChannel, 'user_id' => InputUser, ]);
```

View File

@ -1,4 +1,4 @@
## Method: channels.editAbout
## Method: channels\_editAbout
### Parameters:
@ -28,5 +28,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$Bool = $MadelineProto->channels->editAbout(['channel' => InputChannel, 'about' => string, ]);
$Bool = $MadelineProto->channels_editAbout(['channel' => InputChannel, 'about' => string, ]);
```

View File

@ -1,4 +1,4 @@
## Method: channels.editAdmin
## Method: channels\_editAdmin
### Parameters:
@ -29,5 +29,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$Updates = $MadelineProto->channels->editAdmin(['channel' => InputChannel, 'user_id' => InputUser, 'role' => ChannelParticipantRole, ]);
$Updates = $MadelineProto->channels_editAdmin(['channel' => InputChannel, 'user_id' => InputUser, 'role' => ChannelParticipantRole, ]);
```

View File

@ -1,4 +1,4 @@
## Method: channels.editPhoto
## Method: channels\_editPhoto
### Parameters:
@ -28,5 +28,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$Updates = $MadelineProto->channels->editPhoto(['channel' => InputChannel, 'photo' => InputChatPhoto, ]);
$Updates = $MadelineProto->channels_editPhoto(['channel' => InputChannel, 'photo' => InputChatPhoto, ]);
```

View File

@ -1,4 +1,4 @@
## Method: channels.editTitle
## Method: channels\_editTitle
### Parameters:
@ -28,5 +28,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$Updates = $MadelineProto->channels->editTitle(['channel' => InputChannel, 'title' => string, ]);
$Updates = $MadelineProto->channels_editTitle(['channel' => InputChannel, 'title' => string, ]);
```

View File

@ -1,4 +1,4 @@
## Method: channels.exportInvite
## Method: channels\_exportInvite
### Parameters:
@ -27,5 +27,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$ExportedChatInvite = $MadelineProto->channels->exportInvite(['channel' => InputChannel, ]);
$ExportedChatInvite = $MadelineProto->channels_exportInvite(['channel' => InputChannel, ]);
```

View File

@ -1,4 +1,4 @@
## Method: channels.exportMessageLink
## Method: channels\_exportMessageLink
### Parameters:
@ -28,5 +28,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$ExportedMessageLink = $MadelineProto->channels->exportMessageLink(['channel' => InputChannel, 'id' => int, ]);
$ExportedMessageLink = $MadelineProto->channels_exportMessageLink(['channel' => InputChannel, 'id' => int, ]);
```

View File

@ -1,4 +1,4 @@
## Method: channels.getAdminedPublicChannels
## Method: channels\_getAdminedPublicChannels
@ -22,5 +22,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$messages_Chats = $MadelineProto->channels->getAdminedPublicChannels();
$messages_Chats = $MadelineProto->channels_getAdminedPublicChannels();
```

View File

@ -1,4 +1,4 @@
## Method: channels.getChannels
## Method: channels\_getChannels
### Parameters:
@ -27,5 +27,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$messages_Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel], ]);
$messages_Chats = $MadelineProto->channels_getChannels(['id' => [InputChannel], ]);
```

View File

@ -1,4 +1,4 @@
## Method: channels.getFullChannel
## Method: channels\_getFullChannel
### Parameters:
@ -27,5 +27,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$messages_ChatFull = $MadelineProto->channels->getFullChannel(['channel' => InputChannel, ]);
$messages_ChatFull = $MadelineProto->channels_getFullChannel(['channel' => InputChannel, ]);
```

View File

@ -1,4 +1,4 @@
## Method: channels.getMessages
## Method: channels\_getMessages
### Parameters:
@ -28,5 +28,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$messages_Messages = $MadelineProto->channels->getMessages(['channel' => InputChannel, 'id' => [int], ]);
$messages_Messages = $MadelineProto->channels_getMessages(['channel' => InputChannel, 'id' => [int], ]);
```

View File

@ -1,4 +1,4 @@
## Method: channels.getParticipant
## Method: channels\_getParticipant
### Parameters:
@ -28,5 +28,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$channels_ChannelParticipant = $MadelineProto->channels->getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]);
$channels_ChannelParticipant = $MadelineProto->channels_getParticipant(['channel' => InputChannel, 'user_id' => InputUser, ]);
```

View File

@ -1,4 +1,4 @@
## Method: channels.getParticipants
## Method: channels\_getParticipants
### Parameters:
@ -30,5 +30,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$channels_ChannelParticipants = $MadelineProto->channels->getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, ]);
$channels_ChannelParticipants = $MadelineProto->channels_getParticipants(['channel' => InputChannel, 'filter' => ChannelParticipantsFilter, 'offset' => int, 'limit' => int, ]);
```

View File

@ -1,4 +1,4 @@
## Method: channels.inviteToChannel
## Method: channels\_inviteToChannel
### Parameters:
@ -28,5 +28,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$Updates = $MadelineProto->channels->inviteToChannel(['channel' => InputChannel, 'users' => [InputUser], ]);
$Updates = $MadelineProto->channels_inviteToChannel(['channel' => InputChannel, 'users' => [InputUser], ]);
```

View File

@ -1,4 +1,4 @@
## Method: channels.deleteChannel
## Method: channels\_joinChannel
### Parameters:
@ -27,5 +27,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$Updates = $MadelineProto->channels->deleteChannel(['channel' => InputChannel, ]);
$Updates = $MadelineProto->channels_joinChannel(['channel' => InputChannel, ]);
```

View File

@ -1,4 +1,4 @@
## Method: channels.kickFromChannel
## Method: channels\_kickFromChannel
### Parameters:
@ -29,5 +29,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$Updates = $MadelineProto->channels->kickFromChannel(['channel' => InputChannel, 'user_id' => InputUser, 'kicked' => Bool, ]);
$Updates = $MadelineProto->channels_kickFromChannel(['channel' => InputChannel, 'user_id' => InputUser, 'kicked' => Bool, ]);
```

View File

@ -1,4 +1,4 @@
## Method: channels.joinChannel
## Method: channels\_leaveChannel
### Parameters:
@ -27,5 +27,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$Updates = $MadelineProto->channels->joinChannel(['channel' => InputChannel, ]);
$Updates = $MadelineProto->channels_leaveChannel(['channel' => InputChannel, ]);
```

View File

@ -1,4 +1,4 @@
## Method: channels.readHistory
## Method: channels\_readHistory
### Parameters:
@ -28,5 +28,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$Bool = $MadelineProto->channels->readHistory(['channel' => InputChannel, 'max_id' => int, ]);
$Bool = $MadelineProto->channels_readHistory(['channel' => InputChannel, 'max_id' => int, ]);
```

View File

@ -1,4 +1,4 @@
## Method: channels.reportSpam
## Method: channels\_reportSpam
### Parameters:
@ -29,5 +29,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$Bool = $MadelineProto->channels->reportSpam(['channel' => InputChannel, 'user_id' => InputUser, 'id' => [int], ]);
$Bool = $MadelineProto->channels_reportSpam(['channel' => InputChannel, 'user_id' => InputUser, 'id' => [int], ]);
```

View File

@ -1,4 +1,4 @@
## Method: channels.toggleInvites
## Method: channels\_toggleInvites
### Parameters:
@ -28,5 +28,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$Updates = $MadelineProto->channels->toggleInvites(['channel' => InputChannel, 'enabled' => Bool, ]);
$Updates = $MadelineProto->channels_toggleInvites(['channel' => InputChannel, 'enabled' => Bool, ]);
```

View File

@ -1,4 +1,4 @@
## Method: channels.toggleSignatures
## Method: channels\_toggleSignatures
### Parameters:
@ -28,5 +28,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$Updates = $MadelineProto->channels->toggleSignatures(['channel' => InputChannel, 'enabled' => Bool, ]);
$Updates = $MadelineProto->channels_toggleSignatures(['channel' => InputChannel, 'enabled' => Bool, ]);
```

View File

@ -1,4 +1,4 @@
## Method: channels.updatePinnedMessage
## Method: channels\_updatePinnedMessage
### Parameters:
@ -29,5 +29,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$Updates = $MadelineProto->channels->updatePinnedMessage(['silent' => Bool, 'channel' => InputChannel, 'id' => int, ]);
$Updates = $MadelineProto->channels_updatePinnedMessage(['silent' => Bool, 'channel' => InputChannel, 'id' => int, ]);
```

View File

@ -1,4 +1,4 @@
## Method: channels.checkUsername
## Method: channels\_updateUsername
### Parameters:
@ -28,5 +28,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$Bool = $MadelineProto->channels->checkUsername(['channel' => InputChannel, 'username' => string, ]);
$Bool = $MadelineProto->channels_updateUsername(['channel' => InputChannel, 'username' => string, ]);
```

View File

@ -1,4 +1,4 @@
## Method: contacts.block
## Method: contacts\_block
### Parameters:
@ -27,5 +27,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$Bool = $MadelineProto->contacts->block(['id' => InputUser, ]);
$Bool = $MadelineProto->contacts_block(['id' => InputUser, ]);
```

View File

@ -1,4 +1,4 @@
## Method: contacts.deleteContact
## Method: contacts\_deleteContact
### Parameters:
@ -27,5 +27,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$contacts_Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]);
$contacts_Link = $MadelineProto->contacts_deleteContact(['id' => InputUser, ]);
```

View File

@ -1,4 +1,4 @@
## Method: contacts.deleteContacts
## Method: contacts\_deleteContacts
### Parameters:
@ -27,5 +27,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$Bool = $MadelineProto->contacts->deleteContacts(['id' => [InputUser], ]);
$Bool = $MadelineProto->contacts_deleteContacts(['id' => [InputUser], ]);
```

View File

@ -1,4 +1,4 @@
## Method: contacts.exportCard
## Method: contacts\_exportCard
@ -22,5 +22,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$Vector_of_int = $MadelineProto->contacts->exportCard();
$Vector_of_int = $MadelineProto->contacts_exportCard();
```

View File

@ -1,4 +1,4 @@
## Method: contacts.getBlocked
## Method: contacts\_getBlocked
### Parameters:
@ -28,5 +28,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$contacts_Blocked = $MadelineProto->contacts->getBlocked(['offset' => int, 'limit' => int, ]);
$contacts_Blocked = $MadelineProto->contacts_getBlocked(['offset' => int, 'limit' => int, ]);
```

View File

@ -1,4 +1,4 @@
## Method: contacts.getContacts
## Method: contacts\_getContacts
### Parameters:
@ -27,5 +27,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => string, ]);
$contacts_Contacts = $MadelineProto->contacts_getContacts(['hash' => string, ]);
```

View File

@ -1,4 +1,4 @@
## Method: contacts.getStatuses
## Method: contacts\_getStatuses
@ -22,5 +22,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$Vector_of_ContactStatus = $MadelineProto->contacts->getStatuses();
$Vector_of_ContactStatus = $MadelineProto->contacts_getStatuses();
```

View File

@ -1,4 +1,4 @@
## Method: contacts.getTopPeers
## Method: contacts\_getTopPeers
### Parameters:
@ -34,5 +34,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$contacts_TopPeers = $MadelineProto->contacts->getTopPeers(['correspondents' => Bool, 'bots_pm' => Bool, 'bots_inline' => Bool, 'groups' => Bool, 'channels' => Bool, 'offset' => int, 'limit' => int, 'hash' => int, ]);
$contacts_TopPeers = $MadelineProto->contacts_getTopPeers(['correspondents' => Bool, 'bots_pm' => Bool, 'bots_inline' => Bool, 'groups' => Bool, 'channels' => Bool, 'offset' => int, 'limit' => int, 'hash' => int, ]);
```

View File

@ -1,4 +1,4 @@
## Method: contacts.importCard
## Method: contacts\_importCard
### Parameters:
@ -27,5 +27,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$User = $MadelineProto->contacts->importCard(['export_card' => [int], ]);
$User = $MadelineProto->contacts_importCard(['export_card' => [int], ]);
```

View File

@ -1,4 +1,4 @@
## Method: contacts.importContacts
## Method: contacts\_importContacts
### Parameters:
@ -28,5 +28,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$contacts_ImportedContacts = $MadelineProto->contacts->importContacts(['contacts' => [InputContact], 'replace' => Bool, ]);
$contacts_ImportedContacts = $MadelineProto->contacts_importContacts(['contacts' => [InputContact], 'replace' => Bool, ]);
```

View File

@ -1,4 +1,4 @@
## Method: contacts.resetTopPeerRating
## Method: contacts\_resetTopPeerRating
### Parameters:
@ -28,5 +28,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$Bool = $MadelineProto->contacts->resetTopPeerRating(['category' => TopPeerCategory, 'peer' => InputPeer, ]);
$Bool = $MadelineProto->contacts_resetTopPeerRating(['category' => TopPeerCategory, 'peer' => InputPeer, ]);
```

View File

@ -1,4 +1,4 @@
## Method: contacts.resolveUsername
## Method: contacts\_resolveUsername
### Parameters:
@ -27,5 +27,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$contacts_ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => string, ]);
$contacts_ResolvedPeer = $MadelineProto->contacts_resolveUsername(['username' => string, ]);
```

View File

@ -1,4 +1,4 @@
## Method: contacts.search
## Method: contacts\_search
### Parameters:
@ -28,5 +28,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$contacts_Found = $MadelineProto->contacts->search(['q' => string, 'limit' => int, ]);
$contacts_Found = $MadelineProto->contacts_search(['q' => string, 'limit' => int, ]);
```

View File

@ -1,4 +1,4 @@
## Method: contacts.unblock
## Method: contacts\_unblock
### Parameters:
@ -27,5 +27,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$Bool = $MadelineProto->contacts->unblock(['id' => InputUser, ]);
$Bool = $MadelineProto->contacts_unblock(['id' => InputUser, ]);
```

View File

@ -1,4 +1,4 @@
## Method: help.getAppChangelog
## Method: help\_getAppChangelog
@ -22,5 +22,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$help_AppChangelog = $MadelineProto->help->getAppChangelog();
$help_AppChangelog = $MadelineProto->help_getAppChangelog();
```

View File

@ -1,4 +1,4 @@
## Method: help.getAppUpdate
## Method: help\_getAppUpdate
@ -22,5 +22,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$help_AppUpdate = $MadelineProto->help->getAppUpdate();
$help_AppUpdate = $MadelineProto->help_getAppUpdate();
```

View File

@ -1,4 +1,4 @@
## Method: help.getConfig
## Method: help\_getConfig
@ -22,5 +22,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$Config = $MadelineProto->help->getConfig();
$Config = $MadelineProto->help_getConfig();
```

View File

@ -1,4 +1,4 @@
## Method: help.getInviteText
## Method: help\_getInviteText
@ -22,5 +22,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$help_InviteText = $MadelineProto->help->getInviteText();
$help_InviteText = $MadelineProto->help_getInviteText();
```

View File

@ -1,4 +1,4 @@
## Method: help.getNearestDc
## Method: help\_getNearestDc
@ -22,5 +22,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$NearestDc = $MadelineProto->help->getNearestDc();
$NearestDc = $MadelineProto->help_getNearestDc();
```

View File

@ -1,4 +1,4 @@
## Method: help.getSupport
## Method: help\_getSupport
@ -22,5 +22,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$help_Support = $MadelineProto->help->getSupport();
$help_Support = $MadelineProto->help_getSupport();
```

View File

@ -1,4 +1,4 @@
## Method: help.getTermsOfService
## Method: help\_getTermsOfService
@ -22,5 +22,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$help_TermsOfService = $MadelineProto->help->getTermsOfService();
$help_TermsOfService = $MadelineProto->help_getTermsOfService();
```

View File

@ -1,188 +1,188 @@
# Methods
$MadelineProto->[account\_changePhone](account.changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) == [$User](../types/User.md)
$MadelineProto->[account->changePhone](account_changePhone.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) == [$User](../types/User.md)
$MadelineProto->[account\_checkUsername](account.checkUsername.md)(\['username' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md)
$MadelineProto->[account->checkUsername](account_checkUsername.md)(\['username' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md)
$MadelineProto->[account\_confirmPhone](account.confirmPhone.md)(\['phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md)
$MadelineProto->[account->confirmPhone](account_confirmPhone.md)(\['phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md)
$MadelineProto->[account\_deleteAccount](account.deleteAccount.md)(\['reason' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md)
$MadelineProto->[account->deleteAccount](account_deleteAccount.md)(\['reason' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md)
$MadelineProto->[account\_getAccountTTL](account.getAccountTTL.md)(\[\]) == [$AccountDaysTTL](../types/AccountDaysTTL.md)
$MadelineProto->[account->getAccountTTL](account_getAccountTTL.md)(\[\]) == [$AccountDaysTTL](../types/AccountDaysTTL.md)
$MadelineProto->[account\_getAuthorizations](account.getAuthorizations.md)(\[\]) == [$account\_Authorizations](../types/account_Authorizations.md)
$MadelineProto->[account->getAuthorizations](account_getAuthorizations.md)(\[\]) == [$account\_Authorizations](../types/account_Authorizations.md)
$MadelineProto->[account\_getNotifySettings](account.getNotifySettings.md)(\['peer' => [InputNotifyPeer](../types/InputNotifyPeer.md), \]) == [$PeerNotifySettings](../types/PeerNotifySettings.md)
$MadelineProto->[account->getNotifySettings](account_getNotifySettings.md)(\['peer' => [InputNotifyPeer](../types/InputNotifyPeer.md), \]) == [$PeerNotifySettings](../types/PeerNotifySettings.md)
$MadelineProto->[account\_getPassword](account.getPassword.md)(\[\]) == [$account\_Password](../types/account_Password.md)
$MadelineProto->[account->getPassword](account_getPassword.md)(\[\]) == [$account\_Password](../types/account_Password.md)
$MadelineProto->[account\_getPasswordSettings](account.getPasswordSettings.md)(\['current_password_hash' => [bytes](../types/bytes.md), \]) == [$account\_PasswordSettings](../types/account_PasswordSettings.md)
$MadelineProto->[account->getPasswordSettings](account_getPasswordSettings.md)(\['current_password_hash' => [bytes](../types/bytes.md), \]) == [$account\_PasswordSettings](../types/account_PasswordSettings.md)
$MadelineProto->[account\_getPrivacy](account.getPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), \]) == [$account\_PrivacyRules](../types/account_PrivacyRules.md)
$MadelineProto->[account->getPrivacy](account_getPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), \]) == [$account\_PrivacyRules](../types/account_PrivacyRules.md)
$MadelineProto->[account\_getWallPapers](account.getWallPapers.md)(\[\]) == [$Vector\_of\_WallPaper](../types/WallPaper.md)
$MadelineProto->[account->getWallPapers](account_getWallPapers.md)(\[\]) == [$Vector\_of\_WallPaper](../types/WallPaper.md)
$MadelineProto->[account\_registerDevice](account.registerDevice.md)(\['token_type' => [int](../types/int.md), 'token' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md)
$MadelineProto->[account->registerDevice](account_registerDevice.md)(\['token_type' => [int](../types/int.md), 'token' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md)
$MadelineProto->[account\_reportPeer](account.reportPeer.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'reason' => [ReportReason](../types/ReportReason.md), \]) == [$Bool](../types/Bool.md)
$MadelineProto->[account->reportPeer](account_reportPeer.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'reason' => [ReportReason](../types/ReportReason.md), \]) == [$Bool](../types/Bool.md)
$MadelineProto->[account\_resetAuthorization](account.resetAuthorization.md)(\['hash' => [long](../types/long.md), \]) == [$Bool](../types/Bool.md)
$MadelineProto->[account->resetAuthorization](account_resetAuthorization.md)(\['hash' => [long](../types/long.md), \]) == [$Bool](../types/Bool.md)
$MadelineProto->[account\_resetNotifySettings](account.resetNotifySettings.md)(\[\]) == [$Bool](../types/Bool.md)
$MadelineProto->[account->resetNotifySettings](account_resetNotifySettings.md)(\[\]) == [$Bool](../types/Bool.md)
$MadelineProto->[account\_sendChangePhoneCode](account.sendChangePhoneCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'phone_number' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), \]) == [$auth\_SentCode](../types/auth_SentCode.md)
$MadelineProto->[account->sendChangePhoneCode](account_sendChangePhoneCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'phone_number' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), \]) == [$auth\_SentCode](../types/auth_SentCode.md)
$MadelineProto->[account\_sendConfirmPhoneCode](account.sendConfirmPhoneCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'hash' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), \]) == [$auth\_SentCode](../types/auth_SentCode.md)
$MadelineProto->[account->sendConfirmPhoneCode](account_sendConfirmPhoneCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'hash' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), \]) == [$auth\_SentCode](../types/auth_SentCode.md)
$MadelineProto->[account\_setAccountTTL](account.setAccountTTL.md)(\['ttl' => [AccountDaysTTL](../types/AccountDaysTTL.md), \]) == [$Bool](../types/Bool.md)
$MadelineProto->[account->setAccountTTL](account_setAccountTTL.md)(\['ttl' => [AccountDaysTTL](../types/AccountDaysTTL.md), \]) == [$Bool](../types/Bool.md)
$MadelineProto->[account\_setPrivacy](account.setPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), 'rules' => \[[InputPrivacyRule](../types/InputPrivacyRule.md)\], \]) == [$account\_PrivacyRules](../types/account_PrivacyRules.md)
$MadelineProto->[account->setPrivacy](account_setPrivacy.md)(\['key' => [InputPrivacyKey](../types/InputPrivacyKey.md), 'rules' => \[[InputPrivacyRule](../types/InputPrivacyRule.md)\], \]) == [$account\_PrivacyRules](../types/account_PrivacyRules.md)
$MadelineProto->[account\_unregisterDevice](account.unregisterDevice.md)(\['token_type' => [int](../types/int.md), 'token' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md)
$MadelineProto->[account->unregisterDevice](account_unregisterDevice.md)(\['token_type' => [int](../types/int.md), 'token' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md)
$MadelineProto->[account\_updateDeviceLocked](account.updateDeviceLocked.md)(\['period' => [int](../types/int.md), \]) == [$Bool](../types/Bool.md)
$MadelineProto->[account->updateDeviceLocked](account_updateDeviceLocked.md)(\['period' => [int](../types/int.md), \]) == [$Bool](../types/Bool.md)
$MadelineProto->[account\_updateNotifySettings](account.updateNotifySettings.md)(\['peer' => [InputNotifyPeer](../types/InputNotifyPeer.md), 'settings' => [InputPeerNotifySettings](../types/InputPeerNotifySettings.md), \]) == [$Bool](../types/Bool.md)
$MadelineProto->[account->updateNotifySettings](account_updateNotifySettings.md)(\['peer' => [InputNotifyPeer](../types/InputNotifyPeer.md), 'settings' => [InputPeerNotifySettings](../types/InputPeerNotifySettings.md), \]) == [$Bool](../types/Bool.md)
$MadelineProto->[account\_updatePasswordSettings](account.updatePasswordSettings.md)(\['current_password_hash' => [bytes](../types/bytes.md), 'new_settings' => [account\_PasswordInputSettings](../types/account_PasswordInputSettings.md), \]) == [$Bool](../types/Bool.md)
$MadelineProto->[account->updatePasswordSettings](account_updatePasswordSettings.md)(\['current_password_hash' => [bytes](../types/bytes.md), 'new_settings' => [account\_PasswordInputSettings](../types/account_PasswordInputSettings.md), \]) == [$Bool](../types/Bool.md)
$MadelineProto->[account\_updateProfile](account.updateProfile.md)(\['first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'about' => [string](../types/string.md), \]) == [$User](../types/User.md)
$MadelineProto->[account->updateProfile](account_updateProfile.md)(\['first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), 'about' => [string](../types/string.md), \]) == [$User](../types/User.md)
$MadelineProto->[account\_updateStatus](account.updateStatus.md)(\['offline' => [Bool](../types/Bool.md), \]) == [$Bool](../types/Bool.md)
$MadelineProto->[account->updateStatus](account_updateStatus.md)(\['offline' => [Bool](../types/Bool.md), \]) == [$Bool](../types/Bool.md)
$MadelineProto->[account\_updateUsername](account.updateUsername.md)(\['username' => [string](../types/string.md), \]) == [$User](../types/User.md)
$MadelineProto->[account->updateUsername](account_updateUsername.md)(\['username' => [string](../types/string.md), \]) == [$User](../types/User.md)
$MadelineProto->[auth\_bindTempAuthKey](auth.bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) == [$Bool](../types/Bool.md)
$MadelineProto->[auth->bindTempAuthKey](auth_bindTempAuthKey.md)(\['perm_auth_key_id' => [long](../types/long.md), 'nonce' => [long](../types/long.md), 'expires_at' => [int](../types/int.md), 'encrypted_message' => [bytes](../types/bytes.md), \]) == [$Bool](../types/Bool.md)
$MadelineProto->[auth\_cancelCode](auth.cancelCode.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md)
$MadelineProto->[auth->cancelCode](auth_cancelCode.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md)
$MadelineProto->[auth\_checkPassword](auth.checkPassword.md)(\['password_hash' => [bytes](../types/bytes.md), \]) == [$auth\_Authorization](../types/auth_Authorization.md)
$MadelineProto->[auth->checkPassword](auth_checkPassword.md)(\['password_hash' => [bytes](../types/bytes.md), \]) == [$auth\_Authorization](../types/auth_Authorization.md)
$MadelineProto->[auth\_checkPhone](auth.checkPhone.md)(\['phone_number' => [string](../types/string.md), \]) == [$auth\_CheckedPhone](../types/auth_CheckedPhone.md)
$MadelineProto->[auth->checkPhone](auth_checkPhone.md)(\['phone_number' => [string](../types/string.md), \]) == [$auth\_CheckedPhone](../types/auth_CheckedPhone.md)
$MadelineProto->[auth\_dropTempAuthKeys](auth.dropTempAuthKeys.md)(\['except_auth_keys' => \[[long](../types/long.md)\], \]) == [$Bool](../types/Bool.md)
$MadelineProto->[auth->dropTempAuthKeys](auth_dropTempAuthKeys.md)(\['except_auth_keys' => \[[long](../types/long.md)\], \]) == [$Bool](../types/Bool.md)
$MadelineProto->[auth\_exportAuthorization](auth.exportAuthorization.md)(\['dc_id' => [int](../types/int.md), \]) == [$auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md)
$MadelineProto->[auth->exportAuthorization](auth_exportAuthorization.md)(\['dc_id' => [int](../types/int.md), \]) == [$auth\_ExportedAuthorization](../types/auth_ExportedAuthorization.md)
$MadelineProto->[auth\_importAuthorization](auth.importAuthorization.md)(\['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) == [$auth\_Authorization](../types/auth_Authorization.md)
$MadelineProto->[auth->importAuthorization](auth_importAuthorization.md)(\['id' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) == [$auth\_Authorization](../types/auth_Authorization.md)
$MadelineProto->[auth\_importBotAuthorization](auth.importBotAuthorization.md)(\['api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'bot_auth_token' => [string](../types/string.md), \]) == [$auth\_Authorization](../types/auth_Authorization.md)
$MadelineProto->[auth->importBotAuthorization](auth_importBotAuthorization.md)(\['api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), 'bot_auth_token' => [string](../types/string.md), \]) == [$auth\_Authorization](../types/auth_Authorization.md)
$MadelineProto->[auth\_logOut](auth.logOut.md)(\[\]) == [$Bool](../types/Bool.md)
$MadelineProto->[auth->logOut](auth_logOut.md)(\[\]) == [$Bool](../types/Bool.md)
$MadelineProto->[auth\_recoverPassword](auth.recoverPassword.md)(\['code' => [string](../types/string.md), \]) == [$auth\_Authorization](../types/auth_Authorization.md)
$MadelineProto->[auth->recoverPassword](auth_recoverPassword.md)(\['code' => [string](../types/string.md), \]) == [$auth\_Authorization](../types/auth_Authorization.md)
$MadelineProto->[auth\_requestPasswordRecovery](auth.requestPasswordRecovery.md)(\[\]) == [$auth\_PasswordRecovery](../types/auth_PasswordRecovery.md)
$MadelineProto->[auth->requestPasswordRecovery](auth_requestPasswordRecovery.md)(\[\]) == [$auth\_PasswordRecovery](../types/auth_PasswordRecovery.md)
$MadelineProto->[auth\_resendCode](auth.resendCode.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) == [$auth\_SentCode](../types/auth_SentCode.md)
$MadelineProto->[auth->resendCode](auth_resendCode.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), \]) == [$auth\_SentCode](../types/auth_SentCode.md)
$MadelineProto->[auth\_resetAuthorizations](auth.resetAuthorizations.md)(\[\]) == [$Bool](../types/Bool.md)
$MadelineProto->[auth->resetAuthorizations](auth_resetAuthorizations.md)(\[\]) == [$Bool](../types/Bool.md)
$MadelineProto->[auth\_sendCode](auth.sendCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'phone_number' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), 'api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), \]) == [$auth\_SentCode](../types/auth_SentCode.md)
$MadelineProto->[auth->sendCode](auth_sendCode.md)(\['allow_flashcall' => [Bool](../types/Bool.md), 'phone_number' => [string](../types/string.md), 'current_number' => [Bool](../types/Bool.md), 'api_id' => [int](../types/int.md), 'api_hash' => [string](../types/string.md), \]) == [$auth\_SentCode](../types/auth_SentCode.md)
$MadelineProto->[auth\_sendInvites](auth.sendInvites.md)(\['phone_numbers' => \[[string](../types/string.md)\], 'message' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md)
$MadelineProto->[auth->sendInvites](auth_sendInvites.md)(\['phone_numbers' => \[[string](../types/string.md)\], 'message' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md)
$MadelineProto->[auth\_signIn](auth.signIn.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) == [$auth\_Authorization](../types/auth_Authorization.md)
$MadelineProto->[auth->signIn](auth_signIn.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), \]) == [$auth\_Authorization](../types/auth_Authorization.md)
$MadelineProto->[auth\_signUp](auth.signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) == [$auth\_Authorization](../types/auth_Authorization.md)
$MadelineProto->[auth->signUp](auth_signUp.md)(\['phone_number' => [string](../types/string.md), 'phone_code_hash' => [string](../types/string.md), 'phone_code' => [string](../types/string.md), 'first_name' => [string](../types/string.md), 'last_name' => [string](../types/string.md), \]) == [$auth\_Authorization](../types/auth_Authorization.md)
$MadelineProto->[channels\_checkUsername](channels.checkUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md)
$MadelineProto->[channels->checkUsername](channels_checkUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md)
$MadelineProto->[channels\_createChannel](channels.createChannel.md)(\['broadcast' => [Bool](../types/Bool.md), 'megagroup' => [Bool](../types/Bool.md), 'title' => [string](../types/string.md), 'about' => [string](../types/string.md), \]) == [$Updates](../types/Updates.md)
$MadelineProto->[channels->createChannel](channels_createChannel.md)(\['broadcast' => [Bool](../types/Bool.md), 'megagroup' => [Bool](../types/Bool.md), 'title' => [string](../types/string.md), 'about' => [string](../types/string.md), \]) == [$Updates](../types/Updates.md)
$MadelineProto->[channels\_deleteChannel](channels.deleteChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) == [$Updates](../types/Updates.md)
$MadelineProto->[channels->deleteChannel](channels_deleteChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) == [$Updates](../types/Updates.md)
$MadelineProto->[channels\_deleteMessages](channels.deleteMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) == [$messages\_AffectedMessages](../types/messages_AffectedMessages.md)
$MadelineProto->[channels->deleteMessages](channels_deleteMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) == [$messages\_AffectedMessages](../types/messages_AffectedMessages.md)
$MadelineProto->[channels\_deleteUserHistory](channels.deleteUserHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) == [$messages\_AffectedHistory](../types/messages_AffectedHistory.md)
$MadelineProto->[channels->deleteUserHistory](channels_deleteUserHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) == [$messages\_AffectedHistory](../types/messages_AffectedHistory.md)
$MadelineProto->[channels\_editAbout](channels.editAbout.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'about' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md)
$MadelineProto->[channels->editAbout](channels_editAbout.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'about' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md)
$MadelineProto->[channels\_editAdmin](channels.editAdmin.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), 'role' => [ChannelParticipantRole](../types/ChannelParticipantRole.md), \]) == [$Updates](../types/Updates.md)
$MadelineProto->[channels->editAdmin](channels_editAdmin.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), 'role' => [ChannelParticipantRole](../types/ChannelParticipantRole.md), \]) == [$Updates](../types/Updates.md)
$MadelineProto->[channels\_editPhoto](channels.editPhoto.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'photo' => [InputChatPhoto](../types/InputChatPhoto.md), \]) == [$Updates](../types/Updates.md)
$MadelineProto->[channels->editPhoto](channels_editPhoto.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'photo' => [InputChatPhoto](../types/InputChatPhoto.md), \]) == [$Updates](../types/Updates.md)
$MadelineProto->[channels\_editTitle](channels.editTitle.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'title' => [string](../types/string.md), \]) == [$Updates](../types/Updates.md)
$MadelineProto->[channels->editTitle](channels_editTitle.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'title' => [string](../types/string.md), \]) == [$Updates](../types/Updates.md)
$MadelineProto->[channels\_exportInvite](channels.exportInvite.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) == [$ExportedChatInvite](../types/ExportedChatInvite.md)
$MadelineProto->[channels->exportInvite](channels_exportInvite.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) == [$ExportedChatInvite](../types/ExportedChatInvite.md)
$MadelineProto->[channels\_exportMessageLink](channels.exportMessageLink.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => [int](../types/int.md), \]) == [$ExportedMessageLink](../types/ExportedMessageLink.md)
$MadelineProto->[channels->exportMessageLink](channels_exportMessageLink.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => [int](../types/int.md), \]) == [$ExportedMessageLink](../types/ExportedMessageLink.md)
$MadelineProto->[channels\_getAdminedPublicChannels](channels.getAdminedPublicChannels.md)(\[\]) == [$messages\_Chats](../types/messages_Chats.md)
$MadelineProto->[channels->getAdminedPublicChannels](channels_getAdminedPublicChannels.md)(\[\]) == [$messages\_Chats](../types/messages_Chats.md)
$MadelineProto->[channels\_getChannels](channels.getChannels.md)(\['id' => \[[InputChannel](../types/InputChannel.md)\], \]) == [$messages\_Chats](../types/messages_Chats.md)
$MadelineProto->[channels->getChannels](channels_getChannels.md)(\['id' => \[[InputChannel](../types/InputChannel.md)\], \]) == [$messages\_Chats](../types/messages_Chats.md)
$MadelineProto->[channels\_getFullChannel](channels.getFullChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) == [$messages\_ChatFull](../types/messages_ChatFull.md)
$MadelineProto->[channels->getFullChannel](channels_getFullChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) == [$messages\_ChatFull](../types/messages_ChatFull.md)
$MadelineProto->[channels\_getMessages](channels.getMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) == [$messages\_Messages](../types/messages_Messages.md)
$MadelineProto->[channels->getMessages](channels_getMessages.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'id' => \[[int](../types/int.md)\], \]) == [$messages\_Messages](../types/messages_Messages.md)
$MadelineProto->[channels\_getParticipant](channels.getParticipant.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) == [$channels\_ChannelParticipant](../types/channels_ChannelParticipant.md)
$MadelineProto->[channels->getParticipant](channels_getParticipant.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), \]) == [$channels\_ChannelParticipant](../types/channels_ChannelParticipant.md)
$MadelineProto->[channels\_getParticipants](channels.getParticipants.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$channels\_ChannelParticipants](../types/channels_ChannelParticipants.md)
$MadelineProto->[channels->getParticipants](channels_getParticipants.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelParticipantsFilter](../types/ChannelParticipantsFilter.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$channels\_ChannelParticipants](../types/channels_ChannelParticipants.md)
$MadelineProto->[channels\_inviteToChannel](channels.inviteToChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'users' => \[[InputUser](../types/InputUser.md)\], \]) == [$Updates](../types/Updates.md)
$MadelineProto->[channels->inviteToChannel](channels_inviteToChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'users' => \[[InputUser](../types/InputUser.md)\], \]) == [$Updates](../types/Updates.md)
$MadelineProto->[channels\_joinChannel](channels.joinChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) == [$Updates](../types/Updates.md)
$MadelineProto->[channels->joinChannel](channels_joinChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) == [$Updates](../types/Updates.md)
$MadelineProto->[channels\_kickFromChannel](channels.kickFromChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), 'kicked' => [Bool](../types/Bool.md), \]) == [$Updates](../types/Updates.md)
$MadelineProto->[channels->kickFromChannel](channels_kickFromChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), 'kicked' => [Bool](../types/Bool.md), \]) == [$Updates](../types/Updates.md)
$MadelineProto->[channels\_leaveChannel](channels.leaveChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) == [$Updates](../types/Updates.md)
$MadelineProto->[channels->leaveChannel](channels_leaveChannel.md)(\['channel' => [InputChannel](../types/InputChannel.md), \]) == [$Updates](../types/Updates.md)
$MadelineProto->[channels\_readHistory](channels.readHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'max_id' => [int](../types/int.md), \]) == [$Bool](../types/Bool.md)
$MadelineProto->[channels->readHistory](channels_readHistory.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'max_id' => [int](../types/int.md), \]) == [$Bool](../types/Bool.md)
$MadelineProto->[channels\_reportSpam](channels.reportSpam.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), 'id' => \[[int](../types/int.md)\], \]) == [$Bool](../types/Bool.md)
$MadelineProto->[channels->reportSpam](channels_reportSpam.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'user_id' => [InputUser](../types/InputUser.md), 'id' => \[[int](../types/int.md)\], \]) == [$Bool](../types/Bool.md)
$MadelineProto->[channels\_toggleInvites](channels.toggleInvites.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'enabled' => [Bool](../types/Bool.md), \]) == [$Updates](../types/Updates.md)
$MadelineProto->[channels->toggleInvites](channels_toggleInvites.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'enabled' => [Bool](../types/Bool.md), \]) == [$Updates](../types/Updates.md)
$MadelineProto->[channels\_toggleSignatures](channels.toggleSignatures.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'enabled' => [Bool](../types/Bool.md), \]) == [$Updates](../types/Updates.md)
$MadelineProto->[channels->toggleSignatures](channels_toggleSignatures.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'enabled' => [Bool](../types/Bool.md), \]) == [$Updates](../types/Updates.md)
$MadelineProto->[channels\_updatePinnedMessage](channels.updatePinnedMessage.md)(\['silent' => [Bool](../types/Bool.md), 'channel' => [InputChannel](../types/InputChannel.md), 'id' => [int](../types/int.md), \]) == [$Updates](../types/Updates.md)
$MadelineProto->[channels->updatePinnedMessage](channels_updatePinnedMessage.md)(\['silent' => [Bool](../types/Bool.md), 'channel' => [InputChannel](../types/InputChannel.md), 'id' => [int](../types/int.md), \]) == [$Updates](../types/Updates.md)
$MadelineProto->[channels\_updateUsername](channels.updateUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md)
$MadelineProto->[channels->updateUsername](channels_updateUsername.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'username' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md)
$MadelineProto->[contacts\_block](contacts.block.md)(\['id' => [InputUser](../types/InputUser.md), \]) == [$Bool](../types/Bool.md)
$MadelineProto->[contacts->block](contacts_block.md)(\['id' => [InputUser](../types/InputUser.md), \]) == [$Bool](../types/Bool.md)
$MadelineProto->[contacts\_deleteContact](contacts.deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) == [$contacts\_Link](../types/contacts_Link.md)
$MadelineProto->[contacts->deleteContact](contacts_deleteContact.md)(\['id' => [InputUser](../types/InputUser.md), \]) == [$contacts\_Link](../types/contacts_Link.md)
$MadelineProto->[contacts\_deleteContacts](contacts.deleteContacts.md)(\['id' => \[[InputUser](../types/InputUser.md)\], \]) == [$Bool](../types/Bool.md)
$MadelineProto->[contacts->deleteContacts](contacts_deleteContacts.md)(\['id' => \[[InputUser](../types/InputUser.md)\], \]) == [$Bool](../types/Bool.md)
$MadelineProto->[contacts\_exportCard](contacts.exportCard.md)(\[\]) == [$Vector\_of\_int](../types/int.md)
$MadelineProto->[contacts->exportCard](contacts_exportCard.md)(\[\]) == [$Vector\_of\_int](../types/int.md)
$MadelineProto->[contacts\_getBlocked](contacts.getBlocked.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$contacts\_Blocked](../types/contacts_Blocked.md)
$MadelineProto->[contacts->getBlocked](contacts_getBlocked.md)(\['offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$contacts\_Blocked](../types/contacts_Blocked.md)
$MadelineProto->[contacts\_getContacts](contacts.getContacts.md)(\['hash' => [string](../types/string.md), \]) == [$contacts\_Contacts](../types/contacts_Contacts.md)
$MadelineProto->[contacts->getContacts](contacts_getContacts.md)(\['hash' => [string](../types/string.md), \]) == [$contacts\_Contacts](../types/contacts_Contacts.md)
$MadelineProto->[contacts\_getStatuses](contacts.getStatuses.md)(\[\]) == [$Vector\_of\_ContactStatus](../types/ContactStatus.md)
$MadelineProto->[contacts->getStatuses](contacts_getStatuses.md)(\[\]) == [$Vector\_of\_ContactStatus](../types/ContactStatus.md)
$MadelineProto->[contacts\_getTopPeers](contacts.getTopPeers.md)(\['correspondents' => [Bool](../types/Bool.md), 'bots_pm' => [Bool](../types/Bool.md), 'bots_inline' => [Bool](../types/Bool.md), 'groups' => [Bool](../types/Bool.md), 'channels' => [Bool](../types/Bool.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) == [$contacts\_TopPeers](../types/contacts_TopPeers.md)
$MadelineProto->[contacts->getTopPeers](contacts_getTopPeers.md)(\['correspondents' => [Bool](../types/Bool.md), 'bots_pm' => [Bool](../types/Bool.md), 'bots_inline' => [Bool](../types/Bool.md), 'groups' => [Bool](../types/Bool.md), 'channels' => [Bool](../types/Bool.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'hash' => [int](../types/int.md), \]) == [$contacts\_TopPeers](../types/contacts_TopPeers.md)
$MadelineProto->[contacts\_importCard](contacts.importCard.md)(\['export_card' => \[[int](../types/int.md)\], \]) == [$User](../types/User.md)
$MadelineProto->[contacts->importCard](contacts_importCard.md)(\['export_card' => \[[int](../types/int.md)\], \]) == [$User](../types/User.md)
$MadelineProto->[contacts\_importContacts](contacts.importContacts.md)(\['contacts' => \[[InputContact](../types/InputContact.md)\], 'replace' => [Bool](../types/Bool.md), \]) == [$contacts\_ImportedContacts](../types/contacts_ImportedContacts.md)
$MadelineProto->[contacts->importContacts](contacts_importContacts.md)(\['contacts' => \[[InputContact](../types/InputContact.md)\], 'replace' => [Bool](../types/Bool.md), \]) == [$contacts\_ImportedContacts](../types/contacts_ImportedContacts.md)
$MadelineProto->[contacts\_resetTopPeerRating](contacts.resetTopPeerRating.md)(\['category' => [TopPeerCategory](../types/TopPeerCategory.md), 'peer' => [InputPeer](../types/InputPeer.md), \]) == [$Bool](../types/Bool.md)
$MadelineProto->[contacts->resetTopPeerRating](contacts_resetTopPeerRating.md)(\['category' => [TopPeerCategory](../types/TopPeerCategory.md), 'peer' => [InputPeer](../types/InputPeer.md), \]) == [$Bool](../types/Bool.md)
$MadelineProto->[contacts\_resolveUsername](contacts.resolveUsername.md)(\['username' => [string](../types/string.md), \]) == [$contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md)
$MadelineProto->[contacts->resolveUsername](contacts_resolveUsername.md)(\['username' => [string](../types/string.md), \]) == [$contacts\_ResolvedPeer](../types/contacts_ResolvedPeer.md)
$MadelineProto->[contacts\_search](contacts.search.md)(\['q' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) == [$contacts\_Found](../types/contacts_Found.md)
$MadelineProto->[contacts->search](contacts_search.md)(\['q' => [string](../types/string.md), 'limit' => [int](../types/int.md), \]) == [$contacts\_Found](../types/contacts_Found.md)
$MadelineProto->[contacts\_unblock](contacts.unblock.md)(\['id' => [InputUser](../types/InputUser.md), \]) == [$Bool](../types/Bool.md)
$MadelineProto->[contacts->unblock](contacts_unblock.md)(\['id' => [InputUser](../types/InputUser.md), \]) == [$Bool](../types/Bool.md)
$MadelineProto->[help\_getAppChangelog](help.getAppChangelog.md)(\[\]) == [$help\_AppChangelog](../types/help_AppChangelog.md)
$MadelineProto->[help->getAppChangelog](help_getAppChangelog.md)(\[\]) == [$help\_AppChangelog](../types/help_AppChangelog.md)
$MadelineProto->[help\_getAppUpdate](help.getAppUpdate.md)(\[\]) == [$help\_AppUpdate](../types/help_AppUpdate.md)
$MadelineProto->[help->getAppUpdate](help_getAppUpdate.md)(\[\]) == [$help\_AppUpdate](../types/help_AppUpdate.md)
$MadelineProto->[help\_getConfig](help.getConfig.md)(\[\]) == [$Config](../types/Config.md)
$MadelineProto->[help->getConfig](help_getConfig.md)(\[\]) == [$Config](../types/Config.md)
$MadelineProto->[help\_getInviteText](help.getInviteText.md)(\[\]) == [$help\_InviteText](../types/help_InviteText.md)
$MadelineProto->[help->getInviteText](help_getInviteText.md)(\[\]) == [$help\_InviteText](../types/help_InviteText.md)
$MadelineProto->[help\_getNearestDc](help.getNearestDc.md)(\[\]) == [$NearestDc](../types/NearestDc.md)
$MadelineProto->[help->getNearestDc](help_getNearestDc.md)(\[\]) == [$NearestDc](../types/NearestDc.md)
$MadelineProto->[help\_getSupport](help.getSupport.md)(\[\]) == [$help\_Support](../types/help_Support.md)
$MadelineProto->[help->getSupport](help_getSupport.md)(\[\]) == [$help\_Support](../types/help_Support.md)
$MadelineProto->[help\_getTermsOfService](help.getTermsOfService.md)(\[\]) == [$help\_TermsOfService](../types/help_TermsOfService.md)
$MadelineProto->[help->getTermsOfService](help_getTermsOfService.md)(\[\]) == [$help\_TermsOfService](../types/help_TermsOfService.md)
$MadelineProto->[help\_saveAppLog](help.saveAppLog.md)(\['events' => \[[InputAppEvent](../types/InputAppEvent.md)\], \]) == [$Bool](../types/Bool.md)
$MadelineProto->[help->saveAppLog](help_saveAppLog.md)(\['events' => \[[InputAppEvent](../types/InputAppEvent.md)\], \]) == [$Bool](../types/Bool.md)
$MadelineProto->[initConnection](initConnection.md)(\['api_id' => [int](../types/int.md), 'device_model' => [string](../types/string.md), 'system_version' => [string](../types/string.md), 'app_version' => [string](../types/string.md), 'lang_code' => [string](../types/string.md), 'query' => [!X](../types/!X.md), \]) == [$X](../types/X.md)
@ -194,179 +194,179 @@ $MadelineProto->[invokeWithLayer](invokeWithLayer.md)(\['layer' => [int](../type
$MadelineProto->[invokeWithoutUpdates](invokeWithoutUpdates.md)(\['query' => [!X](../types/!X.md), \]) == [$X](../types/X.md)
$MadelineProto->[messages\_acceptEncryption](messages.acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) == [$EncryptedChat](../types/EncryptedChat.md)
$MadelineProto->[messages->acceptEncryption](messages_acceptEncryption.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'g_b' => [bytes](../types/bytes.md), 'key_fingerprint' => [long](../types/long.md), \]) == [$EncryptedChat](../types/EncryptedChat.md)
$MadelineProto->[messages\_addChatUser](messages.addChatUser.md)(\['chat_id' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), 'fwd_limit' => [int](../types/int.md), \]) == [$Updates](../types/Updates.md)
$MadelineProto->[messages->addChatUser](messages_addChatUser.md)(\['chat_id' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), 'fwd_limit' => [int](../types/int.md), \]) == [$Updates](../types/Updates.md)
$MadelineProto->[messages\_checkChatInvite](messages.checkChatInvite.md)(\['hash' => [string](../types/string.md), \]) == [$ChatInvite](../types/ChatInvite.md)
$MadelineProto->[messages->checkChatInvite](messages_checkChatInvite.md)(\['hash' => [string](../types/string.md), \]) == [$ChatInvite](../types/ChatInvite.md)
$MadelineProto->[messages\_clearRecentStickers](messages.clearRecentStickers.md)(\['attached' => [Bool](../types/Bool.md), \]) == [$Bool](../types/Bool.md)
$MadelineProto->[messages->clearRecentStickers](messages_clearRecentStickers.md)(\['attached' => [Bool](../types/Bool.md), \]) == [$Bool](../types/Bool.md)
$MadelineProto->[messages\_createChat](messages.createChat.md)(\['users' => \[[InputUser](../types/InputUser.md)\], 'title' => [string](../types/string.md), \]) == [$Updates](../types/Updates.md)
$MadelineProto->[messages->createChat](messages_createChat.md)(\['users' => \[[InputUser](../types/InputUser.md)\], 'title' => [string](../types/string.md), \]) == [$Updates](../types/Updates.md)
$MadelineProto->[messages\_deleteChatUser](messages.deleteChatUser.md)(\['chat_id' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), \]) == [$Updates](../types/Updates.md)
$MadelineProto->[messages->deleteChatUser](messages_deleteChatUser.md)(\['chat_id' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), \]) == [$Updates](../types/Updates.md)
$MadelineProto->[messages\_deleteHistory](messages.deleteHistory.md)(\['just_clear' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) == [$messages\_AffectedHistory](../types/messages_AffectedHistory.md)
$MadelineProto->[messages->deleteHistory](messages_deleteHistory.md)(\['just_clear' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) == [$messages\_AffectedHistory](../types/messages_AffectedHistory.md)
$MadelineProto->[messages\_deleteMessages](messages.deleteMessages.md)(\['id' => \[[int](../types/int.md)\], \]) == [$messages\_AffectedMessages](../types/messages_AffectedMessages.md)
$MadelineProto->[messages->deleteMessages](messages_deleteMessages.md)(\['id' => \[[int](../types/int.md)\], \]) == [$messages\_AffectedMessages](../types/messages_AffectedMessages.md)
$MadelineProto->[messages\_discardEncryption](messages.discardEncryption.md)(\['chat_id' => [int](../types/int.md), \]) == [$Bool](../types/Bool.md)
$MadelineProto->[messages->discardEncryption](messages_discardEncryption.md)(\['chat_id' => [int](../types/int.md), \]) == [$Bool](../types/Bool.md)
$MadelineProto->[messages\_editChatAdmin](messages.editChatAdmin.md)(\['chat_id' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), 'is_admin' => [Bool](../types/Bool.md), \]) == [$Bool](../types/Bool.md)
$MadelineProto->[messages->editChatAdmin](messages_editChatAdmin.md)(\['chat_id' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), 'is_admin' => [Bool](../types/Bool.md), \]) == [$Bool](../types/Bool.md)
$MadelineProto->[messages\_editChatPhoto](messages.editChatPhoto.md)(\['chat_id' => [int](../types/int.md), 'photo' => [InputChatPhoto](../types/InputChatPhoto.md), \]) == [$Updates](../types/Updates.md)
$MadelineProto->[messages->editChatPhoto](messages_editChatPhoto.md)(\['chat_id' => [int](../types/int.md), 'photo' => [InputChatPhoto](../types/InputChatPhoto.md), \]) == [$Updates](../types/Updates.md)
$MadelineProto->[messages\_editChatTitle](messages.editChatTitle.md)(\['chat_id' => [int](../types/int.md), 'title' => [string](../types/string.md), \]) == [$Updates](../types/Updates.md)
$MadelineProto->[messages->editChatTitle](messages_editChatTitle.md)(\['chat_id' => [int](../types/int.md), 'title' => [string](../types/string.md), \]) == [$Updates](../types/Updates.md)
$MadelineProto->[messages\_editInlineBotMessage](messages.editInlineBotMessage.md)(\['no_webpage' => [Bool](../types/Bool.md), 'id' => [InputBotInlineMessageID](../types/InputBotInlineMessageID.md), 'message' => [string](../types/string.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]) == [$Bool](../types/Bool.md)
$MadelineProto->[messages->editInlineBotMessage](messages_editInlineBotMessage.md)(\['no_webpage' => [Bool](../types/Bool.md), 'id' => [InputBotInlineMessageID](../types/InputBotInlineMessageID.md), 'message' => [string](../types/string.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]) == [$Bool](../types/Bool.md)
$MadelineProto->[messages\_editMessage](messages.editMessage.md)(\['no_webpage' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), 'message' => [string](../types/string.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]) == [$Updates](../types/Updates.md)
$MadelineProto->[messages->editMessage](messages_editMessage.md)(\['no_webpage' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), 'message' => [string](../types/string.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]) == [$Updates](../types/Updates.md)
$MadelineProto->[messages\_exportChatInvite](messages.exportChatInvite.md)(\['chat_id' => [int](../types/int.md), \]) == [$ExportedChatInvite](../types/ExportedChatInvite.md)
$MadelineProto->[messages->exportChatInvite](messages_exportChatInvite.md)(\['chat_id' => [int](../types/int.md), \]) == [$ExportedChatInvite](../types/ExportedChatInvite.md)
$MadelineProto->[messages\_forwardMessage](messages.forwardMessage.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), 'random_id' => [long](../types/long.md), \]) == [$Updates](../types/Updates.md)
$MadelineProto->[messages->forwardMessage](messages_forwardMessage.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), 'random_id' => [long](../types/long.md), \]) == [$Updates](../types/Updates.md)
$MadelineProto->[messages\_forwardMessages](messages.forwardMessages.md)(\['silent' => [Bool](../types/Bool.md), 'background' => [Bool](../types/Bool.md), 'with_my_score' => [Bool](../types/Bool.md), 'from_peer' => [InputPeer](../types/InputPeer.md), 'id' => \[[int](../types/int.md)\], 'random_id' => \[[long](../types/long.md)\], 'to_peer' => [InputPeer](../types/InputPeer.md), \]) == [$Updates](../types/Updates.md)
$MadelineProto->[messages->forwardMessages](messages_forwardMessages.md)(\['silent' => [Bool](../types/Bool.md), 'background' => [Bool](../types/Bool.md), 'with_my_score' => [Bool](../types/Bool.md), 'from_peer' => [InputPeer](../types/InputPeer.md), 'id' => \[[int](../types/int.md)\], 'random_id' => \[[long](../types/long.md)\], 'to_peer' => [InputPeer](../types/InputPeer.md), \]) == [$Updates](../types/Updates.md)
$MadelineProto->[messages\_getAllDrafts](messages.getAllDrafts.md)(\[\]) == [$Updates](../types/Updates.md)
$MadelineProto->[messages->getAllDrafts](messages_getAllDrafts.md)(\[\]) == [$Updates](../types/Updates.md)
$MadelineProto->[messages\_getAllStickers](messages.getAllStickers.md)(\['hash' => [int](../types/int.md), \]) == [$messages\_AllStickers](../types/messages_AllStickers.md)
$MadelineProto->[messages->getAllStickers](messages_getAllStickers.md)(\['hash' => [int](../types/int.md), \]) == [$messages\_AllStickers](../types/messages_AllStickers.md)
$MadelineProto->[messages\_getArchivedStickers](messages.getArchivedStickers.md)(\['masks' => [Bool](../types/Bool.md), 'offset_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) == [$messages\_ArchivedStickers](../types/messages_ArchivedStickers.md)
$MadelineProto->[messages->getArchivedStickers](messages_getArchivedStickers.md)(\['masks' => [Bool](../types/Bool.md), 'offset_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) == [$messages\_ArchivedStickers](../types/messages_ArchivedStickers.md)
$MadelineProto->[messages\_getAttachedStickers](messages.getAttachedStickers.md)(\['media' => [InputStickeredMedia](../types/InputStickeredMedia.md), \]) == [$Vector\_of\_StickerSetCovered](../types/StickerSetCovered.md)
$MadelineProto->[messages->getAttachedStickers](messages_getAttachedStickers.md)(\['media' => [InputStickeredMedia](../types/InputStickeredMedia.md), \]) == [$Vector\_of\_StickerSetCovered](../types/StickerSetCovered.md)
$MadelineProto->[messages\_getBotCallbackAnswer](messages.getBotCallbackAnswer.md)(\['game' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'msg_id' => [int](../types/int.md), 'data' => [bytes](../types/bytes.md), \]) == [$messages\_BotCallbackAnswer](../types/messages_BotCallbackAnswer.md)
$MadelineProto->[messages->getBotCallbackAnswer](messages_getBotCallbackAnswer.md)(\['game' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'msg_id' => [int](../types/int.md), 'data' => [bytes](../types/bytes.md), \]) == [$messages\_BotCallbackAnswer](../types/messages_BotCallbackAnswer.md)
$MadelineProto->[messages\_getChats](messages.getChats.md)(\['id' => \[[int](../types/int.md)\], \]) == [$messages\_Chats](../types/messages_Chats.md)
$MadelineProto->[messages->getChats](messages_getChats.md)(\['id' => \[[int](../types/int.md)\], \]) == [$messages\_Chats](../types/messages_Chats.md)
$MadelineProto->[messages\_getDhConfig](messages.getDhConfig.md)(\['version' => [int](../types/int.md), 'random_length' => [int](../types/int.md), \]) == [$messages\_DhConfig](../types/messages_DhConfig.md)
$MadelineProto->[messages->getDhConfig](messages_getDhConfig.md)(\['version' => [int](../types/int.md), 'random_length' => [int](../types/int.md), \]) == [$messages\_DhConfig](../types/messages_DhConfig.md)
$MadelineProto->[messages\_getDialogs](messages.getDialogs.md)(\['offset_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), \]) == [$messages\_Dialogs](../types/messages_Dialogs.md)
$MadelineProto->[messages->getDialogs](messages_getDialogs.md)(\['offset_date' => [int](../types/int.md), 'offset_id' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'limit' => [int](../types/int.md), \]) == [$messages\_Dialogs](../types/messages_Dialogs.md)
$MadelineProto->[messages\_getDocumentByHash](messages.getDocumentByHash.md)(\['sha256' => [bytes](../types/bytes.md), 'size' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), \]) == [$Document](../types/Document.md)
$MadelineProto->[messages->getDocumentByHash](messages_getDocumentByHash.md)(\['sha256' => [bytes](../types/bytes.md), 'size' => [int](../types/int.md), 'mime_type' => [string](../types/string.md), \]) == [$Document](../types/Document.md)
$MadelineProto->[messages\_getFeaturedStickers](messages.getFeaturedStickers.md)(\['hash' => [int](../types/int.md), \]) == [$messages\_FeaturedStickers](../types/messages_FeaturedStickers.md)
$MadelineProto->[messages->getFeaturedStickers](messages_getFeaturedStickers.md)(\['hash' => [int](../types/int.md), \]) == [$messages\_FeaturedStickers](../types/messages_FeaturedStickers.md)
$MadelineProto->[messages\_getFullChat](messages.getFullChat.md)(\['chat_id' => [int](../types/int.md), \]) == [$messages\_ChatFull](../types/messages_ChatFull.md)
$MadelineProto->[messages->getFullChat](messages_getFullChat.md)(\['chat_id' => [int](../types/int.md), \]) == [$messages\_ChatFull](../types/messages_ChatFull.md)
$MadelineProto->[messages\_getGameHighScores](messages.getGameHighScores.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), \]) == [$messages\_HighScores](../types/messages_HighScores.md)
$MadelineProto->[messages->getGameHighScores](messages_getGameHighScores.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), \]) == [$messages\_HighScores](../types/messages_HighScores.md)
$MadelineProto->[messages\_getHistory](messages.getHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'offset_date' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) == [$messages\_Messages](../types/messages_Messages.md)
$MadelineProto->[messages->getHistory](messages_getHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'offset_date' => [int](../types/int.md), 'add_offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'min_id' => [int](../types/int.md), \]) == [$messages\_Messages](../types/messages_Messages.md)
$MadelineProto->[messages\_getInlineBotResults](messages.getInlineBotResults.md)(\['bot' => [InputUser](../types/InputUser.md), 'peer' => [InputPeer](../types/InputPeer.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'query' => [string](../types/string.md), 'offset' => [string](../types/string.md), \]) == [$messages\_BotResults](../types/messages_BotResults.md)
$MadelineProto->[messages->getInlineBotResults](messages_getInlineBotResults.md)(\['bot' => [InputUser](../types/InputUser.md), 'peer' => [InputPeer](../types/InputPeer.md), 'geo_point' => [InputGeoPoint](../types/InputGeoPoint.md), 'query' => [string](../types/string.md), 'offset' => [string](../types/string.md), \]) == [$messages\_BotResults](../types/messages_BotResults.md)
$MadelineProto->[messages\_getInlineGameHighScores](messages.getInlineGameHighScores.md)(\['id' => [InputBotInlineMessageID](../types/InputBotInlineMessageID.md), 'user_id' => [InputUser](../types/InputUser.md), \]) == [$messages\_HighScores](../types/messages_HighScores.md)
$MadelineProto->[messages->getInlineGameHighScores](messages_getInlineGameHighScores.md)(\['id' => [InputBotInlineMessageID](../types/InputBotInlineMessageID.md), 'user_id' => [InputUser](../types/InputUser.md), \]) == [$messages\_HighScores](../types/messages_HighScores.md)
$MadelineProto->[messages\_getMaskStickers](messages.getMaskStickers.md)(\['hash' => [int](../types/int.md), \]) == [$messages\_AllStickers](../types/messages_AllStickers.md)
$MadelineProto->[messages->getMaskStickers](messages_getMaskStickers.md)(\['hash' => [int](../types/int.md), \]) == [$messages\_AllStickers](../types/messages_AllStickers.md)
$MadelineProto->[messages\_getMessageEditData](messages.getMessageEditData.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), \]) == [$messages\_MessageEditData](../types/messages_MessageEditData.md)
$MadelineProto->[messages->getMessageEditData](messages_getMessageEditData.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), \]) == [$messages\_MessageEditData](../types/messages_MessageEditData.md)
$MadelineProto->[messages\_getMessages](messages.getMessages.md)(\['id' => \[[int](../types/int.md)\], \]) == [$messages\_Messages](../types/messages_Messages.md)
$MadelineProto->[messages->getMessages](messages_getMessages.md)(\['id' => \[[int](../types/int.md)\], \]) == [$messages\_Messages](../types/messages_Messages.md)
$MadelineProto->[messages\_getMessagesViews](messages.getMessagesViews.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => \[[int](../types/int.md)\], 'increment' => [Bool](../types/Bool.md), \]) == [$Vector\_of\_int](../types/int.md)
$MadelineProto->[messages->getMessagesViews](messages_getMessagesViews.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'id' => \[[int](../types/int.md)\], 'increment' => [Bool](../types/Bool.md), \]) == [$Vector\_of\_int](../types/int.md)
$MadelineProto->[messages\_getPeerDialogs](messages.getPeerDialogs.md)(\['peers' => \[[InputPeer](../types/InputPeer.md)\], \]) == [$messages\_PeerDialogs](../types/messages_PeerDialogs.md)
$MadelineProto->[messages->getPeerDialogs](messages_getPeerDialogs.md)(\['peers' => \[[InputPeer](../types/InputPeer.md)\], \]) == [$messages\_PeerDialogs](../types/messages_PeerDialogs.md)
$MadelineProto->[messages\_getPeerSettings](messages.getPeerSettings.md)(\['peer' => [InputPeer](../types/InputPeer.md), \]) == [$PeerSettings](../types/PeerSettings.md)
$MadelineProto->[messages->getPeerSettings](messages_getPeerSettings.md)(\['peer' => [InputPeer](../types/InputPeer.md), \]) == [$PeerSettings](../types/PeerSettings.md)
$MadelineProto->[messages\_getRecentStickers](messages.getRecentStickers.md)(\['attached' => [Bool](../types/Bool.md), 'hash' => [int](../types/int.md), \]) == [$messages\_RecentStickers](../types/messages_RecentStickers.md)
$MadelineProto->[messages->getRecentStickers](messages_getRecentStickers.md)(\['attached' => [Bool](../types/Bool.md), 'hash' => [int](../types/int.md), \]) == [$messages\_RecentStickers](../types/messages_RecentStickers.md)
$MadelineProto->[messages\_getSavedGifs](messages.getSavedGifs.md)(\['hash' => [int](../types/int.md), \]) == [$messages\_SavedGifs](../types/messages_SavedGifs.md)
$MadelineProto->[messages->getSavedGifs](messages_getSavedGifs.md)(\['hash' => [int](../types/int.md), \]) == [$messages\_SavedGifs](../types/messages_SavedGifs.md)
$MadelineProto->[messages\_getStickerSet](messages.getStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) == [$messages\_StickerSet](../types/messages_StickerSet.md)
$MadelineProto->[messages->getStickerSet](messages_getStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) == [$messages\_StickerSet](../types/messages_StickerSet.md)
$MadelineProto->[messages\_getWebPagePreview](messages.getWebPagePreview.md)(\['message' => [string](../types/string.md), \]) == [$MessageMedia](../types/MessageMedia.md)
$MadelineProto->[messages->getWebPagePreview](messages_getWebPagePreview.md)(\['message' => [string](../types/string.md), \]) == [$MessageMedia](../types/MessageMedia.md)
$MadelineProto->[messages\_hideReportSpam](messages.hideReportSpam.md)(\['peer' => [InputPeer](../types/InputPeer.md), \]) == [$Bool](../types/Bool.md)
$MadelineProto->[messages->hideReportSpam](messages_hideReportSpam.md)(\['peer' => [InputPeer](../types/InputPeer.md), \]) == [$Bool](../types/Bool.md)
$MadelineProto->[messages\_importChatInvite](messages.importChatInvite.md)(\['hash' => [string](../types/string.md), \]) == [$Updates](../types/Updates.md)
$MadelineProto->[messages->importChatInvite](messages_importChatInvite.md)(\['hash' => [string](../types/string.md), \]) == [$Updates](../types/Updates.md)
$MadelineProto->[messages\_installStickerSet](messages.installStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'archived' => [Bool](../types/Bool.md), \]) == [$messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md)
$MadelineProto->[messages->installStickerSet](messages_installStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), 'archived' => [Bool](../types/Bool.md), \]) == [$messages\_StickerSetInstallResult](../types/messages_StickerSetInstallResult.md)
$MadelineProto->[messages\_migrateChat](messages.migrateChat.md)(\['chat_id' => [int](../types/int.md), \]) == [$Updates](../types/Updates.md)
$MadelineProto->[messages->migrateChat](messages_migrateChat.md)(\['chat_id' => [int](../types/int.md), \]) == [$Updates](../types/Updates.md)
$MadelineProto->[messages\_readEncryptedHistory](messages.readEncryptedHistory.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'max_date' => [int](../types/int.md), \]) == [$Bool](../types/Bool.md)
$MadelineProto->[messages->readEncryptedHistory](messages_readEncryptedHistory.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'max_date' => [int](../types/int.md), \]) == [$Bool](../types/Bool.md)
$MadelineProto->[messages\_readFeaturedStickers](messages.readFeaturedStickers.md)(\['id' => \[[long](../types/long.md)\], \]) == [$Bool](../types/Bool.md)
$MadelineProto->[messages->readFeaturedStickers](messages_readFeaturedStickers.md)(\['id' => \[[long](../types/long.md)\], \]) == [$Bool](../types/Bool.md)
$MadelineProto->[messages\_readHistory](messages.readHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) == [$messages\_AffectedMessages](../types/messages_AffectedMessages.md)
$MadelineProto->[messages->readHistory](messages_readHistory.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'max_id' => [int](../types/int.md), \]) == [$messages\_AffectedMessages](../types/messages_AffectedMessages.md)
$MadelineProto->[messages\_readMessageContents](messages.readMessageContents.md)(\['id' => \[[int](../types/int.md)\], \]) == [$messages\_AffectedMessages](../types/messages_AffectedMessages.md)
$MadelineProto->[messages->readMessageContents](messages_readMessageContents.md)(\['id' => \[[int](../types/int.md)\], \]) == [$messages\_AffectedMessages](../types/messages_AffectedMessages.md)
$MadelineProto->[messages\_receivedMessages](messages.receivedMessages.md)(\['max_id' => [int](../types/int.md), \]) == [$Vector\_of\_ReceivedNotifyMessage](../types/ReceivedNotifyMessage.md)
$MadelineProto->[messages->receivedMessages](messages_receivedMessages.md)(\['max_id' => [int](../types/int.md), \]) == [$Vector\_of\_ReceivedNotifyMessage](../types/ReceivedNotifyMessage.md)
$MadelineProto->[messages\_receivedQueue](messages.receivedQueue.md)(\['max_qts' => [int](../types/int.md), \]) == [$Vector\_of\_long](../types/long.md)
$MadelineProto->[messages->receivedQueue](messages_receivedQueue.md)(\['max_qts' => [int](../types/int.md), \]) == [$Vector\_of\_long](../types/long.md)
$MadelineProto->[messages\_reorderStickerSets](messages.reorderStickerSets.md)(\['masks' => [Bool](../types/Bool.md), 'order' => \[[long](../types/long.md)\], \]) == [$Bool](../types/Bool.md)
$MadelineProto->[messages->reorderStickerSets](messages_reorderStickerSets.md)(\['masks' => [Bool](../types/Bool.md), 'order' => \[[long](../types/long.md)\], \]) == [$Bool](../types/Bool.md)
$MadelineProto->[messages\_reportSpam](messages.reportSpam.md)(\['peer' => [InputPeer](../types/InputPeer.md), \]) == [$Bool](../types/Bool.md)
$MadelineProto->[messages->reportSpam](messages_reportSpam.md)(\['peer' => [InputPeer](../types/InputPeer.md), \]) == [$Bool](../types/Bool.md)
$MadelineProto->[messages\_requestEncryption](messages.requestEncryption.md)(\['user_id' => [InputUser](../types/InputUser.md), 'random_id' => [int](../types/int.md), 'g_a' => [bytes](../types/bytes.md), \]) == [$EncryptedChat](../types/EncryptedChat.md)
$MadelineProto->[messages->requestEncryption](messages_requestEncryption.md)(\['user_id' => [InputUser](../types/InputUser.md), 'random_id' => [int](../types/int.md), 'g_a' => [bytes](../types/bytes.md), \]) == [$EncryptedChat](../types/EncryptedChat.md)
$MadelineProto->[messages\_saveDraft](messages.saveDraft.md)(\['no_webpage' => [Bool](../types/Bool.md), 'reply_to_msg_id' => [int](../types/int.md), 'peer' => [InputPeer](../types/InputPeer.md), 'message' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]) == [$Bool](../types/Bool.md)
$MadelineProto->[messages->saveDraft](messages_saveDraft.md)(\['no_webpage' => [Bool](../types/Bool.md), 'reply_to_msg_id' => [int](../types/int.md), 'peer' => [InputPeer](../types/InputPeer.md), 'message' => [string](../types/string.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]) == [$Bool](../types/Bool.md)
$MadelineProto->[messages\_saveGif](messages.saveGif.md)(\['id' => [InputDocument](../types/InputDocument.md), 'unsave' => [Bool](../types/Bool.md), \]) == [$Bool](../types/Bool.md)
$MadelineProto->[messages->saveGif](messages_saveGif.md)(\['id' => [InputDocument](../types/InputDocument.md), 'unsave' => [Bool](../types/Bool.md), \]) == [$Bool](../types/Bool.md)
$MadelineProto->[messages\_saveRecentSticker](messages.saveRecentSticker.md)(\['attached' => [Bool](../types/Bool.md), 'id' => [InputDocument](../types/InputDocument.md), 'unsave' => [Bool](../types/Bool.md), \]) == [$Bool](../types/Bool.md)
$MadelineProto->[messages->saveRecentSticker](messages_saveRecentSticker.md)(\['attached' => [Bool](../types/Bool.md), 'id' => [InputDocument](../types/InputDocument.md), 'unsave' => [Bool](../types/Bool.md), \]) == [$Bool](../types/Bool.md)
$MadelineProto->[messages\_search](messages.search.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'q' => [string](../types/string.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$messages\_Messages](../types/messages_Messages.md)
$MadelineProto->[messages->search](messages_search.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'q' => [string](../types/string.md), 'filter' => [MessagesFilter](../types/MessagesFilter.md), 'min_date' => [int](../types/int.md), 'max_date' => [int](../types/int.md), 'offset' => [int](../types/int.md), 'max_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$messages\_Messages](../types/messages_Messages.md)
$MadelineProto->[messages\_searchGifs](messages.searchGifs.md)(\['q' => [string](../types/string.md), 'offset' => [int](../types/int.md), \]) == [$messages\_FoundGifs](../types/messages_FoundGifs.md)
$MadelineProto->[messages->searchGifs](messages_searchGifs.md)(\['q' => [string](../types/string.md), 'offset' => [int](../types/int.md), \]) == [$messages\_FoundGifs](../types/messages_FoundGifs.md)
$MadelineProto->[messages\_searchGlobal](messages.searchGlobal.md)(\['q' => [string](../types/string.md), 'offset_date' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$messages\_Messages](../types/messages_Messages.md)
$MadelineProto->[messages->searchGlobal](messages_searchGlobal.md)(\['q' => [string](../types/string.md), 'offset_date' => [int](../types/int.md), 'offset_peer' => [InputPeer](../types/InputPeer.md), 'offset_id' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$messages\_Messages](../types/messages_Messages.md)
$MadelineProto->[messages\_sendEncrypted](messages.sendEncrypted.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'random_id' => [long](../types/long.md), 'data' => [bytes](../types/bytes.md), \]) == [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md)
$MadelineProto->[messages->sendEncrypted](messages_sendEncrypted.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'random_id' => [long](../types/long.md), 'data' => [bytes](../types/bytes.md), \]) == [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md)
$MadelineProto->[messages\_sendEncryptedFile](messages.sendEncryptedFile.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'random_id' => [long](../types/long.md), 'data' => [bytes](../types/bytes.md), 'file' => [InputEncryptedFile](../types/InputEncryptedFile.md), \]) == [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md)
$MadelineProto->[messages->sendEncryptedFile](messages_sendEncryptedFile.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'random_id' => [long](../types/long.md), 'data' => [bytes](../types/bytes.md), 'file' => [InputEncryptedFile](../types/InputEncryptedFile.md), \]) == [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md)
$MadelineProto->[messages\_sendEncryptedService](messages.sendEncryptedService.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'random_id' => [long](../types/long.md), 'data' => [bytes](../types/bytes.md), \]) == [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md)
$MadelineProto->[messages->sendEncryptedService](messages_sendEncryptedService.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'random_id' => [long](../types/long.md), 'data' => [bytes](../types/bytes.md), \]) == [$messages\_SentEncryptedMessage](../types/messages_SentEncryptedMessage.md)
$MadelineProto->[messages\_sendInlineBotResult](messages.sendInlineBotResult.md)(\['silent' => [Bool](../types/Bool.md), 'background' => [Bool](../types/Bool.md), 'clear_draft' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'reply_to_msg_id' => [int](../types/int.md), 'random_id' => [long](../types/long.md), 'query_id' => [long](../types/long.md), 'id' => [string](../types/string.md), \]) == [$Updates](../types/Updates.md)
$MadelineProto->[messages->sendInlineBotResult](messages_sendInlineBotResult.md)(\['silent' => [Bool](../types/Bool.md), 'background' => [Bool](../types/Bool.md), 'clear_draft' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'reply_to_msg_id' => [int](../types/int.md), 'random_id' => [long](../types/long.md), 'query_id' => [long](../types/long.md), 'id' => [string](../types/string.md), \]) == [$Updates](../types/Updates.md)
$MadelineProto->[messages\_sendMedia](messages.sendMedia.md)(\['silent' => [Bool](../types/Bool.md), 'background' => [Bool](../types/Bool.md), 'clear_draft' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'reply_to_msg_id' => [int](../types/int.md), 'media' => [InputMedia](../types/InputMedia.md), 'random_id' => [long](../types/long.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), \]) == [$Updates](../types/Updates.md)
$MadelineProto->[messages->sendMedia](messages_sendMedia.md)(\['silent' => [Bool](../types/Bool.md), 'background' => [Bool](../types/Bool.md), 'clear_draft' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'reply_to_msg_id' => [int](../types/int.md), 'media' => [InputMedia](../types/InputMedia.md), 'random_id' => [long](../types/long.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), \]) == [$Updates](../types/Updates.md)
$MadelineProto->[messages\_sendMessage](messages.sendMessage.md)(\['no_webpage' => [Bool](../types/Bool.md), 'silent' => [Bool](../types/Bool.md), 'background' => [Bool](../types/Bool.md), 'clear_draft' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'reply_to_msg_id' => [int](../types/int.md), 'message' => [string](../types/string.md), 'random_id' => [long](../types/long.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]) == [$Updates](../types/Updates.md)
$MadelineProto->[messages->sendMessage](messages_sendMessage.md)(\['no_webpage' => [Bool](../types/Bool.md), 'silent' => [Bool](../types/Bool.md), 'background' => [Bool](../types/Bool.md), 'clear_draft' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'reply_to_msg_id' => [int](../types/int.md), 'message' => [string](../types/string.md), 'random_id' => [long](../types/long.md), 'reply_markup' => [ReplyMarkup](../types/ReplyMarkup.md), 'entities' => \[[MessageEntity](../types/MessageEntity.md)\], \]) == [$Updates](../types/Updates.md)
$MadelineProto->[messages\_setBotCallbackAnswer](messages.setBotCallbackAnswer.md)(\['alert' => [Bool](../types/Bool.md), 'query_id' => [long](../types/long.md), 'message' => [string](../types/string.md), 'url' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md)
$MadelineProto->[messages->setBotCallbackAnswer](messages_setBotCallbackAnswer.md)(\['alert' => [Bool](../types/Bool.md), 'query_id' => [long](../types/long.md), 'message' => [string](../types/string.md), 'url' => [string](../types/string.md), \]) == [$Bool](../types/Bool.md)
$MadelineProto->[messages\_setEncryptedTyping](messages.setEncryptedTyping.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'typing' => [Bool](../types/Bool.md), \]) == [$Bool](../types/Bool.md)
$MadelineProto->[messages->setEncryptedTyping](messages_setEncryptedTyping.md)(\['peer' => [InputEncryptedChat](../types/InputEncryptedChat.md), 'typing' => [Bool](../types/Bool.md), \]) == [$Bool](../types/Bool.md)
$MadelineProto->[messages\_setGameScore](messages.setGameScore.md)(\['edit_message' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), 'score' => [int](../types/int.md), \]) == [$Updates](../types/Updates.md)
$MadelineProto->[messages->setGameScore](messages_setGameScore.md)(\['edit_message' => [Bool](../types/Bool.md), 'peer' => [InputPeer](../types/InputPeer.md), 'id' => [int](../types/int.md), 'user_id' => [InputUser](../types/InputUser.md), 'score' => [int](../types/int.md), \]) == [$Updates](../types/Updates.md)
$MadelineProto->[messages\_setInlineBotResults](messages.setInlineBotResults.md)(\['gallery' => [Bool](../types/Bool.md), 'private' => [Bool](../types/Bool.md), 'query_id' => [long](../types/long.md), 'results' => \[[InputBotInlineResult](../types/InputBotInlineResult.md)\], 'cache_time' => [int](../types/int.md), 'next_offset' => [string](../types/string.md), 'switch_pm' => [InlineBotSwitchPM](../types/InlineBotSwitchPM.md), \]) == [$Bool](../types/Bool.md)
$MadelineProto->[messages->setInlineBotResults](messages_setInlineBotResults.md)(\['gallery' => [Bool](../types/Bool.md), 'private' => [Bool](../types/Bool.md), 'query_id' => [long](../types/long.md), 'results' => \[[InputBotInlineResult](../types/InputBotInlineResult.md)\], 'cache_time' => [int](../types/int.md), 'next_offset' => [string](../types/string.md), 'switch_pm' => [InlineBotSwitchPM](../types/InlineBotSwitchPM.md), \]) == [$Bool](../types/Bool.md)
$MadelineProto->[messages\_setInlineGameScore](messages.setInlineGameScore.md)(\['edit_message' => [Bool](../types/Bool.md), 'id' => [InputBotInlineMessageID](../types/InputBotInlineMessageID.md), 'user_id' => [InputUser](../types/InputUser.md), 'score' => [int](../types/int.md), \]) == [$Bool](../types/Bool.md)
$MadelineProto->[messages->setInlineGameScore](messages_setInlineGameScore.md)(\['edit_message' => [Bool](../types/Bool.md), 'id' => [InputBotInlineMessageID](../types/InputBotInlineMessageID.md), 'user_id' => [InputUser](../types/InputUser.md), 'score' => [int](../types/int.md), \]) == [$Bool](../types/Bool.md)
$MadelineProto->[messages\_setTyping](messages.setTyping.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'action' => [SendMessageAction](../types/SendMessageAction.md), \]) == [$Bool](../types/Bool.md)
$MadelineProto->[messages->setTyping](messages_setTyping.md)(\['peer' => [InputPeer](../types/InputPeer.md), 'action' => [SendMessageAction](../types/SendMessageAction.md), \]) == [$Bool](../types/Bool.md)
$MadelineProto->[messages\_startBot](messages.startBot.md)(\['bot' => [InputUser](../types/InputUser.md), 'peer' => [InputPeer](../types/InputPeer.md), 'random_id' => [long](../types/long.md), 'start_param' => [string](../types/string.md), \]) == [$Updates](../types/Updates.md)
$MadelineProto->[messages->startBot](messages_startBot.md)(\['bot' => [InputUser](../types/InputUser.md), 'peer' => [InputPeer](../types/InputPeer.md), 'random_id' => [long](../types/long.md), 'start_param' => [string](../types/string.md), \]) == [$Updates](../types/Updates.md)
$MadelineProto->[messages\_toggleChatAdmins](messages.toggleChatAdmins.md)(\['chat_id' => [int](../types/int.md), 'enabled' => [Bool](../types/Bool.md), \]) == [$Updates](../types/Updates.md)
$MadelineProto->[messages->toggleChatAdmins](messages_toggleChatAdmins.md)(\['chat_id' => [int](../types/int.md), 'enabled' => [Bool](../types/Bool.md), \]) == [$Updates](../types/Updates.md)
$MadelineProto->[messages\_uninstallStickerSet](messages.uninstallStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) == [$Bool](../types/Bool.md)
$MadelineProto->[messages->uninstallStickerSet](messages_uninstallStickerSet.md)(\['stickerset' => [InputStickerSet](../types/InputStickerSet.md), \]) == [$Bool](../types/Bool.md)
$MadelineProto->[photos\_deletePhotos](photos.deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) == [$Vector\_of\_long](../types/long.md)
$MadelineProto->[photos->deletePhotos](photos_deletePhotos.md)(\['id' => \[[InputPhoto](../types/InputPhoto.md)\], \]) == [$Vector\_of\_long](../types/long.md)
$MadelineProto->[photos\_getUserPhotos](photos.getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) == [$photos\_Photos](../types/photos_Photos.md)
$MadelineProto->[photos->getUserPhotos](photos_getUserPhotos.md)(\['user_id' => [InputUser](../types/InputUser.md), 'offset' => [int](../types/int.md), 'max_id' => [long](../types/long.md), 'limit' => [int](../types/int.md), \]) == [$photos\_Photos](../types/photos_Photos.md)
$MadelineProto->[photos\_updateProfilePhoto](photos.updateProfilePhoto.md)(\['id' => [InputPhoto](../types/InputPhoto.md), \]) == [$UserProfilePhoto](../types/UserProfilePhoto.md)
$MadelineProto->[photos->updateProfilePhoto](photos_updateProfilePhoto.md)(\['id' => [InputPhoto](../types/InputPhoto.md), \]) == [$UserProfilePhoto](../types/UserProfilePhoto.md)
$MadelineProto->[photos\_uploadProfilePhoto](photos.uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), \]) == [$photos\_Photo](../types/photos_Photo.md)
$MadelineProto->[photos->uploadProfilePhoto](photos_uploadProfilePhoto.md)(\['file' => [InputFile](../types/InputFile.md), \]) == [$photos\_Photo](../types/photos_Photo.md)
$MadelineProto->[updates\_getChannelDifference](updates.getChannelDifference.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$updates\_ChannelDifference](../types/updates_ChannelDifference.md)
$MadelineProto->[updates->getChannelDifference](updates_getChannelDifference.md)(\['channel' => [InputChannel](../types/InputChannel.md), 'filter' => [ChannelMessagesFilter](../types/ChannelMessagesFilter.md), 'pts' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$updates\_ChannelDifference](../types/updates_ChannelDifference.md)
$MadelineProto->[updates\_getDifference](updates.getDifference.md)(\['pts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) == [$updates\_Difference](../types/updates_Difference.md)
$MadelineProto->[updates->getDifference](updates_getDifference.md)(\['pts' => [int](../types/int.md), 'date' => [int](../types/int.md), 'qts' => [int](../types/int.md), \]) == [$updates\_Difference](../types/updates_Difference.md)
$MadelineProto->[updates\_getState](updates.getState.md)(\[\]) == [$updates\_State](../types/updates_State.md)
$MadelineProto->[updates->getState](updates_getState.md)(\[\]) == [$updates\_State](../types/updates_State.md)
$MadelineProto->[upload\_getFile](upload.getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$upload\_File](../types/upload_File.md)
$MadelineProto->[upload->getFile](upload_getFile.md)(\['location' => [InputFileLocation](../types/InputFileLocation.md), 'offset' => [int](../types/int.md), 'limit' => [int](../types/int.md), \]) == [$upload\_File](../types/upload_File.md)
$MadelineProto->[upload\_saveBigFilePart](upload.saveBigFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'file_total_parts' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) == [$Bool](../types/Bool.md)
$MadelineProto->[upload->saveBigFilePart](upload_saveBigFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'file_total_parts' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) == [$Bool](../types/Bool.md)
$MadelineProto->[upload\_saveFilePart](upload.saveFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) == [$Bool](../types/Bool.md)
$MadelineProto->[upload->saveFilePart](upload_saveFilePart.md)(\['file_id' => [long](../types/long.md), 'file_part' => [int](../types/int.md), 'bytes' => [bytes](../types/bytes.md), \]) == [$Bool](../types/Bool.md)
$MadelineProto->[users\_getFullUser](users.getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) == [$UserFull](../types/UserFull.md)
$MadelineProto->[users->getFullUser](users_getFullUser.md)(\['id' => [InputUser](../types/InputUser.md), \]) == [$UserFull](../types/UserFull.md)
$MadelineProto->[users\_getUsers](users.getUsers.md)(\['id' => \[[InputUser](../types/InputUser.md)\], \]) == [$Vector\_of\_User](../types/User.md)
$MadelineProto->[users->getUsers](users_getUsers.md)(\['id' => \[[InputUser](../types/InputUser.md)\], \]) == [$Vector\_of\_User](../types/User.md)

View File

@ -1,4 +1,4 @@
## Method: messages.acceptEncryption
## Method: messages\_acceptEncryption
### Parameters:
@ -29,5 +29,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$EncryptedChat = $MadelineProto->messages->acceptEncryption(['peer' => InputEncryptedChat, 'g_b' => bytes, 'key_fingerprint' => long, ]);
$EncryptedChat = $MadelineProto->messages_acceptEncryption(['peer' => InputEncryptedChat, 'g_b' => bytes, 'key_fingerprint' => long, ]);
```

View File

@ -1,4 +1,4 @@
## Method: messages.addChatUser
## Method: messages\_addChatUser
### Parameters:
@ -29,5 +29,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$Updates = $MadelineProto->messages->addChatUser(['chat_id' => int, 'user_id' => InputUser, 'fwd_limit' => int, ]);
$Updates = $MadelineProto->messages_addChatUser(['chat_id' => int, 'user_id' => InputUser, 'fwd_limit' => int, ]);
```

View File

@ -1,4 +1,4 @@
## Method: messages.checkChatInvite
## Method: messages\_checkChatInvite
### Parameters:
@ -27,5 +27,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$ChatInvite = $MadelineProto->messages->checkChatInvite(['hash' => string, ]);
$ChatInvite = $MadelineProto->messages_checkChatInvite(['hash' => string, ]);
```

View File

@ -1,4 +1,4 @@
## Method: messages.clearRecentStickers
## Method: messages\_clearRecentStickers
### Parameters:
@ -27,5 +27,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$Bool = $MadelineProto->messages->clearRecentStickers(['attached' => Bool, ]);
$Bool = $MadelineProto->messages_clearRecentStickers(['attached' => Bool, ]);
```

View File

@ -1,4 +1,4 @@
## Method: messages.createChat
## Method: messages\_createChat
### Parameters:
@ -28,5 +28,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$Updates = $MadelineProto->messages->createChat(['users' => [InputUser], 'title' => string, ]);
$Updates = $MadelineProto->messages_createChat(['users' => [InputUser], 'title' => string, ]);
```

View File

@ -1,4 +1,4 @@
## Method: messages.deleteChatUser
## Method: messages\_deleteChatUser
### Parameters:
@ -28,5 +28,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$Updates = $MadelineProto->messages->deleteChatUser(['chat_id' => int, 'user_id' => InputUser, ]);
$Updates = $MadelineProto->messages_deleteChatUser(['chat_id' => int, 'user_id' => InputUser, ]);
```

View File

@ -1,4 +1,4 @@
## Method: messages.deleteHistory
## Method: messages\_deleteHistory
### Parameters:
@ -29,5 +29,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$messages_AffectedHistory = $MadelineProto->messages->deleteHistory(['just_clear' => Bool, 'peer' => InputPeer, 'max_id' => int, ]);
$messages_AffectedHistory = $MadelineProto->messages_deleteHistory(['just_clear' => Bool, 'peer' => InputPeer, 'max_id' => int, ]);
```

Some files were not shown because too many files have changed in this diff Show More