From c156beb00e3367d9f6490975314fa4f306311123 Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Tue, 20 Mar 2018 19:53:12 +0100 Subject: [PATCH] Add missing pages --- src/danog/MadelineProto/Lang.php | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/src/danog/MadelineProto/Lang.php b/src/danog/MadelineProto/Lang.php index 480d4df3..fbcdbd23 100644 --- a/src/danog/MadelineProto/Lang.php +++ b/src/danog/MadelineProto/Lang.php @@ -499,14 +499,14 @@ class Lang 'method_contacts.resolveUsername' => 'You cannot use this method directly, use the resolve_username, get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)', 'method_contacts.resolveUsername_param_username_type_string' => 'You cannot use this method directly, use the resolve_username, get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)', 'method_contacts.getTopPeers' => 'Get most used chats', - 'method_contacts.getTopPeers_param_correspondents_type_true' => '', - 'method_contacts.getTopPeers_param_bots_pm_type_true' => '', - 'method_contacts.getTopPeers_param_bots_inline_type_true' => '', - 'method_contacts.getTopPeers_param_phone_calls_type_true' => '', - 'method_contacts.getTopPeers_param_groups_type_true' => '', - 'method_contacts.getTopPeers_param_channels_type_true' => '', - 'method_contacts.getTopPeers_param_offset_type_int' => '', - 'method_contacts.getTopPeers_param_limit_type_int' => '', + 'method_contacts.getTopPeers_param_correspondents_type_true' => 'Fetch users?', + 'method_contacts.getTopPeers_param_bots_pm_type_true' => 'Fetch bots?', + 'method_contacts.getTopPeers_param_bots_inline_type_true' => 'Fetch inline bots?', + 'method_contacts.getTopPeers_param_phone_calls_type_true' => 'Fetch phone calls?', + 'method_contacts.getTopPeers_param_groups_type_true' => 'Fetch groups?', + 'method_contacts.getTopPeers_param_channels_type_true' => 'Fetch channels and supergroups?', + 'method_contacts.getTopPeers_param_offset_type_int' => 'Initially 0, then `$offset += $contacts_TopPeers[\'categories\'][\'count\'];`', + 'method_contacts.getTopPeers_param_limit_type_int' => 'How many results to fetch', 'method_contacts.getTopPeers_param_hash_type_int' => '', 'method_contacts.resetTopPeerRating' => '', 'method_contacts.resetTopPeerRating_param_category_type_TopPeerCategory' => '', @@ -4453,13 +4453,13 @@ class Lang 'method_contacts.resolveUsername' => 'You cannot use this method directly, use the resolve_username, get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)', 'method_contacts.resolveUsername_param_username_type_string' => 'You cannot use this method directly, use the resolve_username, get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)', 'method_contacts.getTopPeers' => 'Get most used chats', - 'method_contacts.getTopPeers_param_correspondents_type_true' => '', - 'method_contacts.getTopPeers_param_bots_pm_type_true' => '', - 'method_contacts.getTopPeers_param_bots_inline_type_true' => '', - 'method_contacts.getTopPeers_param_phone_calls_type_true' => '', - 'method_contacts.getTopPeers_param_groups_type_true' => '', - 'method_contacts.getTopPeers_param_channels_type_true' => '', - 'method_contacts.getTopPeers_param_offset_type_int' => '', + 'method_contacts.getTopPeers_param_correspondents_type_true' => 'Fetch users?', + 'method_contacts.getTopPeers_param_bots_pm_type_true' => 'Fetch bots?', + 'method_contacts.getTopPeers_param_bots_inline_type_true' => 'Fetch inline bots?', + 'method_contacts.getTopPeers_param_phone_calls_type_true' => 'Fetch phone calls?', + 'method_contacts.getTopPeers_param_groups_type_true' => 'Fetch groups?', + 'method_contacts.getTopPeers_param_channels_type_true' => 'Fetch channels and supergroups?', + 'method_contacts.getTopPeers_param_offset_type_int' => 'Initially 0, then $offset += count(', 'method_contacts.getTopPeers_param_limit_type_int' => '', 'method_contacts.getTopPeers_param_hash_type_int' => '', 'method_contacts.resetTopPeerRating' => '', @@ -6558,7 +6558,7 @@ class Lang 'object_account.password_param_email_unconfirmed_pattern_type_string' => '', 'object_account.passwordSettings' => '', 'object_account.passwordSettings_param_email_type_string' => '', - 'object_account.passwordInputSettings' => '', + 'object_account.passwordInputSettings' => '2FA password settings', 'object_account.passwordInputSettings_param_new_salt_type_bytes' => '`$new_salt = $MadelineProto->account->getPassword()[\'new_salt\'].$MadelineProto->random(8);`', 'object_account.passwordInputSettings_param_new_password_hash_type_bytes' => '`hash(\'sha256\', $new_salt.$new_password.$new_salt, true)`', 'object_account.passwordInputSettings_param_hint_type_string' => '',