Fixed docs

This commit is contained in:
danogentili 2016-12-21 12:40:30 +03:00
parent 306f581f1c
commit c42fa19afd
181 changed files with 181 additions and 181 deletions

View File

@ -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);
}

View File

@ -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, ]);
```

View File

@ -33,5 +33,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$Bool = $MadelineProto->account_checkUsername(['username' => string, ]);
$Bool = $MadelineProto->account->checkUsername(['username' => string, ]);
```

View File

@ -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, ]);
```

View File

@ -33,5 +33,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$Bool = $MadelineProto->account_deleteAccount(['reason' => string, ]);
$Bool = $MadelineProto->account->deleteAccount(['reason' => string, ]);
```

View File

@ -28,5 +28,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$AccountDaysTTL = $MadelineProto->account_getAccountTTL();
$AccountDaysTTL = $MadelineProto->account->getAccountTTL();
```

View File

@ -28,5 +28,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$account_Authorizations = $MadelineProto->account_getAuthorizations();
$account_Authorizations = $MadelineProto->account->getAuthorizations();
```

View File

@ -33,5 +33,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$PeerNotifySettings = $MadelineProto->account_getNotifySettings(['peer' => InputNotifyPeer, ]);
$PeerNotifySettings = $MadelineProto->account->getNotifySettings(['peer' => InputNotifyPeer, ]);
```

View File

@ -28,5 +28,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$account_Password = $MadelineProto->account_getPassword();
$account_Password = $MadelineProto->account->getPassword();
```

View File

@ -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, ]);
```

View File

@ -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, ]);
```

View File

@ -28,5 +28,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$Vector_of_WallPaper = $MadelineProto->account_getWallPapers();
$Vector_of_WallPaper = $MadelineProto->account->getWallPapers();
```

View File

@ -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, ]);
```

View File

@ -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, ]);
```

View File

@ -33,5 +33,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$Bool = $MadelineProto->account_resetAuthorization(['hash' => long, ]);
$Bool = $MadelineProto->account->resetAuthorization(['hash' => long, ]);
```

View File

@ -28,5 +28,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$Bool = $MadelineProto->account_resetNotifySettings();
$Bool = $MadelineProto->account->resetNotifySettings();
```

View File

@ -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, ]);
```

View File

@ -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, ]);
```

View File

@ -33,5 +33,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$Bool = $MadelineProto->account_setAccountTTL(['ttl' => AccountDaysTTL, ]);
$Bool = $MadelineProto->account->setAccountTTL(['ttl' => AccountDaysTTL, ]);
```

View File

@ -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], ]);
```

View File

@ -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, ]);
```

View File

@ -33,5 +33,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$Bool = $MadelineProto->account_updateDeviceLocked(['period' => int, ]);
$Bool = $MadelineProto->account->updateDeviceLocked(['period' => int, ]);
```

View File

@ -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, ]);
```

View File

@ -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, ]);
```

View File

@ -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, ]);
```

View File

@ -33,5 +33,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$Bool = $MadelineProto->account_updateStatus(['offline' => Bool, ]);
$Bool = $MadelineProto->account->updateStatus(['offline' => Bool, ]);
```

View File

@ -33,5 +33,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$User = $MadelineProto->account_updateUsername(['username' => string, ]);
$User = $MadelineProto->account->updateUsername(['username' => string, ]);
```

View File

@ -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, ]);
```

View File

@ -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, ]);
```

View File

@ -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, ]);
```

View File

@ -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, ]);
```

View File

@ -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], ]);
```

View File

@ -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, ]);
```

View File

@ -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, ]);
```

View File

@ -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, ]);
```

View File

@ -28,5 +28,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$Bool = $MadelineProto->auth_logOut();
$Bool = $MadelineProto->auth->logOut();
```

View File

@ -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, ]);
```

View File

@ -28,5 +28,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$auth_PasswordRecovery = $MadelineProto->auth_requestPasswordRecovery();
$auth_PasswordRecovery = $MadelineProto->auth->requestPasswordRecovery();
```

View File

@ -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, ]);
```

View File

@ -28,5 +28,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$Bool = $MadelineProto->auth_resetAuthorizations();
$Bool = $MadelineProto->auth->resetAuthorizations();
```

View File

@ -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, ]);
```

View File

@ -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, ]);
```

View File

@ -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, ]);
```

View File

@ -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, ]);
```

View File

@ -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, ]);
```

View File

@ -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, ]);
```

View File

@ -33,5 +33,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$Updates = $MadelineProto->channels_deleteChannel(['channel' => InputChannel, ]);
$Updates = $MadelineProto->channels->deleteChannel(['channel' => InputChannel, ]);
```

View File

@ -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], ]);
```

View File

@ -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, ]);
```

View File

@ -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, ]);
```

View File

@ -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, ]);
```

View File

@ -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, ]);
```

View File

@ -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, ]);
```

