Fixed docs
This commit is contained in:
parent
306f581f1c
commit
c42fa19afd
@ -158,7 +158,7 @@ if (isset($number)) {
|
||||
$MadelineProto->complete_phone_login($code);
|
||||
}
|
||||
|
||||
$'.$type.' = $MadelineProto->'.$method.'(['.$params.']);
|
||||
$'.$type.' = $MadelineProto->'.str_replace('_', '->', $method).'(['.$params.']);
|
||||
```');
|
||||
file_put_contents('methods/'.$method.'.md', $header.$table.$return.$example);
|
||||
}
|
||||
|
@ -35,5 +35,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, ]);
|
||||
```
|
@ -33,5 +33,5 @@ if (isset($number)) {
|
||||
$MadelineProto->complete_phone_login($code);
|
||||
}
|
||||
|
||||
$Bool = $MadelineProto->account_checkUsername(['username' => string, ]);
|
||||
$Bool = $MadelineProto->account->checkUsername(['username' => string, ]);
|
||||
```
|
@ -34,5 +34,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, ]);
|
||||
```
|
@ -33,5 +33,5 @@ if (isset($number)) {
|
||||
$MadelineProto->complete_phone_login($code);
|
||||
}
|
||||
|
||||
$Bool = $MadelineProto->account_deleteAccount(['reason' => string, ]);
|
||||
$Bool = $MadelineProto->account->deleteAccount(['reason' => string, ]);
|
||||
```
|
@ -28,5 +28,5 @@ if (isset($number)) {
|
||||
$MadelineProto->complete_phone_login($code);
|
||||
}
|
||||
|
||||
$AccountDaysTTL = $MadelineProto->account_getAccountTTL();
|
||||
$AccountDaysTTL = $MadelineProto->account->getAccountTTL();
|
||||
```
|
@ -28,5 +28,5 @@ if (isset($number)) {
|
||||
$MadelineProto->complete_phone_login($code);
|
||||
}
|
||||
|
||||
$account_Authorizations = $MadelineProto->account_getAuthorizations();
|
||||
$account_Authorizations = $MadelineProto->account->getAuthorizations();
|
||||
```
|
@ -33,5 +33,5 @@ if (isset($number)) {
|
||||
$MadelineProto->complete_phone_login($code);
|
||||
}
|
||||
|
||||
$PeerNotifySettings = $MadelineProto->account_getNotifySettings(['peer' => InputNotifyPeer, ]);
|
||||
$PeerNotifySettings = $MadelineProto->account->getNotifySettings(['peer' => InputNotifyPeer, ]);
|
||||
```
|
@ -28,5 +28,5 @@ if (isset($number)) {
|
||||
$MadelineProto->complete_phone_login($code);
|
||||
}
|
||||
|
||||
$account_Password = $MadelineProto->account_getPassword();
|
||||
$account_Password = $MadelineProto->account->getPassword();
|
||||
```
|
@ -33,5 +33,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, ]);
|
||||
```
|
@ -33,5 +33,5 @@ if (isset($number)) {
|
||||
$MadelineProto->complete_phone_login($code);
|
||||
}
|
||||
|
||||
$account_PrivacyRules = $MadelineProto->account_getPrivacy(['key' => InputPrivacyKey, ]);
|
||||
$account_PrivacyRules = $MadelineProto->account->getPrivacy(['key' => InputPrivacyKey, ]);
|
||||
```
|
@ -28,5 +28,5 @@ if (isset($number)) {
|
||||
$MadelineProto->complete_phone_login($code);
|
||||
}
|
||||
|
||||
$Vector_of_WallPaper = $MadelineProto->account_getWallPapers();
|
||||
$Vector_of_WallPaper = $MadelineProto->account->getWallPapers();
|
||||
```
|
@ -34,5 +34,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, ]);
|
||||
```
|
@ -34,5 +34,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, ]);
|
||||
```
|
@ -33,5 +33,5 @@ if (isset($number)) {
|
||||
$MadelineProto->complete_phone_login($code);
|
||||
}
|
||||
|
||||
$Bool = $MadelineProto->account_resetAuthorization(['hash' => long, ]);
|
||||
$Bool = $MadelineProto->account->resetAuthorization(['hash' => long, ]);
|
||||
```
|
@ -28,5 +28,5 @@ if (isset($number)) {
|
||||
$MadelineProto->complete_phone_login($code);
|
||||
}
|
||||
|
||||
$Bool = $MadelineProto->account_resetNotifySettings();
|
||||
$Bool = $MadelineProto->account->resetNotifySettings();
|
||||
```
|
@ -35,5 +35,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, ]);
|
||||
```
|
@ -35,5 +35,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, ]);
|
||||
```
|
@ -33,5 +33,5 @@ if (isset($number)) {
|
||||
$MadelineProto->complete_phone_login($code);
|
||||
}
|
||||
|
||||
$Bool = $MadelineProto->account_setAccountTTL(['ttl' => AccountDaysTTL, ]);
|
||||
$Bool = $MadelineProto->account->setAccountTTL(['ttl' => AccountDaysTTL, ]);
|
||||
```
|
@ -34,5 +34,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], ]);
|
||||
```
|
@ -34,5 +34,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, ]);
|
||||
```
|
@ -33,5 +33,5 @@ if (isset($number)) {
|
||||
$MadelineProto->complete_phone_login($code);
|
||||
}
|
||||
|
||||
$Bool = $MadelineProto->account_updateDeviceLocked(['period' => int, ]);
|
||||
$Bool = $MadelineProto->account->updateDeviceLocked(['period' => int, ]);
|
||||
```
|
@ -34,5 +34,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, ]);
|
||||
```
|
@ -34,5 +34,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, ]);
|
||||
```
|
@ -35,5 +35,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, ]);
|
||||
```
|
@ -33,5 +33,5 @@ if (isset($number)) {
|
||||
$MadelineProto->complete_phone_login($code);
|
||||
}
|
||||
|
||||
$Bool = $MadelineProto->account_updateStatus(['offline' => Bool, ]);
|
||||
$Bool = $MadelineProto->account->updateStatus(['offline' => Bool, ]);
|
||||
```
|
@ -33,5 +33,5 @@ if (isset($number)) {
|
||||
$MadelineProto->complete_phone_login($code);
|
||||
}
|
||||
|
||||
$User = $MadelineProto->account_updateUsername(['username' => string, ]);
|
||||
$User = $MadelineProto->account->updateUsername(['username' => string, ]);
|
||||
```
|
@ -36,5 +36,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, ]);
|
||||
```
|
@ -34,5 +34,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, ]);
|
||||
```
|
@ -33,5 +33,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, ]);
|
||||
```
|
@ -33,5 +33,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, ]);
|
||||
```
|
@ -33,5 +33,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], ]);
|
||||
```
|
@ -33,5 +33,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, ]);
|
||||
```
|
@ -34,5 +34,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, ]);
|
||||
```
|
@ -35,5 +35,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, ]);
|
||||
```
|
@ -28,5 +28,5 @@ if (isset($number)) {
|
||||
$MadelineProto->complete_phone_login($code);
|
||||
}
|
||||
|
||||
$Bool = $MadelineProto->auth_logOut();
|
||||
$Bool = $MadelineProto->auth->logOut();
|
||||
```
|
@ -33,5 +33,5 @@ if (isset($number)) {
|
||||
$MadelineProto->complete_phone_login($code);
|
||||
}
|
||||
|
||||
$auth_Authorization = $MadelineProto->auth_recoverPassword(['code' => string, ]);
|
||||
$auth_Authorization = $MadelineProto->auth->recoverPassword(['code' => string, ]);
|
||||
```
|
@ -28,5 +28,5 @@ if (isset($number)) {
|
||||
$MadelineProto->complete_phone_login($code);
|
||||
}
|
||||
|
||||
$auth_PasswordRecovery = $MadelineProto->auth_requestPasswordRecovery();
|
||||
$auth_PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery();
|
||||
```
|
@ -34,5 +34,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, ]);
|
||||
```
|
@ -28,5 +28,5 @@ if (isset($number)) {
|
||||
$MadelineProto->complete_phone_login($code);
|
||||
}
|
||||
|
||||
$Bool = $MadelineProto->auth_resetAuthorizations();
|
||||
$Bool = $MadelineProto->auth->resetAuthorizations();
|
||||
```
|
@ -37,5 +37,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, ]);
|
||||
```
|
@ -34,5 +34,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, ]);
|
||||
```
|
@ -35,5 +35,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, ]);
|
||||
```
|
@ -37,5 +37,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, ]);
|
||||
```
|
@ -34,5 +34,5 @@ if (isset($number)) {
|
||||
$MadelineProto->complete_phone_login($code);
|
||||
}
|
||||
|
||||
$Bool = $MadelineProto->channels_checkUsername(['channel' => InputChannel, 'username' => string, ]);
|
||||
$Bool = $MadelineProto->channels->checkUsername(['channel' => InputChannel, 'username' => string, ]);
|
||||
```
|
@ -36,5 +36,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, ]);
|
||||
```
|
@ -33,5 +33,5 @@ if (isset($number)) {
|
||||
$MadelineProto->complete_phone_login($code);
|
||||
}
|
||||
|
||||
$Updates = $MadelineProto->channels_deleteChannel(['channel' => InputChannel, ]);
|
||||
$Updates = $MadelineProto->channels->deleteChannel(['channel' => InputChannel, ]);
|
||||
```
|
@ -34,5 +34,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], ]);
|
||||
```
|
@ -34,5 +34,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, ]);
|
||||
```
|
@ -34,5 +34,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, ]);
|
||||
```
|
@ -35,5 +35,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, ]);
|
||||
```
|
@ -34,5 +34,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, ]);
|
||||
```
|
@ -34,5 +34,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, ]);
|
||||
```
|
@ -33,5 +33,5 @@ if (isset($number)) {
|
||||
$MadelineProto->complete_phone_login($code);
|
||||
}
|
||||
|
||||
$ExportedChatInvite = $MadelineProto->channels_exportInvite(['channel' => InputChannel, ]);
|
||||
$ExportedChatInvite = $MadelineProto->channels->exportInvite(['channel' => InputChannel, ]);
|
||||
```
|
@ -34,5 +34,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, ]);
|
||||
```
|
@ -28,5 +28,5 @@ if (isset($number)) {
|
||||
$MadelineProto->complete_phone_login($code);
|
||||
}
|
||||
|
||||
$messages_Chats = $MadelineProto->channels_getAdminedPublicChannels();
|
||||
$messages_Chats = $MadelineProto->channels->getAdminedPublicChannels();
|
||||
```
|
@ -33,5 +33,5 @@ if (isset($number)) {
|
||||
$MadelineProto->complete_phone_login($code);
|
||||
}
|
||||
|
||||
$messages_Chats = $MadelineProto->channels_getChannels(['id' => [InputChannel], ]);
|
||||
$messages_Chats = $MadelineProto->channels->getChannels(['id' => [InputChannel], ]);
|
||||
```
|
@ -33,5 +33,5 @@ if (isset($number)) {
|
||||
$MadelineProto->complete_phone_login($code);
|
||||
}
|
||||
|
||||
$messages_ChatFull = $MadelineProto->channels_getFullChannel(['channel' => InputChannel, ]);
|
||||
$messages_ChatFull = $MadelineProto->channels->getFullChannel(['channel' => InputChannel, ]);
|
||||
```
|
@ -34,5 +34,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], ]);
|
||||
```
|
@ -34,5 +34,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, ]);
|
||||
```
|
@ -36,5 +36,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, ]);
|
||||
```
|
@ -34,5 +34,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], ]);
|
||||
```
|
@ -33,5 +33,5 @@ if (isset($number)) {
|
||||
$MadelineProto->complete_phone_login($code);
|
||||
}
|
||||
|
||||
$Updates = $MadelineProto->channels_joinChannel(['channel' => InputChannel, ]);
|
||||
$Updates = $MadelineProto->channels->joinChannel(['channel' => InputChannel, ]);
|
||||
```
|
@ -35,5 +35,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, ]);
|
||||
```
|
@ -33,5 +33,5 @@ if (isset($number)) {
|
||||
$MadelineProto->complete_phone_login($code);
|
||||
}
|
||||
|
||||
$Updates = $MadelineProto->channels_leaveChannel(['channel' => InputChannel, ]);
|
||||
$Updates = $MadelineProto->channels->leaveChannel(['channel' => InputChannel, ]);
|
||||
```
|
@ -34,5 +34,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, ]);
|
||||
```
|
@ -35,5 +35,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], ]);
|
||||
```
|
@ -34,5 +34,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, ]);
|
||||
```
|
@ -34,5 +34,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, ]);
|
||||
```
|
@ -35,5 +35,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, ]);
|
||||
```
|
@ -34,5 +34,5 @@ if (isset($number)) {
|
||||
$MadelineProto->complete_phone_login($code);
|
||||
}
|
||||
|
||||
$Bool = $MadelineProto->channels_updateUsername(['channel' => InputChannel, 'username' => string, ]);
|
||||
$Bool = $MadelineProto->channels->updateUsername(['channel' => InputChannel, 'username' => string, ]);
|
||||
```
|
@ -33,5 +33,5 @@ if (isset($number)) {
|
||||
$MadelineProto->complete_phone_login($code);
|
||||
}
|
||||
|
||||
$Bool = $MadelineProto->contacts_block(['id' => InputUser, ]);
|
||||
$Bool = $MadelineProto->contacts->block(['id' => InputUser, ]);
|
||||
```
|
@ -33,5 +33,5 @@ if (isset($number)) {
|
||||
$MadelineProto->complete_phone_login($code);
|
||||
}
|
||||
|
||||
$contacts_Link = $MadelineProto->contacts_deleteContact(['id' => InputUser, ]);
|
||||
$contacts_Link = $MadelineProto->contacts->deleteContact(['id' => InputUser, ]);
|
||||
```
|
@ -33,5 +33,5 @@ if (isset($number)) {
|
||||
$MadelineProto->complete_phone_login($code);
|
||||
}
|
||||
|
||||
$Bool = $MadelineProto->contacts_deleteContacts(['id' => [InputUser], ]);
|
||||
$Bool = $MadelineProto->contacts->deleteContacts(['id' => [InputUser], ]);
|
||||
```
|
@ -28,5 +28,5 @@ if (isset($number)) {
|
||||
$MadelineProto->complete_phone_login($code);
|
||||
}
|
||||
|
||||
$Vector_of_int = $MadelineProto->contacts_exportCard();
|
||||
$Vector_of_int = $MadelineProto->contacts->exportCard();
|
||||
```
|
@ -34,5 +34,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, ]);
|
||||
```
|
@ -33,5 +33,5 @@ if (isset($number)) {
|
||||
$MadelineProto->complete_phone_login($code);
|
||||
}
|
||||
|
||||
$contacts_Contacts = $MadelineProto->contacts_getContacts(['hash' => string, ]);
|
||||
$contacts_Contacts = $MadelineProto->contacts->getContacts(['hash' => string, ]);
|
||||
```
|
@ -28,5 +28,5 @@ if (isset($number)) {
|
||||
$MadelineProto->complete_phone_login($code);
|
||||
}
|
||||
|
||||
$Vector_of_ContactStatus = $MadelineProto->contacts_getStatuses();
|
||||
$Vector_of_ContactStatus = $MadelineProto->contacts->getStatuses();
|
||||
```
|
@ -40,5 +40,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, ]);
|
||||
```
|
@ -33,5 +33,5 @@ if (isset($number)) {
|
||||
$MadelineProto->complete_phone_login($code);
|
||||
}
|
||||
|
||||
$User = $MadelineProto->contacts_importCard(['export_card' => [int], ]);
|
||||
$User = $MadelineProto->contacts->importCard(['export_card' => [int], ]);
|
||||
```
|
@ -34,5 +34,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, ]);
|
||||
```
|
@ -34,5 +34,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, ]);
|
||||
```
|
@ -33,5 +33,5 @@ if (isset($number)) {
|
||||
$MadelineProto->complete_phone_login($code);
|
||||
}
|
||||
|
||||
$contacts_ResolvedPeer = $MadelineProto->contacts_resolveUsername(['username' => string, ]);
|
||||
$contacts_ResolvedPeer = $MadelineProto->contacts->resolveUsername(['username' => string, ]);
|
||||
```
|
@ -34,5 +34,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, ]);
|
||||
```
|
@ -33,5 +33,5 @@ if (isset($number)) {
|
||||
$MadelineProto->complete_phone_login($code);
|
||||
}
|
||||
|
||||
$Bool = $MadelineProto->contacts_unblock(['id' => InputUser, ]);
|
||||
$Bool = $MadelineProto->contacts->unblock(['id' => InputUser, ]);
|
||||
```
|
@ -28,5 +28,5 @@ if (isset($number)) {
|
||||
$MadelineProto->complete_phone_login($code);
|
||||
}
|
||||
|
||||
$help_AppChangelog = $MadelineProto->help_getAppChangelog();
|
||||
$help_AppChangelog = $MadelineProto->help->getAppChangelog();
|
||||
```
|
@ -28,5 +28,5 @@ if (isset($number)) {
|
||||
$MadelineProto->complete_phone_login($code);
|
||||
}
|
||||
|
||||
$help_AppUpdate = $MadelineProto->help_getAppUpdate();
|
||||
$help_AppUpdate = $MadelineProto->help->getAppUpdate();
|
||||
```
|
@ -28,5 +28,5 @@ if (isset($number)) {
|
||||
$MadelineProto->complete_phone_login($code);
|
||||
}
|
||||
|
||||
$Config = $MadelineProto->help_getConfig();
|
||||
$Config = $MadelineProto->help->getConfig();
|
||||
```
|
@ -28,5 +28,5 @@ if (isset($number)) {
|
||||
$MadelineProto->complete_phone_login($code);
|
||||
}
|
||||
|
||||
$help_InviteText = $MadelineProto->help_getInviteText();
|
||||
$help_InviteText = $MadelineProto->help->getInviteText();
|
||||
```
|
@ -28,5 +28,5 @@ if (isset($number)) {
|
||||
$MadelineProto->complete_phone_login($code);
|
||||
}
|
||||
|
||||
$NearestDc = $MadelineProto->help_getNearestDc();
|
||||
$NearestDc = $MadelineProto->help->getNearestDc();
|
||||
```
|
@ -28,5 +28,5 @@ if (isset($number)) {
|
||||
$MadelineProto->complete_phone_login($code);
|
||||
}
|
||||
|
||||
$help_Support = $MadelineProto->help_getSupport();
|
||||
$help_Support = $MadelineProto->help->getSupport();
|
||||
```
|
@ -28,5 +28,5 @@ if (isset($number)) {
|
||||
$MadelineProto->complete_phone_login($code);
|
||||
}
|
||||
|
||||
$help_TermsOfService = $MadelineProto->help_getTermsOfService();
|
||||
$help_TermsOfService = $MadelineProto->help->getTermsOfService();
|
||||
```
|
@ -33,5 +33,5 @@ if (isset($number)) {
|
||||
$MadelineProto->complete_phone_login($code);
|
||||
}
|
||||
|
||||
$Bool = $MadelineProto->help_saveAppLog(['events' => [InputAppEvent], ]);
|
||||
$Bool = $MadelineProto->help->saveAppLog(['events' => [InputAppEvent], ]);
|
||||
```
|
@ -35,5 +35,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, ]);
|
||||
```
|
@ -35,5 +35,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, ]);
|
||||
```
|
@ -33,5 +33,5 @@ if (isset($number)) {
|
||||
$MadelineProto->complete_phone_login($code);
|
||||
}
|
||||
|
||||
$ChatInvite = $MadelineProto->messages_checkChatInvite(['hash' => string, ]);
|
||||
$ChatInvite = $MadelineProto->messages->checkChatInvite(['hash' => string, ]);
|
||||
```
|
@ -33,5 +33,5 @@ if (isset($number)) {
|
||||
$MadelineProto->complete_phone_login($code);
|
||||
}
|
||||
|
||||
$Bool = $MadelineProto->messages_clearRecentStickers(['attached' => Bool, ]);
|
||||
$Bool = $MadelineProto->messages->clearRecentStickers(['attached' => Bool, ]);
|
||||
```
|
@ -34,5 +34,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, ]);
|
||||
```
|
@ -34,5 +34,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, ]);
|
||||
```
|
@ -35,5 +35,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
Loading…
Reference in New Issue
Block a user