View File

@ -33,5 +33,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$ExportedChatInvite = $MadelineProto->channels_exportInvite(['channel' => InputChannel, ]);
$ExportedChatInvite = $MadelineProto->channels->exportInvite(['channel' => InputChannel, ]);
```

View File

@ -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, ]);
```

View File

@ -28,5 +28,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$messages_Chats = $MadelineProto->channels_getAdminedPublicChannels();
$messages_Chats = $MadelineProto->channels->getAdminedPublicChannels();
```

View File

@ -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], ]);
```

View File

@ -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, ]);
```

View File

@ -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], ]);
```

View File

@ -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, ]);
```

View File

@ -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, ]);
```

View File

@ -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], ]);
```

View File

@ -33,5 +33,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$Updates = $MadelineProto->channels_joinChannel(['channel' => InputChannel, ]);
$Updates = $MadelineProto->channels->joinChannel(['channel' => InputChannel, ]);
```

View File

@ -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, ]);
```

View File

@ -33,5 +33,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$Updates = $MadelineProto->channels_leaveChannel(['channel' => InputChannel, ]);
$Updates = $MadelineProto->channels->leaveChannel(['channel' => InputChannel, ]);
```

View File

@ -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, ]);
```

View File

@ -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], ]);
```

View File

@ -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, ]);
```

View File

@ -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, ]);
```

View File

@ -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, ]);
```

View File

@ -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, ]);
```

View File

@ -33,5 +33,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$Bool = $MadelineProto->contacts_block(['id' => InputUser, ]);
$Bool = $MadelineProto->contacts->block(['id' => InputUser, ]);
```

View File

@ -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, ]);
```

View File

@ -33,5 +33,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$Bool = $MadelineProto->contacts_deleteContacts(['id' => [InputUser], ]);
$Bool = $MadelineProto->contacts->deleteContacts(['id' => [InputUser], ]);
```

View File

@ -28,5 +28,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$Vector_of_int = $MadelineProto->contacts_exportCard();
$Vector_of_int = $MadelineProto->contacts->exportCard();
```

View File

@ -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, ]);
```

View File

@ -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, ]);
```

View File

@ -28,5 +28,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$Vector_of_ContactStatus = $MadelineProto->contacts_getStatuses();
$Vector_of_ContactStatus = $MadelineProto->contacts->getStatuses();
```

View File

@ -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, ]);
```

View File

@ -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], ]);
```

View File

@ -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, ]);
```

View File

@ -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, ]);
```

View File

@ -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, ]);
```

View File

@ -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, ]);
```

View File

@ -33,5 +33,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$Bool = $MadelineProto->contacts_unblock(['id' => InputUser, ]);
$Bool = $MadelineProto->contacts->unblock(['id' => InputUser, ]);
```

View File

@ -28,5 +28,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$help_AppChangelog = $MadelineProto->help_getAppChangelog();
$help_AppChangelog = $MadelineProto->help->getAppChangelog();
```

View File

@ -28,5 +28,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$help_AppUpdate = $MadelineProto->help_getAppUpdate();
$help_AppUpdate = $MadelineProto->help->getAppUpdate();
```

View File

@ -28,5 +28,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$Config = $MadelineProto->help_getConfig();
$Config = $MadelineProto->help->getConfig();
```

View File

@ -28,5 +28,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$help_InviteText = $MadelineProto->help_getInviteText();
$help_InviteText = $MadelineProto->help->getInviteText();
```

View File

@ -28,5 +28,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$NearestDc = $MadelineProto->help_getNearestDc();
$NearestDc = $MadelineProto->help->getNearestDc();
```

View File

@ -28,5 +28,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$help_Support = $MadelineProto->help_getSupport();
$help_Support = $MadelineProto->help->getSupport();
```

View File

@ -28,5 +28,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$help_TermsOfService = $MadelineProto->help_getTermsOfService();
$help_TermsOfService = $MadelineProto->help->getTermsOfService();
```

View File

@ -33,5 +33,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$Bool = $MadelineProto->help_saveAppLog(['events' => [InputAppEvent], ]);
$Bool = $MadelineProto->help->saveAppLog(['events' => [InputAppEvent], ]);
```

View File

@ -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, ]);
```

View File

@ -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, ]);
```

View File

@ -33,5 +33,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$ChatInvite = $MadelineProto->messages_checkChatInvite(['hash' => string, ]);
$ChatInvite = $MadelineProto->messages->checkChatInvite(['hash' => string, ]);
```

View File

@ -33,5 +33,5 @@ if (isset($number)) {
$MadelineProto->complete_phone_login($code);
}
$Bool = $MadelineProto->messages_clearRecentStickers(['attached' => Bool, ]);
$Bool = $MadelineProto->messages->clearRecentStickers(['attached' => Bool, ]);
```

View File

@ -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, ]);
```

View File

@ -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, ]);
```

View File

@ -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