diff --git a/src/danog/MadelineProto/Lang.php b/src/danog/MadelineProto/Lang.php index ef92768f..f6aee75b 100644 --- a/src/danog/MadelineProto/Lang.php +++ b/src/danog/MadelineProto/Lang.php @@ -207,14 +207,14 @@ class Lang 'v_error' => '506c656173652075706461746520746f20746865206c61746573742076657273696f6e206f66204d6164656c696e6550726f746f2e', 'v_tgerror' => '506c6561736520757064617465207068702d6c69627467766f6970', 'no_mode_specified' => 'No mode was specified!', - 'constructor_function_uncalled' => 'The constructor function wasn\'t called! Please call the constructor function before using this method.', + 'constructor_function_uncalled' => 'The constructor function wasn\'t called! Please call The constructor function before using this method.', 'proxy_class_invalid' => 'Invalid proxy class provided!', 'socket_con_error' => 'Connection: couldn\'t connect to socket.', 'protocol_not_implemented' => 'Connection: This protocol isn\'t implemented yet.', 'protocol_invalid' => 'Connection: invalid protocol specified.', - 'nothing_in_socket' => 'Nothing in the socket!', + 'nothing_in_socket' => 'Nothing in The socket!', 'wrong_length_read' => 'WARNING: Wrong length was read (should\'ve read %s, read %s)!', - 'no_data_in_socket' => 'No data in the socket!', + 'no_data_in_socket' => 'No data in The socket!', 'dc_con_start' => 'Connecting to DC %s...', 'dc_con_stop' => 'Disconnecting from DC %s...', 'dc_con_test_start' => 'Connecting to DC %s (%s server, %s, %s)...', @@ -228,19 +228,19 @@ class Lang 'login_user' => 'Logging in as a normal user...', 'login_bot' => 'Logging in as a bot...', 'login_code_sending' => 'Sending code...', - 'login_code_sent' => 'Code sent successfully! Once you receive the code you should use the complete_phone_login function.', - 'login_code_uncalled' => 'I\'m not waiting for the code! Please call the phone_login method first', - 'login_2fa_enabled' => '2FA enabled, you will have to call the complete_2fa_login function...', - 'login_need_signup' => 'An account has not been created for this number, you will have to call the complete_signup function...', + 'login_code_sent' => 'Code sent successfully! Once you receive The code you should use The complete_phone_login function.', + 'login_code_uncalled' => 'I\'m not waiting for The code! Please call The phone_login method first', + 'login_2fa_enabled' => '2FA enabled, you will have to call The complete_2fa_login function...', + 'login_need_signup' => 'An account has not been created for this number, you will have to call The complete_signup function...', 'login_auth_key' => 'Logging in using auth key...', 'not_logged_in' => 'I\'m not logged in!', - 'signup_uncalled' => 'I\'m not waiting to signup! Please call the phone_login and the complete_phone_login methods first!', + 'signup_uncalled' => 'I\'m not waiting to signup! Please call The phone_login and The complete_phone_login methods first!', 'signing_up' => 'Signing up as a normal user...', 'signup_ok' => 'Signed up in successfully!', - '2fa_uncalled' => 'I\'m not waiting for the password! Please call the phone_login and the complete_phone_login methods first!', + '2fa_uncalled' => 'I\'m not waiting for The password! Please call The phone_login and The complete_phone_login methods first!', 'getting_dialogs' => 'Getting dialogs...', 'libtgvoip_required' => 'The php-libtgvoip extension is required to accept and manage calls. See daniil.it/MadelineProto for more info.', - 'peer_not_in_db' => 'This peer is not present in the internal peer database', + 'peer_not_in_db' => 'This peer is not present in The internal peer database', 'calling_user' => 'Calling %s...', 'generating_a' => 'Generating a...', 'generating_g_a' => 'Generating g_a...', @@ -274,7 +274,7 @@ class Lang 'type_extract_error' => 'Could not extract type "%s"', 'method_not_found' => 'Could not find method: ', 'params_missing' => 'Missing required parameter', - 'sec_peer_not_in_db' => 'This secret peer is not present in the internal peer database', + 'sec_peer_not_in_db' => 'This secret peer is not present in The internal peer database', 'stream_handle_invalid' => 'An invalid stream handle was provided.', 'length_too_big' => 'Length is too big', 'deserialize_not_str' => 'Deserialize: Generated value isn\'t a string', @@ -286,11 +286,11 @@ class Lang 'non_text_conversion' => 'Can\'t convert non text messages yet!', 'last_byte_invalid' => 'Invalid last byte', 'file_type_invalid' => 'Invalid file type detected (%s)', - 'recreate_temp_auth_key' => 'I had to recreate the temporary authorization key', + 'recreate_temp_auth_key' => 'I had to recreate The temporary authorization key', 'resetting_auth_key' => 'WARNING: Resetting auth key...', 'shutting_down_reader_pool' => 'Shutting down reader pool ', 'shutting_down_handler_pool' => 'Shutting down handler pool for dc %s, %d jobs left', - 'secret_chat_skipping' => 'I do not have the secret chat %s in the database, skipping message...', + 'secret_chat_skipping' => 'I do not have The secret chat %s in The database, skipping message...', 'fingerprint_mismatch' => 'Key fingerprint mismatch', 'msg_data_length_too_big' => 'message_data_length is too big', 'length_not_divisible_16' => 'Length of decrypted data is not divisible by 16', @@ -314,27 +314,27 @@ class Lang 'method_set_client_DH_params_param_server_nonce_type_int128' => 'Random number for cryptographic security, given by server', 'method_set_client_DH_params_param_encrypted_data_type_bytes' => 'Encrypted key exchange message', 'method_rpc_drop_answer' => 'Do not send answer to provided request', - 'method_rpc_drop_answer_param_req_msg_id_type_long' => 'The message ID of the request', + 'method_rpc_drop_answer_param_req_msg_id_type_long' => 'The message ID of The request', 'method_get_future_salts' => 'Get future salts', 'method_get_future_salts_param_num_type_int' => 'How many salts should be fetched', - 'method_ping' => 'pings the server', + 'method_ping' => 'pings The server', 'method_ping_param_ping_id_type_long' => 'Ping ID', - 'method_ping_delay_disconnect' => 'Pings the server and causes disconection if the same method is not called within ping_disconnect_delay', + 'method_ping_delay_disconnect' => 'Pings The server and causes disconection if The same method is not called within ping_disconnect_delay', 'method_ping_delay_disconnect_param_ping_id_type_long' => 'Ping ID', 'method_ping_delay_disconnect_param_disconnect_delay_type_int' => 'Disconection delay', - 'method_destroy_session' => 'Destroy the current MTProto session', + 'method_destroy_session' => 'Destroy The current MTProto session', 'method_destroy_session_param_session_id_type_long' => 'The session to destroy', - 'method_http_wait' => 'Makes the server send messages waiting in the buffer', - 'method_http_wait_param_max_delay_type_int' => 'Denotes the maximum number of milliseconds that has elapsed between the first message for this session and the transmission of an HTTP response', - 'method_http_wait_param_wait_after_type_int' => 'after the receipt of the latest message for a particular session, the server waits another wait_after milliseconds in case there are more messages. If there are no additional messages, the result is transmitted (a container with all the messages).', - 'method_http_wait_param_max_wait_type_int' => 'If more messages appear, the wait_after timer is reset.', - 'method_invokeAfterMsg' => 'Invokes a query after successfull completion of one of the previous queries.', + 'method_http_wait' => 'Makes The server send messages waiting in The buffer', + 'method_http_wait_param_max_delay_type_int' => 'Denotes The maximum number of milliseconds that has elapsed between The first message for this session and The transmission of an HTTP response', + 'method_http_wait_param_wait_after_type_int' => 'after The receipt of The latest message for a particular session, The server waits anoTher wait_after milliseconds in case There are more messages. If There are no additional messages, The result is transmitted (a container with all The messages).', + 'method_http_wait_param_max_wait_type_int' => 'If more messages appear, The wait_after timer is reset.', + 'method_invokeAfterMsg' => 'Invokes a query after successfull completion of one of The previous queries.', 'method_invokeAfterMsg_param_msg_id_type_long' => 'Message identifier on which a current query depends', 'method_invokeAfterMsg_param_query_type_!X' => 'The query itself', 'method_invokeAfterMsgs' => 'Result type returned by a current query.', 'method_invokeAfterMsgs_param_msg_ids_type_Vector t' => 'List of messages on which a current query depends', 'method_invokeAfterMsgs_param_query_type_!X' => 'The query itself', - 'method_initConnection' => 'Initializes connection and save information on the user\'s device and application.', + 'method_initConnection' => 'Initializes connection and save information on The user\'s device and application.', 'method_initConnection_param_api_id_type_int' => 'Application identifier', 'method_initConnection_param_device_model_type_string' => 'Device model', 'method_initConnection_param_system_version_type_string' => 'System version', @@ -346,7 +346,7 @@ class Lang 'method_invokeWithLayer' => 'Invoke this method with layer X', 'method_invokeWithLayer_param_layer_type_int' => 'The layer version', 'method_invokeWithLayer_param_query_type_!X' => 'The query', - 'method_invokeWithoutUpdates' => 'Invoke with method without returning updates in the socket', + 'method_invokeWithoutUpdates' => 'Invoke with method without returning updates in The socket', 'method_invokeWithoutUpdates_param_query_type_!X' => 'The query', 'method_auth.checkPhone' => 'Check if this phone number is registered on telegram', 'method_auth.checkPhone_param_phone_number_type_string' => 'The phone number to check', @@ -387,28 +387,28 @@ class Lang 'method_auth.importBotAuthorization_param_bot_auth_token_type_string' => 'You cannot use this method directly, use the bot_login method instead (see https://docs.madelineproto.xyz for more info)', 'method_auth.checkPassword' => 'You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info)', 'method_auth.checkPassword_param_password_hash_type_bytes' => 'You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info)', - 'method_auth.requestPasswordRecovery' => 'Send an email to recover the 2FA password', - 'method_auth.recoverPassword' => 'Use the code that was emailed to you after running $MadelineProto->auth->requestPasswordRecovery to login to your account', + 'method_auth.requestPasswordRecovery' => 'Send an email to recover The 2FA password', + 'method_auth.recoverPassword' => 'Use The code that was emailed to you after running $MadelineProto->auth->requestPasswordRecovery to login to your account', 'method_auth.recoverPassword_param_code_type_string' => 'The code that was emailed to you', - 'method_auth.resendCode' => 'Resend the SMS verification code', + 'method_auth.resendCode' => 'Resend The SMS verification code', 'method_auth.resendCode_param_phone_number_type_string' => 'The phone number', 'method_auth.resendCode_param_phone_code_hash_type_string' => 'The phone code hash', 'method_auth.cancelCode' => 'Invalidate sent phone code', 'method_auth.cancelCode_param_phone_number_type_string' => 'Phone number', 'method_auth.cancelCode_param_phone_code_hash_type_string' => 'Phone code hash', - 'method_auth.dropTempAuthKeys' => 'Delete all temporary authorization keys except the ones provided', + 'method_auth.dropTempAuthKeys' => 'Delete all temporary authorization keys except The ones provided', 'method_auth.dropTempAuthKeys_param_except_auth_keys_type_Vector t' => 'The temporary authorization keys to keep', 'method_account.registerDevice' => 'Register device for push notifications', - 'method_account.registerDevice_param_token_type_type_int' => 'Device token type. Possible values: 1 - APNS, 2 - GCM, 3 - MPNS, 4 - Simple Push, 5 - Ubuntu Phone, 6 - Blackberry, and other, see source code of official apps for more info', - 'method_account.registerDevice_param_token_type_string' => 'Device token type. Possible values: 1 - APNS, 2 - GCM, 3 - MPNS, 4 - Simple Push, 5 - Ubuntu Phone,6 - Blackberry, and other, see source code of official apps for more info', - 'method_account.registerDevice_param_app_sandbox_type_Bool' => 'Should the app run in a sandbox?', - 'method_account.registerDevice_param_other_uids_type_Vector t' => 'Other UUIDs', + 'method_account.registerDevice_param_token_type_type_int' => 'Device token type. Possible values: 1 - APNS, 2 - GCM, 3 - MPNS, 4 - Simple Push, 5 - Ubuntu Phone, 6 - Blackberry, and oTher, see source code of official apps for more info', + 'method_account.registerDevice_param_token_type_string' => 'Device token type. Possible values: 1 - APNS, 2 - GCM, 3 - MPNS, 4 - Simple Push, 5 - Ubuntu Phone,6 - Blackberry, and oTher, see source code of official apps for more info', + 'method_account.registerDevice_param_app_sandbox_type_Bool' => 'Should The app run in a sandbox?', + 'method_account.registerDevice_param_oTher_uids_type_Vector t' => 'OTher UUIDs', 'method_account.unregisterDevice' => 'Stop sending PUSH notifications to app', - 'method_account.unregisterDevice_param_token_type_type_int' => 'Device token type. Possible values: 1 - APNS, 2 - GCM, 3 - MPNS, 4 - Simple Push, 5 - Ubuntu Phone,6 - Blackberry, and other, see source code of official apps for more info', - 'method_account.unregisterDevice_param_token_type_string' => 'Device token type. Possible values: 1 - APNS, 2 - GCM, 3 - MPNS, 4 - Simple Push, 5 - Ubuntu Phone,6 - Blackberry, and other, see source code of official apps for more info', - 'method_account.unregisterDevice_param_other_uids_type_Vector t' => 'Other UUIDs', + 'method_account.unregisterDevice_param_token_type_type_int' => 'Device token type. Possible values: 1 - APNS, 2 - GCM, 3 - MPNS, 4 - Simple Push, 5 - Ubuntu Phone,6 - Blackberry, and oTher, see source code of official apps for more info', + 'method_account.unregisterDevice_param_token_type_string' => 'Device token type. Possible values: 1 - APNS, 2 - GCM, 3 - MPNS, 4 - Simple Push, 5 - Ubuntu Phone,6 - Blackberry, and oTher, see source code of official apps for more info', + 'method_account.unregisterDevice_param_oTher_uids_type_Vector t' => 'OTher UUIDs', 'method_account.updateNotifySettings' => 'Change notification settings', - 'method_account.updateNotifySettings_param_peer_type_InputNotifyPeer' => 'The peers to which the notification settings should be applied', + 'method_account.updateNotifySettings_param_peer_type_InputNotifyPeer' => 'The peers to which The notification settings should be applied', 'method_account.updateNotifySettings_param_settings_type_InputPeerNotifySettings' => 'Notification settings', 'method_account.getNotifySettings' => 'Get notification settings', 'method_account.getNotifySettings_param_peer_type_InputNotifyPeer' => 'Notification source ', @@ -418,7 +418,7 @@ class Lang 'method_account.updateProfile_param_last_name_type_string' => 'The last name', 'method_account.updateProfile_param_about_type_string' => 'The bio/about field', 'method_account.updateStatus' => 'Update online status', - 'method_account.updateStatus_param_offline_type_Bool' => 'offline to set the status to offline', + 'method_account.updateStatus_param_offline_type_Bool' => 'offline to set The status to offline', 'method_account.getWallPapers' => 'Returns a list of available wallpapers.', 'method_account.reportPeer' => 'Report for spam', 'method_account.reportPeer_param_peer_type_InputPeer' => 'The peer to report', @@ -437,11 +437,11 @@ class Lang 'method_account.getAccountTTL' => 'Get account TTL', 'method_account.setAccountTTL' => 'Set account TTL', 'method_account.setAccountTTL_param_ttl_type_AccountDaysTTL' => 'Time To Live of account', - 'method_account.sendChangePhoneCode' => 'Change the phone number', - 'method_account.sendChangePhoneCode_param_allow_flashcall_type_true' => 'Can the code be sent using a flash call instead of an SMS?', + 'method_account.sendChangePhoneCode' => 'Change The phone number', + 'method_account.sendChangePhoneCode_param_allow_flashcall_type_true' => 'Can The code be sent using a flash call instead of an SMS?', 'method_account.sendChangePhoneCode_param_phone_number_type_string' => 'New phone number', 'method_account.sendChangePhoneCode_param_current_number_type_Bool' => 'Current phone number', - 'method_account.changePhone' => 'Change the phone number associated to this account', + 'method_account.changePhone' => 'Change The phone number associated to this account', 'method_account.changePhone_param_phone_number_type_string' => 'Phone number', 'method_account.changePhone_param_phone_code_hash_type_string' => 'Phone code hash returned by account.sendChangePhoneCode', 'method_account.changePhone_param_phone_code_type_string' => 'The phone code sent by account.sendChangePhoneCode', @@ -450,10 +450,10 @@ class Lang 'method_account.getAuthorizations' => 'Get all logged-in authorizations', 'method_account.resetAuthorization' => 'Delete a certain session', 'method_account.resetAuthorization_param_hash_type_long' => 'The session hash, obtained from $MadelineProto->account->getAuthorizations', - 'method_account.getPassword' => 'Get the current password', - 'method_account.getPasswordSettings' => 'Get the current 2FA settings', + 'method_account.getPassword' => 'Get The current password', + 'method_account.getPasswordSettings' => 'Get The current 2FA settings', 'method_account.getPasswordSettings_param_current_password_hash_type_bytes' => 'Use only if you have set a 2FA password: `$current_salt = $MadelineProto->account->getPassword()[\'current_salt\']; $current_password_hash = hash(\'sha256\', $current_salt.$password.$current_salt, true);`', - 'method_account.updatePasswordSettings' => 'Update the 2FA password settings', + 'method_account.updatePasswordSettings' => 'Update The 2FA password settings', 'method_account.updatePasswordSettings_param_current_password_hash_type_bytes' => 'Use only if you have set a 2FA password: `$current_salt = $MadelineProto->account->getPassword()[\'current_salt\']; $current_password_hash = hash(\'sha256\', $current_salt.$password.$current_salt, true);`', 'method_account.updatePasswordSettings_param_new_settings_type_account.PasswordInputSettings' => 'New 2FA settings', 'method_account.sendConfirmPhoneCode' => 'Send confirmation phone code', @@ -471,12 +471,12 @@ class Lang 'method_account.resetWebAuthorization_param_hash_type_long' => 'The authorization\'s hash', 'method_account.resetWebAuthorizations' => 'Reset all telegram web login authorizations', 'method_users.getUsers' => 'Get info about users', - 'method_users.getUsers_param_id_type_Vector t' => 'The ids of the users', + 'method_users.getUsers_param_id_type_Vector t' => 'The ids of The users', 'method_users.getFullUser' => 'You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)', 'method_users.getFullUser_param_id_type_InputUser' => 'You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)', 'method_contacts.getStatuses' => 'Get online status of all users', 'method_contacts.getContacts' => 'Get info about a certain contact', - 'method_contacts.getContacts_param_hash_type_int' => '$ids is the list ids of previously fetched contacts, `$hash = $MadelineProto->gen_vector_hash($ids);`', + 'method_contacts.getContacts_param_hash_type_int' => '$ids is The list ids of previously fetched contacts, `$hash = $MadelineProto->gen_vector_hash($ids);`', 'method_contacts.importContacts' => 'Add phone number as contact', 'method_contacts.importContacts_param_contacts_type_Vector t' => 'The numbers to import', 'method_contacts.deleteContact' => 'Delete a contact', @@ -488,7 +488,7 @@ class Lang 'method_contacts.unblock' => 'Unblock a user', 'method_contacts.unblock_param_id_type_InputUser' => 'The user to unblock', 'method_contacts.getBlocked' => 'Get blocked users', - 'method_contacts.getBlocked_param_offset_type_int' => 'Initially 0, then set to the number of blocked contacts previously fetched', + 'method_contacts.getBlocked_param_offset_type_int' => 'Initially 0, Then set to The number of blocked contacts previously fetched', 'method_contacts.getBlocked_param_limit_type_int' => 'How many blocked contacts to fetch', 'method_contacts.exportCard' => 'Export contact as card', 'method_contacts.importCard' => 'Import card as contact', @@ -505,7 +505,7 @@ class Lang '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_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' => '$MadelineProto->gen_vector_hash(previously fetched peer ids);', 'method_contacts.resetTopPeerRating' => 'Reset top peer rating for a certain category/peer', @@ -523,7 +523,7 @@ class Lang 'method_messages.getHistory' => 'Get previous messages of a group', 'method_messages.getHistory_param_peer_type_InputPeer' => 'The chat', 'method_messages.getHistory_param_offset_id_type_int' => 'The last fetched message ID, initially 0', - 'method_messages.getHistory_param_offset_date_type_int' => 'The date of the last previously fetched message, initially 0', + 'method_messages.getHistory_param_offset_date_type_int' => 'The date of The last previously fetched message, initially 0', 'method_messages.getHistory_param_add_offset_type_int' => 'Additional offset, can be 0', 'method_messages.getHistory_param_limit_type_int' => 'Number of messages to fetch', 'method_messages.getHistory_param_max_id_type_int' => 'Maximum message ID to fetch', @@ -549,7 +549,7 @@ class Lang 'method_messages.deleteHistory_param_peer_type_InputPeer' => 'Where to clear it', 'method_messages.deleteHistory_param_max_id_type_int' => 'Maximum message id of messages to delete', 'method_messages.deleteMessages' => 'Delete messages', - 'method_messages.deleteMessages_param_revoke_type_true' => 'Delete the messages for everyone?', + 'method_messages.deleteMessages_param_revoke_type_true' => 'Delete The messages for everyone?', 'method_messages.deleteMessages_param_id_type_Vector t' => 'IDs of messages to delete, use channels->deleteMessages for supergroups', 'method_messages.receivedMessages' => 'Mark messages as read', 'method_messages.receivedMessages_param_max_id_type_int' => 'Maximum message id of messages to mark as read', @@ -560,7 +560,7 @@ class Lang 'method_messages.sendMessage_param_no_webpage_type_true' => 'Disable webpage preview?', 'method_messages.sendMessage_param_silent_type_true' => 'Disable notifications?', 'method_messages.sendMessage_param_background_type_true' => 'Disable background notifications?', - 'method_messages.sendMessage_param_clear_draft_type_true' => 'Clear the message draft of this chat?', + 'method_messages.sendMessage_param_clear_draft_type_true' => 'Clear The message draft of this chat?', 'method_messages.sendMessage_param_peer_type_InputPeer' => 'The chat where to send this message', 'method_messages.sendMessage_param_reply_to_msg_id_type_int' => 'Reply to message by ID', 'method_messages.sendMessage_param_message_type_string' => 'The message to send', @@ -569,8 +569,8 @@ class Lang 'method_messages.sendMedia' => 'Send a media', 'method_messages.sendMedia_param_silent_type_true' => 'Disable notifications?', 'method_messages.sendMedia_param_background_type_true' => 'Disable background notifications?', - 'method_messages.sendMedia_param_clear_draft_type_true' => 'Clear the message draft of this chat?', - 'method_messages.sendMedia_param_peer_type_InputPeer' => 'Where to send the media', + 'method_messages.sendMedia_param_clear_draft_type_true' => 'Clear The message draft of this chat?', + 'method_messages.sendMedia_param_peer_type_InputPeer' => 'Where to send The media', 'method_messages.sendMedia_param_reply_to_msg_id_type_int' => 'Reply to message by ID', 'method_messages.sendMedia_param_media_type_InputMedia' => 'The media to send', 'method_messages.sendMedia_param_message_type_string' => 'The caption', @@ -581,34 +581,34 @@ class Lang 'method_messages.forwardMessages_param_background_type_true' => 'Disable background notifications', 'method_messages.forwardMessages_param_with_my_score_type_true' => 'If forwarding a game, forward your score, too', 'method_messages.forwardMessages_param_grouped_type_true' => 'Set to true if forwarding albums', - 'method_messages.forwardMessages_param_from_peer_type_InputPeer' => 'From where to forward the messages', + 'method_messages.forwardMessages_param_from_peer_type_InputPeer' => 'From where to forward The messages', 'method_messages.forwardMessages_param_id_type_Vector t' => 'The message IDs', - 'method_messages.forwardMessages_param_to_peer_type_InputPeer' => 'Where to forward the messages', + 'method_messages.forwardMessages_param_to_peer_type_InputPeer' => 'Where to forward The messages', 'method_messages.reportSpam' => 'Report a peer for spam', 'method_messages.reportSpam_param_peer_type_InputPeer' => 'The peer to report', 'method_messages.hideReportSpam' => 'Hide report spam popup', - 'method_messages.hideReportSpam_param_peer_type_InputPeer' => 'Where to hide the popup', - 'method_messages.getPeerSettings' => 'Get the settings of apeer', + 'method_messages.hideReportSpam_param_peer_type_InputPeer' => 'Where to hide The popup', + 'method_messages.getPeerSettings' => 'Get The settings of apeer', 'method_messages.getPeerSettings_param_peer_type_InputPeer' => 'The peer', 'method_messages.getChats' => 'Get info about chats', 'method_messages.getChats_param_id_type_Vector t' => 'The MTProto IDs of chats to fetch info about', 'method_messages.getFullChat' => 'You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)', 'method_messages.getFullChat_param_chat_id_type_InputPeer' => 'You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)', - 'method_messages.editChatTitle' => 'Edit the title of a normal chat (not supergroup)', - 'method_messages.editChatTitle_param_chat_id_type_InputPeer' => 'The MTProto ID of the chat', + 'method_messages.editChatTitle' => 'Edit The title of a normal chat (not supergroup)', + 'method_messages.editChatTitle_param_chat_id_type_InputPeer' => 'The ID of The chat', 'method_messages.editChatTitle_param_title_type_string' => 'The new title', - 'method_messages.editChatPhoto' => 'Edit the photo of a normal chat (not supergroup)', - 'method_messages.editChatPhoto_param_chat_id_type_InputPeer' => 'The MTProto ID of the chat', + 'method_messages.editChatPhoto' => 'Edit The photo of a normal chat (not supergroup)', + 'method_messages.editChatPhoto_param_chat_id_type_InputPeer' => 'The ID of The chat', 'method_messages.editChatPhoto_param_photo_type_InputChatPhoto' => 'The new phto', 'method_messages.addChatUser' => 'Add a user to a normal chat (use channels->inviteToChannel for supergroups)', 'method_messages.addChatUser_param_chat_id_type_InputPeer' => 'The chat where to invite users', 'method_messages.addChatUser_param_user_id_type_InputUser' => 'The user to invite', - 'method_messages.addChatUser_param_fwd_limit_type_int' => 'Number of old messages the user will see', + 'method_messages.addChatUser_param_fwd_limit_type_int' => 'Number of old messages The user will see', 'method_messages.deleteChatUser' => 'Delete a user from a chat (not supergroup)', - 'method_messages.deleteChatUser_param_chat_id_type_InputPeer' => 'The MTProto ID of the chat', - 'method_messages.deleteChatUser_param_user_id_type_InputUser' => 'The user to delete (pass @me to leave the chat)', + 'method_messages.deleteChatUser_param_chat_id_type_InputPeer' => 'The ID of The chat', + 'method_messages.deleteChatUser_param_user_id_type_InputUser' => 'The user to delete (pass @me to leave The chat)', 'method_messages.createChat' => 'Create a chat (not supergroup)', - 'method_messages.createChat_param_users_type_Vector t' => 'The users to add to the chat', + 'method_messages.createChat_param_users_type_Vector t' => 'The users to add to The chat', 'method_messages.createChat_param_title_type_string' => 'The new chat\'s title', 'method_messages.getDhConfig' => 'You cannot use this method directly, instead use $MadelineProto->get_dh_config();', 'method_messages.getDhConfig_param_version_type_int' => 'You cannot use this method directly, instead use $MadelineProto->get_dh_config();', @@ -623,246 +623,246 @@ class Lang 'method_messages.discardEncryption' => 'You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats', 'method_messages.discardEncryption_param_chat_id_type_int' => 'You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats', 'method_messages.setEncryptedTyping' => 'Send typing notification to secret chat', - 'method_messages.setEncryptedTyping_param_peer_type_InputEncryptedChat' => '', - 'method_messages.setEncryptedTyping_param_typing_type_Bool' => '', - 'method_messages.readEncryptedHistory' => '', - 'method_messages.readEncryptedHistory_param_peer_type_InputEncryptedChat' => '', - 'method_messages.readEncryptedHistory_param_max_date_type_int' => '', - 'method_messages.sendEncrypted' => '', - 'method_messages.sendEncrypted_param_peer_type_InputEncryptedChat' => '', - 'method_messages.sendEncrypted_param_message_type_DecryptedMessage' => '', - 'method_messages.sendEncryptedFile' => '', - 'method_messages.sendEncryptedFile_param_peer_type_InputEncryptedChat' => '', - 'method_messages.sendEncryptedFile_param_message_type_DecryptedMessage' => '', - 'method_messages.sendEncryptedFile_param_file_type_InputEncryptedFile' => '', - 'method_messages.sendEncryptedService' => '', - 'method_messages.sendEncryptedService_param_peer_type_InputEncryptedChat' => '', - 'method_messages.sendEncryptedService_param_message_type_DecryptedMessage' => '', - 'method_messages.receivedQueue' => '', - 'method_messages.receivedQueue_param_max_qts_type_int' => '', - 'method_messages.reportEncryptedSpam' => '', - 'method_messages.reportEncryptedSpam_param_peer_type_InputEncryptedChat' => '', - 'method_messages.readMessageContents' => '', - 'method_messages.readMessageContents_param_id_type_Vector t' => '', - 'method_messages.getStickers' => '', - 'method_messages.getStickers_param_emoticon_type_string' => '', - 'method_messages.getStickers_param_hash_type_string' => '', - 'method_messages.getAllStickers' => '', - 'method_messages.getAllStickers_param_hash_type_int' => '', - 'method_messages.getWebPagePreview' => '', - 'method_messages.getWebPagePreview_param_message_type_string' => '', - 'method_messages.getWebPagePreview_param_entities_type_Vector t' => '', - 'method_messages.exportChatInvite' => '', - 'method_messages.exportChatInvite_param_chat_id_type_InputPeer' => '', - 'method_messages.checkChatInvite' => '', - 'method_messages.checkChatInvite_param_hash_type_string' => '', - 'method_messages.importChatInvite' => '', - 'method_messages.importChatInvite_param_hash_type_string' => '', - 'method_messages.getStickerSet' => '', - 'method_messages.getStickerSet_param_stickerset_type_InputStickerSet' => '', - 'method_messages.installStickerSet' => '', - 'method_messages.installStickerSet_param_stickerset_type_InputStickerSet' => '', - 'method_messages.installStickerSet_param_archived_type_Bool' => '', - 'method_messages.uninstallStickerSet' => '', - 'method_messages.uninstallStickerSet_param_stickerset_type_InputStickerSet' => '', - 'method_messages.startBot' => '', - 'method_messages.startBot_param_bot_type_InputUser' => '', - 'method_messages.startBot_param_peer_type_InputPeer' => '', - 'method_messages.startBot_param_start_param_type_string' => '', - 'method_messages.getMessagesViews' => '', - 'method_messages.getMessagesViews_param_peer_type_InputPeer' => '', - 'method_messages.getMessagesViews_param_id_type_Vector t' => '', - 'method_messages.getMessagesViews_param_increment_type_Bool' => '', - 'method_messages.toggleChatAdmins' => '', - 'method_messages.toggleChatAdmins_param_chat_id_type_InputPeer' => '', - 'method_messages.toggleChatAdmins_param_enabled_type_Bool' => '', - 'method_messages.editChatAdmin' => '', - 'method_messages.editChatAdmin_param_chat_id_type_InputPeer' => '', - 'method_messages.editChatAdmin_param_user_id_type_InputUser' => '', - 'method_messages.editChatAdmin_param_is_admin_type_Bool' => '', - 'method_messages.migrateChat' => '', - 'method_messages.migrateChat_param_chat_id_type_InputPeer' => '', - 'method_messages.searchGlobal' => '', - 'method_messages.searchGlobal_param_q_type_string' => '', - 'method_messages.searchGlobal_param_offset_date_type_int' => '', - 'method_messages.searchGlobal_param_offset_peer_type_InputPeer' => '', - 'method_messages.searchGlobal_param_offset_id_type_int' => '', - 'method_messages.searchGlobal_param_limit_type_int' => '', - 'method_messages.reorderStickerSets' => '', - 'method_messages.reorderStickerSets_param_masks_type_true' => '', - 'method_messages.reorderStickerSets_param_order_type_Vector t' => '', - 'method_messages.getDocumentByHash' => '', - 'method_messages.getDocumentByHash_param_sha256_type_bytes' => '', - 'method_messages.getDocumentByHash_param_size_type_int' => '', - 'method_messages.getDocumentByHash_param_mime_type_type_string' => '', - 'method_messages.searchGifs' => '', - 'method_messages.searchGifs_param_q_type_string' => '', - 'method_messages.searchGifs_param_offset_type_int' => '', - 'method_messages.getSavedGifs' => '', - 'method_messages.getSavedGifs_param_hash_type_int' => '', - 'method_messages.saveGif' => '', - 'method_messages.saveGif_param_id_type_InputDocument' => '', - 'method_messages.saveGif_param_unsave_type_Bool' => '', - 'method_messages.getInlineBotResults' => '', - 'method_messages.getInlineBotResults_param_bot_type_InputUser' => '', - 'method_messages.getInlineBotResults_param_peer_type_InputPeer' => '', - 'method_messages.getInlineBotResults_param_geo_point_type_InputGeoPoint' => '', - 'method_messages.getInlineBotResults_param_query_type_string' => '', - 'method_messages.getInlineBotResults_param_offset_type_string' => '', - 'method_messages.setInlineBotResults' => '', - 'method_messages.setInlineBotResults_param_gallery_type_true' => '', - 'method_messages.setInlineBotResults_param_private_type_true' => '', - 'method_messages.setInlineBotResults_param_query_id_type_long' => '', - 'method_messages.setInlineBotResults_param_results_type_Vector t' => '', - 'method_messages.setInlineBotResults_param_cache_time_type_int' => '', - 'method_messages.setInlineBotResults_param_next_offset_type_string' => '', - 'method_messages.setInlineBotResults_param_switch_pm_type_InlineBotSwitchPM' => '', - 'method_messages.sendInlineBotResult' => '', - 'method_messages.sendInlineBotResult_param_silent_type_true' => '', - 'method_messages.sendInlineBotResult_param_background_type_true' => '', - 'method_messages.sendInlineBotResult_param_clear_draft_type_true' => '', - 'method_messages.sendInlineBotResult_param_peer_type_InputPeer' => '', - 'method_messages.sendInlineBotResult_param_reply_to_msg_id_type_int' => '', - 'method_messages.sendInlineBotResult_param_query_id_type_long' => '', - 'method_messages.sendInlineBotResult_param_id_type_string' => '', - 'method_messages.getMessageEditData' => '', - 'method_messages.getMessageEditData_param_peer_type_InputPeer' => '', - 'method_messages.getMessageEditData_param_id_type_int' => '', - 'method_messages.editMessage' => '', - 'method_messages.editMessage_param_no_webpage_type_true' => '', - 'method_messages.editMessage_param_stop_geo_live_type_true' => '', - 'method_messages.editMessage_param_peer_type_InputPeer' => '', - 'method_messages.editMessage_param_id_type_int' => '', - 'method_messages.editMessage_param_message_type_string' => '', - 'method_messages.editMessage_param_reply_markup_type_ReplyMarkup' => '', - 'method_messages.editMessage_param_entities_type_Vector t' => '', - 'method_messages.editMessage_param_geo_point_type_InputGeoPoint' => '', - 'method_messages.editInlineBotMessage' => '', - 'method_messages.editInlineBotMessage_param_no_webpage_type_true' => '', - 'method_messages.editInlineBotMessage_param_stop_geo_live_type_true' => '', - 'method_messages.editInlineBotMessage_param_id_type_InputBotInlineMessageID' => '', - 'method_messages.editInlineBotMessage_param_message_type_string' => '', - 'method_messages.editInlineBotMessage_param_reply_markup_type_ReplyMarkup' => '', - 'method_messages.editInlineBotMessage_param_entities_type_Vector t' => '', - 'method_messages.editInlineBotMessage_param_geo_point_type_InputGeoPoint' => '', - 'method_messages.getBotCallbackAnswer' => '', - 'method_messages.getBotCallbackAnswer_param_game_type_true' => '', - 'method_messages.getBotCallbackAnswer_param_peer_type_InputPeer' => '', - 'method_messages.getBotCallbackAnswer_param_msg_id_type_int' => '', - 'method_messages.getBotCallbackAnswer_param_data_type_bytes' => '', - 'method_messages.setBotCallbackAnswer' => '', - 'method_messages.setBotCallbackAnswer_param_alert_type_true' => '', - 'method_messages.setBotCallbackAnswer_param_query_id_type_long' => '', - 'method_messages.setBotCallbackAnswer_param_message_type_string' => '', - 'method_messages.setBotCallbackAnswer_param_url_type_string' => '', - 'method_messages.setBotCallbackAnswer_param_cache_time_type_int' => '', - 'method_messages.getPeerDialogs' => '', - 'method_messages.getPeerDialogs_param_peers_type_Vector t' => '', - 'method_messages.saveDraft' => '', - 'method_messages.saveDraft_param_no_webpage_type_true' => '', - 'method_messages.saveDraft_param_reply_to_msg_id_type_int' => '', - 'method_messages.saveDraft_param_peer_type_InputPeer' => '', - 'method_messages.saveDraft_param_message_type_string' => '', - 'method_messages.saveDraft_param_entities_type_Vector t' => '', - 'method_messages.getAllDrafts' => '', - 'method_messages.getFeaturedStickers' => '', - 'method_messages.getFeaturedStickers_param_hash_type_int' => '', - 'method_messages.readFeaturedStickers' => '', - 'method_messages.readFeaturedStickers_param_id_type_Vector t' => '', - 'method_messages.getRecentStickers' => '', - 'method_messages.getRecentStickers_param_attached_type_true' => '', - 'method_messages.getRecentStickers_param_hash_type_int' => '', - 'method_messages.saveRecentSticker' => '', - 'method_messages.saveRecentSticker_param_attached_type_true' => '', - 'method_messages.saveRecentSticker_param_id_type_InputDocument' => '', - 'method_messages.saveRecentSticker_param_unsave_type_Bool' => '', - 'method_messages.clearRecentStickers' => '', - 'method_messages.clearRecentStickers_param_attached_type_true' => '', - 'method_messages.getArchivedStickers' => '', - 'method_messages.getArchivedStickers_param_masks_type_true' => '', - 'method_messages.getArchivedStickers_param_offset_id_type_long' => '', - 'method_messages.getArchivedStickers_param_limit_type_int' => '', - 'method_messages.getMaskStickers' => '', - 'method_messages.getMaskStickers_param_hash_type_int' => '', - 'method_messages.getAttachedStickers' => '', - 'method_messages.getAttachedStickers_param_media_type_InputStickeredMedia' => '', - 'method_messages.setGameScore' => '', - 'method_messages.setGameScore_param_edit_message_type_true' => '', - 'method_messages.setGameScore_param_force_type_true' => '', - 'method_messages.setGameScore_param_peer_type_InputPeer' => '', - 'method_messages.setGameScore_param_id_type_int' => '', - 'method_messages.setGameScore_param_user_id_type_InputUser' => '', - 'method_messages.setGameScore_param_score_type_int' => '', - 'method_messages.setInlineGameScore' => '', - 'method_messages.setInlineGameScore_param_edit_message_type_true' => '', - 'method_messages.setInlineGameScore_param_force_type_true' => '', - 'method_messages.setInlineGameScore_param_id_type_InputBotInlineMessageID' => '', - 'method_messages.setInlineGameScore_param_user_id_type_InputUser' => '', - 'method_messages.setInlineGameScore_param_score_type_int' => '', - 'method_messages.getGameHighScores' => '', - 'method_messages.getGameHighScores_param_peer_type_InputPeer' => '', - 'method_messages.getGameHighScores_param_id_type_int' => '', - 'method_messages.getGameHighScores_param_user_id_type_InputUser' => '', - 'method_messages.getInlineGameHighScores' => '', - 'method_messages.getInlineGameHighScores_param_id_type_InputBotInlineMessageID' => '', - 'method_messages.getInlineGameHighScores_param_user_id_type_InputUser' => '', - 'method_messages.getCommonChats' => '', - 'method_messages.getCommonChats_param_user_id_type_InputUser' => '', - 'method_messages.getCommonChats_param_max_id_type_int' => '', - 'method_messages.getCommonChats_param_limit_type_int' => '', - 'method_messages.getAllChats' => '', - 'method_messages.getAllChats_param_except_ids_type_Vector t' => '', - 'method_messages.getWebPage' => '', - 'method_messages.getWebPage_param_url_type_string' => '', - 'method_messages.getWebPage_param_hash_type_int' => '', - 'method_messages.toggleDialogPin' => '', - 'method_messages.toggleDialogPin_param_pinned_type_true' => '', - 'method_messages.toggleDialogPin_param_peer_type_InputPeer' => '', - 'method_messages.reorderPinnedDialogs' => '', - 'method_messages.reorderPinnedDialogs_param_force_type_true' => '', - 'method_messages.reorderPinnedDialogs_param_order_type_Vector t' => '', - 'method_messages.getPinnedDialogs' => '', - 'method_messages.setBotShippingResults' => '', - 'method_messages.setBotShippingResults_param_query_id_type_long' => '', - 'method_messages.setBotShippingResults_param_error_type_string' => '', - 'method_messages.setBotShippingResults_param_shipping_options_type_Vector t' => '', - 'method_messages.setBotPrecheckoutResults' => '', - 'method_messages.setBotPrecheckoutResults_param_success_type_true' => '', - 'method_messages.setBotPrecheckoutResults_param_query_id_type_long' => '', - 'method_messages.setBotPrecheckoutResults_param_error_type_string' => '', - 'method_messages.uploadMedia' => '', - 'method_messages.uploadMedia_param_peer_type_InputPeer' => '', - 'method_messages.uploadMedia_param_media_type_InputMedia' => '', - 'method_messages.sendScreenshotNotification' => '', - 'method_messages.sendScreenshotNotification_param_peer_type_InputPeer' => '', - 'method_messages.sendScreenshotNotification_param_reply_to_msg_id_type_int' => '', - 'method_messages.getFavedStickers' => '', - 'method_messages.getFavedStickers_param_hash_type_int' => '', - 'method_messages.faveSticker' => '', - 'method_messages.faveSticker_param_id_type_InputDocument' => '', - 'method_messages.faveSticker_param_unfave_type_Bool' => '', - 'method_messages.getUnreadMentions' => '', - 'method_messages.getUnreadMentions_param_peer_type_InputPeer' => '', - 'method_messages.getUnreadMentions_param_offset_id_type_int' => '', - 'method_messages.getUnreadMentions_param_add_offset_type_int' => '', - 'method_messages.getUnreadMentions_param_limit_type_int' => '', - 'method_messages.getUnreadMentions_param_max_id_type_int' => '', - 'method_messages.getUnreadMentions_param_min_id_type_int' => '', - 'method_messages.readMentions' => '', - 'method_messages.readMentions_param_peer_type_InputPeer' => '', - 'method_messages.getRecentLocations' => '', - 'method_messages.getRecentLocations_param_peer_type_InputPeer' => '', - 'method_messages.getRecentLocations_param_limit_type_int' => '', - 'method_messages.sendMultiMedia' => '', - 'method_messages.sendMultiMedia_param_silent_type_true' => '', - 'method_messages.sendMultiMedia_param_background_type_true' => '', - 'method_messages.sendMultiMedia_param_clear_draft_type_true' => '', - 'method_messages.sendMultiMedia_param_peer_type_InputPeer' => '', - 'method_messages.sendMultiMedia_param_reply_to_msg_id_type_int' => '', - 'method_messages.sendMultiMedia_param_multi_media_type_Vector t' => '', - 'method_messages.uploadEncryptedFile' => '', - 'method_messages.uploadEncryptedFile_param_peer_type_InputEncryptedChat' => '', - 'method_messages.uploadEncryptedFile_param_file_type_InputEncryptedFile' => '', + 'method_messages.setEncryptedTyping_param_peer_type_InputEncryptedChat' => 'The secret chat where to send The notification', + 'method_messages.setEncryptedTyping_param_typing_type_Bool' => 'Set to true to enable The notification, false to disable it', + 'method_messages.readEncryptedHistory' => 'Mark messages as read in secret chats', + 'method_messages.readEncryptedHistory_param_peer_type_InputEncryptedChat' => 'The secret chat where to mark messages as read', + 'method_messages.readEncryptedHistory_param_max_date_type_int' => 'Maximum date of messages to mark', + 'method_messages.sendEncrypted' => 'Send message to secret chat', + 'method_messages.sendEncrypted_param_peer_type_InputEncryptedChat' => 'The chat where to send The message', + 'method_messages.sendEncrypted_param_message_type_DecryptedMessage' => 'The message to send', + 'method_messages.sendEncryptedFile' => 'Send a file to a secret chat', + 'method_messages.sendEncryptedFile_param_peer_type_InputEncryptedChat' => 'The chat where to send The file', + 'method_messages.sendEncryptedFile_param_message_type_DecryptedMessage' => 'The message with The file', + 'method_messages.sendEncryptedFile_param_file_type_InputEncryptedFile' => 'The file (optional)', + 'method_messages.sendEncryptedService' => 'Send a service message to a secret chat', + 'method_messages.sendEncryptedService_param_peer_type_InputEncryptedChat' => 'The chat where to send The service message', + 'method_messages.sendEncryptedService_param_message_type_DecryptedMessage' => 'The service message', + 'method_messages.receivedQueue' => 'You cannot use this method directly', + 'method_messages.receivedQueue_param_max_qts_type_int' => 'You cannot use this method directly', + 'method_messages.reportEncryptedSpam' => 'Report for spam a secret chat', + 'method_messages.reportEncryptedSpam_param_peer_type_InputEncryptedChat' => 'The chat to report', + 'method_messages.readMessageContents' => 'Mark message as read', + 'method_messages.readMessageContents_param_id_type_Vector t' => 'The messages to mark as read (only users and normal chats, not supergroups)', + 'method_messages.getStickers' => 'Get stickers', + 'method_messages.getStickers_param_emoticon_type_string' => 'Search by emoji', + 'method_messages.getStickers_param_hash_type_string' => '0 or $MadelineProto->gen_vector_hash(previously fetched sticker IDs)', + 'method_messages.getAllStickers' => 'Get all stickerpacks', + 'method_messages.getAllStickers_param_hash_type_int' => '0 or $result[\'hash\']', + 'method_messages.getWebPagePreview' => 'Get webpage preview', + 'method_messages.getWebPagePreview_param_message_type_string' => 'Extract preview from this message', + 'method_messages.getWebPagePreview_param_entities_type_Vector t' => 'Entities for styled text', + 'method_messages.exportChatInvite' => 'Export chat invite ', + 'method_messages.exportChatInvite_param_chat_id_type_InputPeer' => 'The chat id ', + 'method_messages.checkChatInvite' => 'Check if an invitation link is valid', + 'method_messages.checkChatInvite_param_hash_type_string' => 'The invite link in t.me/joinchat/aflakf format', + 'method_messages.importChatInvite' => 'Import chat invite', + 'method_messages.importChatInvite_param_hash_type_string' => 'The invite link in t.me/joinchat/aflakf format', + 'method_messages.getStickerSet' => 'Get a stickerset', + 'method_messages.getStickerSet_param_stickerset_type_InputStickerSet' => 'The stickerset to get', + 'method_messages.installStickerSet' => 'Add a sticker set', + 'method_messages.installStickerSet_param_stickerset_type_InputStickerSet' => 'The sticker set to add', + 'method_messages.installStickerSet_param_archived_type_Bool' => 'Archive this set?', + 'method_messages.uninstallStickerSet' => 'Remove a sticker set', + 'method_messages.uninstallStickerSet_param_stickerset_type_InputStickerSet' => 'The sticker set to remove', + 'method_messages.startBot' => 'Start a bot', + 'method_messages.startBot_param_bot_type_InputUser' => 'The bot\'s ID or username', + 'method_messages.startBot_param_peer_type_InputPeer' => 'Where to start The bot (@me or group ID/username)', + 'method_messages.startBot_param_start_param_type_string' => 'The bot\'s start parameter', + 'method_messages.getMessagesViews' => 'Get and increase message views', + 'method_messages.getMessagesViews_param_peer_type_InputPeer' => 'The chat where The message is located', + 'method_messages.getMessagesViews_param_id_type_Vector t' => 'The IDs messages to get', + 'method_messages.getMessagesViews_param_increment_type_Bool' => 'Increase message views?', + 'method_messages.toggleChatAdmins' => 'Enable all users are admins in normal groups (not supergroups)', + 'method_messages.toggleChatAdmins_param_chat_id_type_InputPeer' => 'Group ID', + 'method_messages.toggleChatAdmins_param_enabled_type_Bool' => 'Enable all users are admins', + 'method_messages.editChatAdmin' => 'Edit admin permissions', + 'method_messages.editChatAdmin_param_chat_id_type_InputPeer' => 'The chat ID (no supergroups)', + 'method_messages.editChatAdmin_param_user_id_type_InputUser' => 'The user ID', + 'method_messages.editChatAdmin_param_is_admin_type_Bool' => 'Should The user be admin?', + 'method_messages.migrateChat' => 'Convert chat to supergroup', + 'method_messages.migrateChat_param_chat_id_type_InputPeer' => 'The chat to convert', + 'method_messages.searchGlobal' => 'Global message search', + 'method_messages.searchGlobal_param_q_type_string' => 'The query', + 'method_messages.searchGlobal_param_offset_date_type_int' => '0 or The date offset', + 'method_messages.searchGlobal_param_offset_peer_type_InputPeer' => '0 or The peer offset', + 'method_messages.searchGlobal_param_offset_id_type_int' => '0 or The message ID offset', + 'method_messages.searchGlobal_param_limit_type_int' => 'The number of results to return', + 'method_messages.reorderStickerSets' => 'Reorder sticker sets', + 'method_messages.reorderStickerSets_param_masks_type_true' => 'Reorder masks?', + 'method_messages.reorderStickerSets_param_order_type_Vector t' => 'The order', + 'method_messages.getDocumentByHash' => 'Get document by SHA256 hash', + 'method_messages.getDocumentByHash_param_sha256_type_bytes' => '`hash(\'sha256\', $filename, true);`', + 'method_messages.getDocumentByHash_param_size_type_int' => 'The file size', + 'method_messages.getDocumentByHash_param_mime_type_type_string' => 'The mime type of The file', + 'method_messages.searchGifs' => 'Search gifs', + 'method_messages.searchGifs_param_q_type_string' => 'The search query', + 'method_messages.searchGifs_param_offset_type_int' => 'The offset ', + 'method_messages.getSavedGifs' => 'Get saved gifs', + 'method_messages.getSavedGifs_param_hash_type_int' => '0 or $result[\'hash\']', + 'method_messages.saveGif' => 'Save a GIF', + 'method_messages.saveGif_param_id_type_InputDocument' => 'The GIF to save', + 'method_messages.saveGif_param_unsave_type_Bool' => 'Remove The gif?', + 'method_messages.getInlineBotResults' => 'Call inline bot', + 'method_messages.getInlineBotResults_param_bot_type_InputUser' => 'The bot to call', + 'method_messages.getInlineBotResults_param_peer_type_InputPeer' => 'The chat where to call The bot', + 'method_messages.getInlineBotResults_param_geo_point_type_InputGeoPoint' => 'The current location', + 'method_messages.getInlineBotResults_param_query_type_string' => 'The query to send to The bot', + 'method_messages.getInlineBotResults_param_offset_type_string' => 'The offset to send to The bot', + 'method_messages.setInlineBotResults' => 'Bots only: set The results of an inline query', + 'method_messages.setInlineBotResults_param_gallery_type_true' => 'Is this a gallery?', + 'method_messages.setInlineBotResults_param_private_type_true' => 'Is this result private (not cached)?', + 'method_messages.setInlineBotResults_param_query_id_type_long' => 'Query ID', + 'method_messages.setInlineBotResults_param_results_type_Vector t' => 'Results', + 'method_messages.setInlineBotResults_param_cache_time_type_int' => 'Cache time', + 'method_messages.setInlineBotResults_param_next_offset_type_string' => 'The next offset', + 'method_messages.setInlineBotResults_param_switch_pm_type_InlineBotSwitchPM' => 'Switch to PM?', + 'method_messages.sendInlineBotResult' => 'Send a received bot result to The chat', + 'method_messages.sendInlineBotResult_param_silent_type_true' => 'Disable notifications?', + 'method_messages.sendInlineBotResult_param_background_type_true' => 'Disable background notifications?', + 'method_messages.sendInlineBotResult_param_clear_draft_type_true' => 'Clear The message draft?', + 'method_messages.sendInlineBotResult_param_peer_type_InputPeer' => 'Where to send The message', + 'method_messages.sendInlineBotResult_param_reply_to_msg_id_type_int' => 'Reply to message by ID', + 'method_messages.sendInlineBotResult_param_query_id_type_long' => 'The inline query ID', + 'method_messages.sendInlineBotResult_param_id_type_string' => 'The result ID', + 'method_messages.getMessageEditData' => 'Check if about to edit a message or a media caption', + 'method_messages.getMessageEditData_param_peer_type_InputPeer' => 'The chat', + 'method_messages.getMessageEditData_param_id_type_int' => 'The message ID', + 'method_messages.editMessage' => 'Edit a message', + 'method_messages.editMessage_param_no_webpage_type_true' => 'Disable webpage preview', + 'method_messages.editMessage_param_stop_geo_live_type_true' => 'Stop live location', + 'method_messages.editMessage_param_peer_type_InputPeer' => 'The chat', + 'method_messages.editMessage_param_id_type_int' => 'The message ID', + 'method_messages.editMessage_param_message_type_string' => 'The new message', + 'method_messages.editMessage_param_reply_markup_type_ReplyMarkup' => 'The new keyboard', + 'method_messages.editMessage_param_entities_type_Vector t' => 'The new entities (for styled text)', + 'method_messages.editMessage_param_geo_point_type_InputGeoPoint' => 'The new location', + 'method_messages.editInlineBotMessage' => 'Edit a sent inline message', + 'method_messages.editInlineBotMessage_param_no_webpage_type_true' => 'Disable webpage preview', + 'method_messages.editInlineBotMessage_param_stop_geo_live_type_true' => 'Stop live location', + 'method_messages.editInlineBotMessage_param_id_type_InputBotInlineMessageID' => 'The message ID', + 'method_messages.editInlineBotMessage_param_message_type_string' => 'The new message', + 'method_messages.editInlineBotMessage_param_reply_markup_type_ReplyMarkup' => 'The new keyboard', + 'method_messages.editInlineBotMessage_param_entities_type_Vector t' => 'The new entities (for styled text)', + 'method_messages.editInlineBotMessage_param_geo_point_type_InputGeoPoint' => 'The new location', + 'method_messages.getBotCallbackAnswer' => 'Get The callback answer of a bot (after clicking a button)', + 'method_messages.getBotCallbackAnswer_param_game_type_true' => 'Is this a game?', + 'method_messages.getBotCallbackAnswer_param_peer_type_InputPeer' => 'The chat', + 'method_messages.getBotCallbackAnswer_param_msg_id_type_int' => 'The message ID', + 'method_messages.getBotCallbackAnswer_param_data_type_bytes' => 'The data to send to The bot', + 'method_messages.setBotCallbackAnswer' => 'Bots only: set The callback answer (after a button was clicked)', + 'method_messages.setBotCallbackAnswer_param_alert_type_true' => 'Is this an alert?', + 'method_messages.setBotCallbackAnswer_param_query_id_type_long' => 'The query ID', + 'method_messages.setBotCallbackAnswer_param_message_type_string' => 'The message', + 'method_messages.setBotCallbackAnswer_param_url_type_string' => 'The URL', + 'method_messages.setBotCallbackAnswer_param_cache_time_type_int' => 'Cache time', + 'method_messages.getPeerDialogs' => 'Get dialog info of peers', + 'method_messages.getPeerDialogs_param_peers_type_Vector t' => 'The peers', + 'method_messages.saveDraft' => 'Save a message draft', + 'method_messages.saveDraft_param_no_webpage_type_true' => 'Disable webpage preview', + 'method_messages.saveDraft_param_reply_to_msg_id_type_int' => 'Reply to message by ID', + 'method_messages.saveDraft_param_peer_type_InputPeer' => 'The chat', + 'method_messages.saveDraft_param_message_type_string' => 'The message', + 'method_messages.saveDraft_param_entities_type_Vector t' => 'The entities (for styled text)', + 'method_messages.getAllDrafts' => 'Get all message drafts', + 'method_messages.getFeaturedStickers' => 'Get featured stickers', + 'method_messages.getFeaturedStickers_param_hash_type_int' => '0 or $result[\'hash\']', + 'method_messages.readFeaturedStickers' => 'Mark new featured stickers as read', + 'method_messages.readFeaturedStickers_param_id_type_Vector t' => 'The stickers to mark as read', + 'method_messages.getRecentStickers' => 'Get recent stickers', + 'method_messages.getRecentStickers_param_attached_type_true' => 'Get stickers attached to image?', + 'method_messages.getRecentStickers_param_hash_type_int' => '0 or $result[\'hash\']', + 'method_messages.saveRecentSticker' => 'Add a sticker to recent stickers', + 'method_messages.saveRecentSticker_param_attached_type_true' => 'Get stickers attached to image?', + 'method_messages.saveRecentSticker_param_id_type_InputDocument' => 'The sticker', + 'method_messages.saveRecentSticker_param_unsave_type_Bool' => 'Remove The sticker from recent stickers?', + 'method_messages.clearRecentStickers' => 'Clear all recent stickers', + 'method_messages.clearRecentStickers_param_attached_type_true' => 'Clear recent stickers attached to images?', + 'method_messages.getArchivedStickers' => 'Get all archived stickers', + 'method_messages.getArchivedStickers_param_masks_type_true' => 'Get masks?', + 'method_messages.getArchivedStickers_param_offset_id_type_long' => 'Sticker ID offset', + 'method_messages.getArchivedStickers_param_limit_type_int' => 'Number of stickers to fetch', + 'method_messages.getMaskStickers' => 'Get masks', + 'method_messages.getMaskStickers_param_hash_type_int' => '0 or $result[\'hash\']', + 'method_messages.getAttachedStickers' => 'Get stickers attachable to images', + 'method_messages.getAttachedStickers_param_media_type_InputStickeredMedia' => 'The stickered media', + 'method_messages.setGameScore' => 'Set the game score', + 'method_messages.setGameScore_param_edit_message_type_true' => 'Should the message with the game be edited?', + 'method_messages.setGameScore_param_force_type_true' => 'Force setting the game score', + 'method_messages.setGameScore_param_peer_type_InputPeer' => 'The chat where the game was sent', + 'method_messages.setGameScore_param_id_type_int' => 'The message ID', + 'method_messages.setGameScore_param_user_id_type_InputUser' => 'The user that set the score', + 'method_messages.setGameScore_param_score_type_int' => 'The score', + 'method_messages.setInlineGameScore' => 'Set the game score of an inline message', + 'method_messages.setInlineGameScore_param_edit_message_type_true' => 'Should the message with the game be edited?', + 'method_messages.setInlineGameScore_param_force_type_true' => 'Force setting the game score', + 'method_messages.setInlineGameScore_param_id_type_InputBotInlineMessageID' => 'The ID of the inline message', + 'method_messages.setInlineGameScore_param_user_id_type_InputUser' => 'The user that set the score', + 'method_messages.setInlineGameScore_param_score_type_int' => 'The score', + 'method_messages.getGameHighScores' => 'Get high scores of a game', + 'method_messages.getGameHighScores_param_peer_type_InputPeer' => 'The chat', + 'method_messages.getGameHighScores_param_id_type_int' => 'The message ID', + 'method_messages.getGameHighScores_param_user_id_type_InputUser' => 'The user that set the high scores', + 'method_messages.getInlineGameHighScores' => 'Get high scores of a game sent in an inline message', + 'method_messages.getInlineGameHighScores_param_id_type_InputBotInlineMessageID' => 'The inline message', + 'method_messages.getInlineGameHighScores_param_user_id_type_InputUser' => 'The user that set the high scores', + 'method_messages.getCommonChats' => 'Get chats in common with a user', + 'method_messages.getCommonChats_param_user_id_type_InputUser' => 'The user', + 'method_messages.getCommonChats_param_max_id_type_int' => 'The maximum chat ID to fetch', + 'method_messages.getCommonChats_param_limit_type_int' => 'Number of results to fetch', + 'method_messages.getAllChats' => 'Get all chats (not supergroups or channels)', + 'method_messages.getAllChats_param_except_ids_type_Vector t' => 'Do not fetch these chats (MTProto id)', + 'method_messages.getWebPage' => 'Get webpage preview', + 'method_messages.getWebPage_param_url_type_string' => 'URL', + 'method_messages.getWebPage_param_hash_type_int' => '0 or $result[\'hash\']', + 'method_messages.toggleDialogPin' => 'Pin or unpin dialog', + 'method_messages.toggleDialogPin_param_pinned_type_true' => 'Pin or unpin the dialog?', + 'method_messages.toggleDialogPin_param_peer_type_InputPeer' => 'The peer to pin', + 'method_messages.reorderPinnedDialogs' => 'Reorder pinned dialogs', + 'method_messages.reorderPinnedDialogs_param_force_type_true' => 'Force reordering', + 'method_messages.reorderPinnedDialogs_param_order_type_Vector t' => 'New order', + 'method_messages.getPinnedDialogs' => 'Get pinned dialogs', + 'method_messages.setBotShippingResults' => 'Bots only: set shipping results', + 'method_messages.setBotShippingResults_param_query_id_type_long' => 'Query ID', + 'method_messages.setBotShippingResults_param_error_type_string' => 'Error', + 'method_messages.setBotShippingResults_param_shipping_options_type_Vector t' => 'Shipping options', + 'method_messages.setBotPrecheckoutResults' => 'Bots only: set precheckout results', + 'method_messages.setBotPrecheckoutResults_param_success_type_true' => 'Success?', + 'method_messages.setBotPrecheckoutResults_param_query_id_type_long' => 'Query ID', + 'method_messages.setBotPrecheckoutResults_param_error_type_string' => 'Error', + 'method_messages.uploadMedia' => 'Upload a file without sending it to anyone', + 'method_messages.uploadMedia_param_peer_type_InputPeer' => 'Nothing', + 'method_messages.uploadMedia_param_media_type_InputMedia' => 'The media to upload', + 'method_messages.sendScreenshotNotification' => 'Send screenshot notification', + 'method_messages.sendScreenshotNotification_param_peer_type_InputPeer' => 'Where to send the notification', + 'method_messages.sendScreenshotNotification_param_reply_to_msg_id_type_int' => 'Reply to message by ID', + 'method_messages.getFavedStickers' => 'Get favorite stickers', + 'method_messages.getFavedStickers_param_hash_type_int' => '0 or $result[\'hash\']', + 'method_messages.faveSticker' => 'Add a sticker to favorites', + 'method_messages.faveSticker_param_id_type_InputDocument' => 'The sticker to add to favorites', + 'method_messages.faveSticker_param_unfave_type_Bool' => 'Remove it from favorites?', + 'method_messages.getUnreadMentions' => 'Get unread mentions', + 'method_messages.getUnreadMentions_param_peer_type_InputPeer' => 'The chat where to get unread mentions', + 'method_messages.getUnreadMentions_param_offset_id_type_int' => 'The offset', + 'method_messages.getUnreadMentions_param_add_offset_type_int' => 'The additional offset', + 'method_messages.getUnreadMentions_param_limit_type_int' => 'The number of results to fetch', + 'method_messages.getUnreadMentions_param_max_id_type_int' => 'The maximum message ID to fetch', + 'method_messages.getUnreadMentions_param_min_id_type_int' => 'The minumum message ID to fetch', + 'method_messages.readMentions' => 'Mark mentions as read', + 'method_messages.readMentions_param_peer_type_InputPeer' => 'The chat', + 'method_messages.getRecentLocations' => 'Get recent locations', + 'method_messages.getRecentLocations_param_peer_type_InputPeer' => 'The chat where to search locations', + 'method_messages.getRecentLocations_param_limit_type_int' => 'Number of results to return', + 'method_messages.sendMultiMedia' => 'Send an album', + 'method_messages.sendMultiMedia_param_silent_type_true' => 'Disable notifications?', + 'method_messages.sendMultiMedia_param_background_type_true' => 'Disable background notification?', + 'method_messages.sendMultiMedia_param_clear_draft_type_true' => 'Clear draft?', + 'method_messages.sendMultiMedia_param_peer_type_InputPeer' => 'Where to send the album', + 'method_messages.sendMultiMedia_param_reply_to_msg_id_type_int' => 'Reply to message by ID', + 'method_messages.sendMultiMedia_param_multi_media_type_Vector t' => 'The album', + 'method_messages.uploadEncryptedFile' => 'Upload a secret chat file without sending it to anyone', + 'method_messages.uploadEncryptedFile_param_peer_type_InputEncryptedChat' => 'Ignore this', + 'method_messages.uploadEncryptedFile_param_file_type_InputEncryptedFile' => 'The file', 'method_updates.getState' => 'You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates', 'method_updates.getDifference' => 'You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates', 'method_updates.getDifference_param_pts_type_int' => 'You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates', @@ -875,17 +875,17 @@ class Lang 'method_updates.getChannelDifference_param_filter_type_ChannelMessagesFilter' => 'You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates', 'method_updates.getChannelDifference_param_pts_type_int' => 'You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates', 'method_updates.getChannelDifference_param_limit_type_int' => 'You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates', - 'method_photos.updateProfilePhoto' => '', - 'method_photos.updateProfilePhoto_param_id_type_InputPhoto' => '', - 'method_photos.uploadProfilePhoto' => '', - 'method_photos.uploadProfilePhoto_param_file_type_InputFile' => '', - 'method_photos.deletePhotos' => '', - 'method_photos.deletePhotos_param_id_type_Vector t' => '', - 'method_photos.getUserPhotos' => '', - 'method_photos.getUserPhotos_param_user_id_type_InputUser' => '', - 'method_photos.getUserPhotos_param_offset_type_int' => '', - 'method_photos.getUserPhotos_param_max_id_type_long' => '', - 'method_photos.getUserPhotos_param_limit_type_int' => '', + 'method_photos.updateProfilePhoto' => 'Update the profile photo (use photos->uploadProfilePhoto to upload the photo)', + 'method_photos.updateProfilePhoto_param_id_type_InputPhoto' => 'The photo to use', + 'method_photos.uploadProfilePhoto' => 'Upload profile photo', + 'method_photos.uploadProfilePhoto_param_file_type_InputFile' => 'The photo', + 'method_photos.deletePhotos' => 'Delete profile photos', + 'method_photos.deletePhotos_param_id_type_Vector t' => 'The profile photos to delete', + 'method_photos.getUserPhotos' => 'Get the profile photos of a user', + 'method_photos.getUserPhotos_param_user_id_type_InputUser' => 'The user', + 'method_photos.getUserPhotos_param_offset_type_int' => 'Offset', + 'method_photos.getUserPhotos_param_max_id_type_long' => 'Maximum ID of photo to return', + 'method_photos.getUserPhotos_param_limit_type_int' => 'Number of photos to return', 'method_upload.saveFilePart' => 'You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info', 'method_upload.saveFilePart_param_file_id_type_long' => 'You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info', 'method_upload.saveFilePart_param_file_part_type_int' => 'You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info', @@ -899,10 +899,10 @@ class Lang 'method_upload.saveBigFilePart_param_file_part_type_int' => 'You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info', 'method_upload.saveBigFilePart_param_file_total_parts_type_int' => 'You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info', 'method_upload.saveBigFilePart_param_bytes_type_bytes' => 'You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info', - 'method_upload.getWebFile' => '', - 'method_upload.getWebFile_param_location_type_InputWebFileLocation' => '', - 'method_upload.getWebFile_param_offset_type_int' => '', - 'method_upload.getWebFile_param_limit_type_int' => '', + 'method_upload.getWebFile' => 'Download a file through telegram', + 'method_upload.getWebFile_param_location_type_InputWebFileLocation' => 'The file', + 'method_upload.getWebFile_param_offset_type_int' => 'The offset in bytes', + 'method_upload.getWebFile_param_limit_type_int' => 'The number of bytes to fetch', 'method_upload.getCdnFile' => 'You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info', 'method_upload.getCdnFile_param_file_token_type_bytes' => 'You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info', 'method_upload.getCdnFile_param_offset_type_int' => 'You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info', @@ -913,162 +913,162 @@ class Lang 'method_upload.getCdnFileHashes' => 'You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info', 'method_upload.getCdnFileHashes_param_file_token_type_bytes' => 'You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info', 'method_upload.getCdnFileHashes_param_offset_type_int' => 'You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info', - 'method_help.getConfig' => '', - 'method_help.getNearestDc' => '', - 'method_help.getAppUpdate' => '', - 'method_help.saveAppLog' => '', - 'method_help.saveAppLog_param_events_type_Vector t' => '', - 'method_help.getInviteText' => '', - 'method_help.getSupport' => '', - 'method_help.getAppChangelog' => '', - 'method_help.getAppChangelog_param_prev_app_version_type_string' => '', - 'method_help.getTermsOfService' => '', - 'method_help.setBotUpdatesStatus' => '', - 'method_help.setBotUpdatesStatus_param_pending_updates_count_type_int' => '', - 'method_help.setBotUpdatesStatus_param_message_type_string' => '', - 'method_help.getCdnConfig' => '', - 'method_help.getRecentMeUrls' => '', - 'method_help.getRecentMeUrls_param_referer_type_string' => '', - 'method_channels.readHistory' => '', - 'method_channels.readHistory_param_channel_type_InputChannel' => '', - 'method_channels.readHistory_param_max_id_type_int' => '', - 'method_channels.deleteMessages' => '', - 'method_channels.deleteMessages_param_channel_type_InputChannel' => '', - 'method_channels.deleteMessages_param_id_type_Vector t' => '', - 'method_channels.deleteUserHistory' => '', - 'method_channels.deleteUserHistory_param_channel_type_InputChannel' => '', - 'method_channels.deleteUserHistory_param_user_id_type_InputUser' => '', - 'method_channels.reportSpam' => '', - 'method_channels.reportSpam_param_channel_type_InputChannel' => '', - 'method_channels.reportSpam_param_user_id_type_InputUser' => '', - 'method_channels.reportSpam_param_id_type_Vector t' => '', - 'method_channels.getMessages' => '', - 'method_channels.getMessages_param_channel_type_InputChannel' => '', - 'method_channels.getMessages_param_id_type_Vector t' => '', - 'method_channels.getParticipants' => '', - 'method_channels.getParticipants_param_channel_type_InputChannel' => '', - 'method_channels.getParticipants_param_filter_type_ChannelParticipantsFilter' => '', - 'method_channels.getParticipants_param_offset_type_int' => '', - 'method_channels.getParticipants_param_limit_type_int' => '', - 'method_channels.getParticipants_param_hash_type_int' => '', - 'method_channels.getParticipant' => '', - 'method_channels.getParticipant_param_channel_type_InputChannel' => '', - 'method_channels.getParticipant_param_user_id_type_InputUser' => '', - 'method_channels.getChannels' => '', - 'method_channels.getChannels_param_id_type_Vector t' => '', + 'method_help.getConfig' => 'Get server configuration', + 'method_help.getNearestDc' => 'Get nearest datacenter', + 'method_help.getAppUpdate' => 'Get info about app updates', + 'method_help.saveAppLog' => 'Log data for developer of this app', + 'method_help.saveAppLog_param_events_type_Vector t' => 'Event list', + 'method_help.getInviteText' => 'Get invitation text', + 'method_help.getSupport' => 'Get info of support user', + 'method_help.getAppChangelog' => 'Get the changelog of this app', + 'method_help.getAppChangelog_param_prev_app_version_type_string' => 'Previous app version', + 'method_help.getTermsOfService' => 'Get terms of service', + 'method_help.setBotUpdatesStatus' => 'Set the update status of webhook', + 'method_help.setBotUpdatesStatus_param_pending_updates_count_type_int' => 'Pending update count', + 'method_help.setBotUpdatesStatus_param_message_type_string' => 'Message', + 'method_help.getCdnConfig' => 'Get CDN configuration', + 'method_help.getRecentMeUrls' => 'Get recent t.me URLs', + 'method_help.getRecentMeUrls_param_referer_type_string' => 'Referrer', + 'method_channels.readHistory' => 'Mark channel/supergroup history as read', + 'method_channels.readHistory_param_channel_type_InputChannel' => 'The channel/supergroup', + 'method_channels.readHistory_param_max_id_type_int' => 'Maximum message ID to mark as read', + 'method_channels.deleteMessages' => 'Delete channel/supergroup messages', + 'method_channels.deleteMessages_param_channel_type_InputChannel' => 'The channel/supergroup', + 'method_channels.deleteMessages_param_id_type_Vector t' => 'The IDs of messages to delete', + 'method_channels.deleteUserHistory' => 'Delete all messages of a user in a channel/supergroup', + 'method_channels.deleteUserHistory_param_channel_type_InputChannel' => 'The channel/supergroup', + 'method_channels.deleteUserHistory_param_user_id_type_InputUser' => 'The user', + 'method_channels.reportSpam' => 'Report a supergroup/channel for spam', + 'method_channels.reportSpam_param_channel_type_InputChannel' => 'The channel', + 'method_channels.reportSpam_param_user_id_type_InputUser' => 'The user that added you to this channel', + 'method_channels.reportSpam_param_id_type_Vector t' => 'The IDs of messages to report', + 'method_channels.getMessages' => 'Get channel/supergroup messages', + 'method_channels.getMessages_param_channel_type_InputChannel' => 'The channel/supergroup', + 'method_channels.getMessages_param_id_type_Vector t' => 'The message IDs', + 'method_channels.getParticipants' => 'Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead)', + 'method_channels.getParticipants_param_channel_type_InputChannel' => 'The channel', + 'method_channels.getParticipants_param_filter_type_ChannelParticipantsFilter' => 'Member filter', + 'method_channels.getParticipants_param_offset_type_int' => 'Offset', + 'method_channels.getParticipants_param_limit_type_int' => 'Limit', + 'method_channels.getParticipants_param_hash_type_int' => '$MadelineProto->gen_vector_hash(ids of previously fetched participant IDs)', + 'method_channels.getParticipant' => 'Get info about a certain channel/supergroup participant', + 'method_channels.getParticipant_param_channel_type_InputChannel' => 'The channel/supergroup', + 'method_channels.getParticipant_param_user_id_type_InputUser' => 'The user to fetch info about', + 'method_channels.getChannels' => 'Get info about multiple channels/supergroups', + 'method_channels.getChannels_param_id_type_Vector t' => 'The channel/supergroup MTProto IDs', 'method_channels.getFullChannel' => 'You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)', 'method_channels.getFullChannel_param_channel_type_InputChannel' => 'You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)', - 'method_channels.createChannel' => '', - 'method_channels.createChannel_param_broadcast_type_true' => '', - 'method_channels.createChannel_param_megagroup_type_true' => '', - 'method_channels.createChannel_param_title_type_string' => '', - 'method_channels.createChannel_param_about_type_string' => '', - 'method_channels.editAbout' => '', - 'method_channels.editAbout_param_channel_type_InputChannel' => '', - 'method_channels.editAbout_param_about_type_string' => '', - 'method_channels.editAdmin' => '', - 'method_channels.editAdmin_param_channel_type_InputChannel' => '', - 'method_channels.editAdmin_param_user_id_type_InputUser' => '', - 'method_channels.editAdmin_param_admin_rights_type_ChannelAdminRights' => '', - 'method_channels.editTitle' => '', - 'method_channels.editTitle_param_channel_type_InputChannel' => '', - 'method_channels.editTitle_param_title_type_string' => '', - 'method_channels.editPhoto' => '', - 'method_channels.editPhoto_param_channel_type_InputChannel' => '', - 'method_channels.editPhoto_param_photo_type_InputChatPhoto' => '', - 'method_channels.checkUsername' => '', - 'method_channels.checkUsername_param_channel_type_InputChannel' => '', - 'method_channels.checkUsername_param_username_type_string' => '', - 'method_channels.updateUsername' => '', - 'method_channels.updateUsername_param_channel_type_InputChannel' => '', - 'method_channels.updateUsername_param_username_type_string' => '', - 'method_channels.joinChannel' => '', - 'method_channels.joinChannel_param_channel_type_InputChannel' => '', - 'method_channels.leaveChannel' => '', - 'method_channels.leaveChannel_param_channel_type_InputChannel' => '', - 'method_channels.inviteToChannel' => '', - 'method_channels.inviteToChannel_param_channel_type_InputChannel' => '', - 'method_channels.inviteToChannel_param_users_type_Vector t' => '', - 'method_channels.exportInvite' => '', - 'method_channels.exportInvite_param_channel_type_InputChannel' => '', - 'method_channels.deleteChannel' => '', - 'method_channels.deleteChannel_param_channel_type_InputChannel' => '', - 'method_channels.toggleInvites' => '', - 'method_channels.toggleInvites_param_channel_type_InputChannel' => '', - 'method_channels.toggleInvites_param_enabled_type_Bool' => '', - 'method_channels.exportMessageLink' => '', - 'method_channels.exportMessageLink_param_channel_type_InputChannel' => '', - 'method_channels.exportMessageLink_param_id_type_int' => '', - 'method_channels.exportMessageLink_param_grouped_type_Bool' => '', - 'method_channels.toggleSignatures' => '', - 'method_channels.toggleSignatures_param_channel_type_InputChannel' => '', - 'method_channels.toggleSignatures_param_enabled_type_Bool' => '', - 'method_channels.updatePinnedMessage' => '', - 'method_channels.updatePinnedMessage_param_silent_type_true' => '', - 'method_channels.updatePinnedMessage_param_channel_type_InputChannel' => '', - 'method_channels.updatePinnedMessage_param_id_type_int' => '', - 'method_channels.getAdminedPublicChannels' => '', - 'method_channels.editBanned' => '', - 'method_channels.editBanned_param_channel_type_InputChannel' => '', - 'method_channels.editBanned_param_user_id_type_InputUser' => '', - 'method_channels.editBanned_param_banned_rights_type_ChannelBannedRights' => '', - 'method_channels.getAdminLog' => '', - 'method_channels.getAdminLog_param_channel_type_InputChannel' => '', - 'method_channels.getAdminLog_param_q_type_string' => '', - 'method_channels.getAdminLog_param_events_filter_type_ChannelAdminLogEventsFilter' => '', - 'method_channels.getAdminLog_param_admins_type_Vector t' => '', - 'method_channels.getAdminLog_param_max_id_type_long' => '', - 'method_channels.getAdminLog_param_min_id_type_long' => '', - 'method_channels.getAdminLog_param_limit_type_int' => '', - 'method_channels.setStickers' => '', - 'method_channels.setStickers_param_channel_type_InputChannel' => '', - 'method_channels.setStickers_param_stickerset_type_InputStickerSet' => '', - 'method_channels.readMessageContents' => '', - 'method_channels.readMessageContents_param_channel_type_InputChannel' => '', - 'method_channels.readMessageContents_param_id_type_Vector t' => '', - 'method_channels.deleteHistory' => '', - 'method_channels.deleteHistory_param_channel_type_InputChannel' => '', - 'method_channels.deleteHistory_param_max_id_type_int' => '', - 'method_channels.togglePreHistoryHidden' => '', - 'method_channels.togglePreHistoryHidden_param_channel_type_InputChannel' => '', - 'method_channels.togglePreHistoryHidden_param_enabled_type_Bool' => '', - 'method_bots.sendCustomRequest' => '', - 'method_bots.sendCustomRequest_param_custom_method_type_string' => '', - 'method_bots.sendCustomRequest_param_params_type_DataJSON' => '', - 'method_bots.answerWebhookJSONQuery' => '', - 'method_bots.answerWebhookJSONQuery_param_query_id_type_long' => '', - 'method_bots.answerWebhookJSONQuery_param_data_type_DataJSON' => '', - 'method_payments.getPaymentForm' => '', - 'method_payments.getPaymentForm_param_msg_id_type_int' => '', - 'method_payments.getPaymentReceipt' => '', - 'method_payments.getPaymentReceipt_param_msg_id_type_int' => '', - 'method_payments.validateRequestedInfo' => '', - 'method_payments.validateRequestedInfo_param_save_type_true' => '', - 'method_payments.validateRequestedInfo_param_msg_id_type_int' => '', - 'method_payments.validateRequestedInfo_param_info_type_PaymentRequestedInfo' => '', - 'method_payments.sendPaymentForm' => '', - 'method_payments.sendPaymentForm_param_msg_id_type_int' => '', - 'method_payments.sendPaymentForm_param_requested_info_id_type_string' => '', - 'method_payments.sendPaymentForm_param_shipping_option_id_type_string' => '', - 'method_payments.sendPaymentForm_param_credentials_type_InputPaymentCredentials' => '', - 'method_payments.getSavedInfo' => '', - 'method_payments.clearSavedInfo' => '', - 'method_payments.clearSavedInfo_param_credentials_type_true' => '', - 'method_payments.clearSavedInfo_param_info_type_true' => '', - 'method_stickers.createStickerSet' => '', - 'method_stickers.createStickerSet_param_masks_type_true' => '', - 'method_stickers.createStickerSet_param_user_id_type_InputUser' => '', - 'method_stickers.createStickerSet_param_title_type_string' => '', - 'method_stickers.createStickerSet_param_short_name_type_string' => '', - 'method_stickers.createStickerSet_param_stickers_type_Vector t' => '', - 'method_stickers.removeStickerFromSet' => '', - 'method_stickers.removeStickerFromSet_param_sticker_type_InputDocument' => '', - 'method_stickers.changeStickerPosition' => '', - 'method_stickers.changeStickerPosition_param_sticker_type_InputDocument' => '', - 'method_stickers.changeStickerPosition_param_position_type_int' => '', - 'method_stickers.addStickerToSet' => '', - 'method_stickers.addStickerToSet_param_stickerset_type_InputStickerSet' => '', - 'method_stickers.addStickerToSet_param_sticker_type_InputStickerSetItem' => '', + 'method_channels.createChannel' => 'Create channel/supergroup', + 'method_channels.createChannel_param_broadcast_type_true' => 'Set this to true to create a channel', + 'method_channels.createChannel_param_megagroup_type_true' => 'Set this to true to create a supergroup', + 'method_channels.createChannel_param_title_type_string' => 'Supergroup/channel title', + 'method_channels.createChannel_param_about_type_string' => 'About text', + 'method_channels.editAbout' => 'Edit the about text of a channel/supergroup', + 'method_channels.editAbout_param_channel_type_InputChannel' => 'The channel', + 'method_channels.editAbout_param_about_type_string' => 'The new about text', + 'method_channels.editAdmin' => 'Edit admin permissions of a user in a channel/supergroup', + 'method_channels.editAdmin_param_channel_type_InputChannel' => 'The channel', + 'method_channels.editAdmin_param_user_id_type_InputUser' => 'The user', + 'method_channels.editAdmin_param_admin_rights_type_ChannelAdminRights' => 'The new admin rights', + 'method_channels.editTitle' => 'Edit the title of a supergroup/channel', + 'method_channels.editTitle_param_channel_type_InputChannel' => 'The channel', + 'method_channels.editTitle_param_title_type_string' => 'The new channel/supergroup title', + 'method_channels.editPhoto' => 'Edit the photo of a supergroup/channel', + 'method_channels.editPhoto_param_channel_type_InputChannel' => 'The channel', + 'method_channels.editPhoto_param_photo_type_InputChatPhoto' => 'The new photo', + 'method_channels.checkUsername' => 'Check if this username is free and can be assigned to a channel/supergroup', + 'method_channels.checkUsername_param_channel_type_InputChannel' => 'The channel/supergroup', + 'method_channels.checkUsername_param_username_type_string' => 'The new username for this channel/supergroup', + 'method_channels.updateUsername' => 'Update the username of a supergroup/channel', + 'method_channels.updateUsername_param_channel_type_InputChannel' => 'The channel/supergroup', + 'method_channels.updateUsername_param_username_type_string' => 'The new username', + 'method_channels.joinChannel' => 'Join a channel/supergroup', + 'method_channels.joinChannel_param_channel_type_InputChannel' => 'The channel/supergroup to join', + 'method_channels.leaveChannel' => 'Leave a channel/supergroup', + 'method_channels.leaveChannel_param_channel_type_InputChannel' => 'The channel/supergroup to leave', + 'method_channels.inviteToChannel' => 'Add users to channel/supergroup', + 'method_channels.inviteToChannel_param_channel_type_InputChannel' => 'The channel/supergroup', + 'method_channels.inviteToChannel_param_users_type_Vector t' => 'The users to add', + 'method_channels.exportInvite' => 'Export the invite link of a channel', + 'method_channels.exportInvite_param_channel_type_InputChannel' => 'The channel', + 'method_channels.deleteChannel' => 'Delete a channel/supergroup', + 'method_channels.deleteChannel_param_channel_type_InputChannel' => 'The channel/supergroup to delete', + 'method_channels.toggleInvites' => 'Allow or disallow any user to invite users to this channel/supergroup', + 'method_channels.toggleInvites_param_channel_type_InputChannel' => 'The channel/supergroup', + 'method_channels.toggleInvites_param_enabled_type_Bool' => 'Allow or disallow', + 'method_channels.exportMessageLink' => 'Get the link of a message in a channel', + 'method_channels.exportMessageLink_param_channel_type_InputChannel' => 'The channel/supergroup', + 'method_channels.exportMessageLink_param_id_type_int' => 'The ID of the message', + 'method_channels.exportMessageLink_param_grouped_type_Bool' => 'Is this an album?', + 'method_channels.toggleSignatures' => 'Toggle channel signatures', + 'method_channels.toggleSignatures_param_channel_type_InputChannel' => 'The channel/supergroup', + 'method_channels.toggleSignatures_param_enabled_type_Bool' => 'Enable or disable channel signatures?', + 'method_channels.updatePinnedMessage' => 'Set the pinned message of a channel/supergroup', + 'method_channels.updatePinnedMessage_param_silent_type_true' => 'Pin silently', + 'method_channels.updatePinnedMessage_param_channel_type_InputChannel' => 'The channel/supergroup', + 'method_channels.updatePinnedMessage_param_id_type_int' => 'The ID of the message to pin', + 'method_channels.getAdminedPublicChannels' => 'Get all supergroups/channels where you\'re admin', + 'method_channels.editBanned' => 'Kick or ban a user from a channel/supergroup', + 'method_channels.editBanned_param_channel_type_InputChannel' => 'The channel/supergroup', + 'method_channels.editBanned_param_user_id_type_InputUser' => 'The user to kick/ban', + 'method_channels.editBanned_param_banned_rights_type_ChannelBannedRights' => 'Banned/kicked permissions', + 'method_channels.getAdminLog' => 'Get admin log of a channel/supergruop', + 'method_channels.getAdminLog_param_channel_type_InputChannel' => 'The channel/supergroup', + 'method_channels.getAdminLog_param_q_type_string' => 'Search query', + 'method_channels.getAdminLog_param_events_filter_type_ChannelAdminLogEventsFilter' => 'Event filter', + 'method_channels.getAdminLog_param_admins_type_Vector t' => 'Fetch only actions from these admins', + 'method_channels.getAdminLog_param_max_id_type_long' => 'Maximum message ID to fetch', + 'method_channels.getAdminLog_param_min_id_type_long' => 'Minimum message ID to fetch', + 'method_channels.getAdminLog_param_limit_type_int' => 'Number of results to fetch', + 'method_channels.setStickers' => 'Set the supergroup/channel stickerpack', + 'method_channels.setStickers_param_channel_type_InputChannel' => 'The channel/supergoup', + 'method_channels.setStickers_param_stickerset_type_InputStickerSet' => 'The stickerset', + 'method_channels.readMessageContents' => 'Mark channel/supergroup messages as read', + 'method_channels.readMessageContents_param_channel_type_InputChannel' => 'The channel', + 'method_channels.readMessageContents_param_id_type_Vector t' => 'List of message IDs', + 'method_channels.deleteHistory' => 'Delete the history of a supergroup/channel', + 'method_channels.deleteHistory_param_channel_type_InputChannel' => 'The channel/supergroup', + 'method_channels.deleteHistory_param_max_id_type_int' => 'Maximum message ID to delete', + 'method_channels.togglePreHistoryHidden' => 'Enable or disable hidden history for new channel/supergroup users', + 'method_channels.togglePreHistoryHidden_param_channel_type_InputChannel' => 'The channel/supergroup', + 'method_channels.togglePreHistoryHidden_param_enabled_type_Bool' => 'Enable or disable hidden history for new channel/supergroup users', + 'method_bots.sendCustomRequest' => 'Send a custom request to the bot API', + 'method_bots.sendCustomRequest_param_custom_method_type_string' => 'The method to call', + 'method_bots.sendCustomRequest_param_params_type_DataJSON' => 'Method parameters', + 'method_bots.answerWebhookJSONQuery' => 'Send webhook request via bot API', + 'method_bots.answerWebhookJSONQuery_param_query_id_type_long' => 'The query ID', + 'method_bots.answerWebhookJSONQuery_param_data_type_DataJSON' => 'The parameters', + 'method_payments.getPaymentForm' => 'Get payment form', + 'method_payments.getPaymentForm_param_msg_id_type_int' => 'Message ID', + 'method_payments.getPaymentReceipt' => 'Get payment receipt', + 'method_payments.getPaymentReceipt_param_msg_id_type_int' => 'The message ID', + 'method_payments.validateRequestedInfo' => 'Validate requested payment info', + 'method_payments.validateRequestedInfo_param_save_type_true' => 'Save payment info?', + 'method_payments.validateRequestedInfo_param_msg_id_type_int' => 'The message ID', + 'method_payments.validateRequestedInfo_param_info_type_PaymentRequestedInfo' => 'The requested payment info', + 'method_payments.sendPaymentForm' => 'Bots only: send payment form', + 'method_payments.sendPaymentForm_param_msg_id_type_int' => 'Message ID', + 'method_payments.sendPaymentForm_param_requested_info_id_type_string' => 'ID of requested info', + 'method_payments.sendPaymentForm_param_shipping_option_id_type_string' => 'Shipping option ID', + 'method_payments.sendPaymentForm_param_credentials_type_InputPaymentCredentials' => 'Payment credentials', + 'method_payments.getSavedInfo' => 'Get saved payments info', + 'method_payments.clearSavedInfo' => 'Clear saved payments info', + 'method_payments.clearSavedInfo_param_credentials_type_true' => 'Clear credentials?', + 'method_payments.clearSavedInfo_param_info_type_true' => 'Clear payment info?', + 'method_stickers.createStickerSet' => 'Create stickerset', + 'method_stickers.createStickerSet_param_masks_type_true' => 'Masks?', + 'method_stickers.createStickerSet_param_user_id_type_InputUser' => 'The user ID associated to this stickerset', + 'method_stickers.createStickerSet_param_title_type_string' => 'The stickerset title', + 'method_stickers.createStickerSet_param_short_name_type_string' => 'The stickerset short name', + 'method_stickers.createStickerSet_param_stickers_type_Vector t' => 'The stickers to add', + 'method_stickers.removeStickerFromSet' => 'Remove sticker from stickerset', + 'method_stickers.removeStickerFromSet_param_sticker_type_InputDocument' => 'The sticker to remove', + 'method_stickers.changeStickerPosition' => 'Change sticker position in photo', + 'method_stickers.changeStickerPosition_param_sticker_type_InputDocument' => 'The sticker', + 'method_stickers.changeStickerPosition_param_position_type_int' => 'New position', + 'method_stickers.addStickerToSet' => 'Add sticker to stickerset', + 'method_stickers.addStickerToSet_param_stickerset_type_InputStickerSet' => 'The stickerset', + 'method_stickers.addStickerToSet_param_sticker_type_InputStickerSetItem' => 'The sticker', 'method_phone.getCallConfig' => '', 'method_phone.requestCall' => 'You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls', 'method_phone.requestCall_param_user_id_type_InputUser' => 'You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls', @@ -1105,8 +1105,8 @@ class Lang 'method_langpack.getDifference' => '', 'method_langpack.getDifference_param_from_version_type_int' => '', 'method_langpack.getLanguages' => '', - 'method_auth.sendCode_param_sms_type_type_int' => 'You cannot use this method directly, use the phone_login method instead (see https://docs.madelineproto.xyz for more info)', - 'method_auth.sendCode_param_lang_code_type_string' => 'You cannot use this method directly, use the phone_login method instead (see https://docs.madelineproto.xyz for more info)', + 'method_auth.sendCode_param_sms_type_type_int' => 'You cannot use this method directly, use The phone_login method instead (see https://docs.madelineproto.xyz for more info)', + 'method_auth.sendCode_param_lang_code_type_string' => 'You cannot use this method directly, use The phone_login method instead (see https://docs.madelineproto.xyz for more info)', 'method_auth.sendCall' => '', 'method_auth.sendCall_param_phone_number_type_string' => '', 'method_auth.sendCall_param_phone_code_hash_type_string' => '', @@ -1267,10 +1267,10 @@ class Lang 'method_contest.saveDeveloperInfo_param_phone_number_type_string' => '', 'method_contest.saveDeveloperInfo_param_age_type_int' => '', 'method_contest.saveDeveloperInfo_param_city_type_string' => '', - 'method_auth.importBotAuthorization_param_a_type_true' => 'You cannot use this method directly, use the bot_login method instead (see https://docs.madelineproto.xyz for more info)', - 'method_auth.importBotAuthorization_param_b_type_true' => 'You cannot use this method directly, use the bot_login method instead (see https://docs.madelineproto.xyz for more info)', - 'method_auth.importBotAuthorization_param_c_type_true' => 'You cannot use this method directly, use the bot_login method instead (see https://docs.madelineproto.xyz for more info)', - 'method_auth.importBotAuthorization_param_d_type_true' => 'You cannot use this method directly, use the bot_login method instead (see https://docs.madelineproto.xyz for more info)', + 'method_auth.importBotAuthorization_param_a_type_true' => 'You cannot use this method directly, use The bot_login method instead (see https://docs.madelineproto.xyz for more info)', + 'method_auth.importBotAuthorization_param_b_type_true' => 'You cannot use this method directly, use The bot_login method instead (see https://docs.madelineproto.xyz for more info)', + 'method_auth.importBotAuthorization_param_c_type_true' => 'You cannot use this method directly, use The bot_login method instead (see https://docs.madelineproto.xyz for more info)', + 'method_auth.importBotAuthorization_param_d_type_true' => 'You cannot use this method directly, use The bot_login method instead (see https://docs.madelineproto.xyz for more info)', 'object_vector' => '', 'object_resPQ' => '', 'object_resPQ_param_nonce_type_int128' => '', @@ -1881,8 +1881,8 @@ class Lang 'object_inputReportReasonSpam' => '', 'object_inputReportReasonViolence' => '', 'object_inputReportReasonPornography' => '', - 'object_inputReportReasonOther' => '', - 'object_inputReportReasonOther_param_text_type_string' => '', + 'object_inputReportReasonOTher' => '', + 'object_inputReportReasonOTher_param_text_type_string' => '', 'object_userFull' => '', 'object_userFull_param_blocked_type_true' => '', 'object_userFull_param_phone_calls_available_type_true' => '', @@ -2221,14 +2221,14 @@ class Lang 'object_updates.difference' => '', 'object_updates.difference_param_new_messages_type_Vector t' => '', 'object_updates.difference_param_new_encrypted_messages_type_Vector t' => '', - 'object_updates.difference_param_other_updates_type_Vector t' => '', + 'object_updates.difference_param_oTher_updates_type_Vector t' => '', 'object_updates.difference_param_chats_type_Vector t' => '', 'object_updates.difference_param_users_type_Vector t' => '', 'object_updates.difference_param_state_type_updates.State' => '', 'object_updates.differenceSlice' => '', 'object_updates.differenceSlice_param_new_messages_type_Vector t' => '', 'object_updates.differenceSlice_param_new_encrypted_messages_type_Vector t' => '', - 'object_updates.differenceSlice_param_other_updates_type_Vector t' => '', + 'object_updates.differenceSlice_param_oTher_updates_type_Vector t' => '', 'object_updates.differenceSlice_param_chats_type_Vector t' => '', 'object_updates.differenceSlice_param_users_type_Vector t' => '', 'object_updates.differenceSlice_param_intermediate_state_type_updates.State' => '', @@ -2761,7 +2761,7 @@ class Lang 'object_updates.channelDifference_param_pts_type_int' => '', 'object_updates.channelDifference_param_timeout_type_int' => '', 'object_updates.channelDifference_param_new_messages_type_Vector t' => '', - 'object_updates.channelDifference_param_other_updates_type_Vector t' => '', + 'object_updates.channelDifference_param_oTher_updates_type_Vector t' => '', 'object_updates.channelDifference_param_chats_type_Vector t' => '', 'object_updates.channelDifference_param_users_type_Vector t' => '', 'object_channelMessagesFilterEmpty' => '', @@ -3340,7 +3340,7 @@ class Lang 'object_langPackStringPluralized_param_two_value_type_string' => '', 'object_langPackStringPluralized_param_few_value_type_string' => '', 'object_langPackStringPluralized_param_many_value_type_string' => '', - 'object_langPackStringPluralized_param_other_value_type_string' => '', + 'object_langPackStringPluralized_param_oTher_value_type_string' => '', 'object_langPackStringDeleted' => '', 'object_langPackStringDeleted_param_key_type_string' => '', 'object_langPackDifference' => '', @@ -4161,14 +4161,14 @@ class Lang 'v_error' => '506c656173652075706461746520746f20746865206c61746573742076657273696f6e206f66204d6164656c696e6550726f746f2e', 'v_tgerror' => '506c6561736520757064617465207068702d6c69627467766f6970', 'no_mode_specified' => 'No mode was specified!', - 'constructor_function_uncalled' => 'The constructor function wasn\'t called! Please call the constructor function before using this method.', + 'constructor_function_uncalled' => 'The constructor function wasn\'t called! Please call The constructor function before using this method.', 'proxy_class_invalid' => 'Invalid proxy class provided!', 'socket_con_error' => 'Connection: couldn\'t connect to socket.', 'protocol_not_implemented' => 'Connection: This protocol isn\'t implemented yet.', 'protocol_invalid' => 'Connection: invalid protocol specified.', - 'nothing_in_socket' => 'Nothing in the socket!', + 'nothing_in_socket' => 'Nothing in The socket!', 'wrong_length_read' => 'WARNING: Wrong length was read (should\'ve read %s, read %s)!', - 'no_data_in_socket' => 'No data in the socket!', + 'no_data_in_socket' => 'No data in The socket!', 'dc_con_start' => 'Connecting to DC %s...', 'dc_con_stop' => 'Disconnecting from DC %s...', 'dc_con_test_start' => 'Connecting to DC %s (%s server, %s, %s)...', @@ -4182,19 +4182,19 @@ class Lang 'login_user' => 'Logging in as a normal user...', 'login_bot' => 'Logging in as a bot...', 'login_code_sending' => 'Sending code...', - 'login_code_sent' => 'Code sent successfully! Once you receive the code you should use the complete_phone_login function.', - 'login_code_uncalled' => 'I\'m not waiting for the code! Please call the phone_login method first', - 'login_2fa_enabled' => '2FA enabled, you will have to call the complete_2fa_login function...', - 'login_need_signup' => 'An account has not been created for this number, you will have to call the complete_signup function...', + 'login_code_sent' => 'Code sent successfully! Once you receive The code you should use The complete_phone_login function.', + 'login_code_uncalled' => 'I\'m not waiting for The code! Please call The phone_login method first', + 'login_2fa_enabled' => '2FA enabled, you will have to call The complete_2fa_login function...', + 'login_need_signup' => 'An account has not been created for this number, you will have to call The complete_signup function...', 'login_auth_key' => 'Logging in using auth key...', 'not_logged_in' => 'I\'m not logged in!', - 'signup_uncalled' => 'I\'m not waiting to signup! Please call the phone_login and the complete_phone_login methods first!', + 'signup_uncalled' => 'I\'m not waiting to signup! Please call The phone_login and The complete_phone_login methods first!', 'signing_up' => 'Signing up as a normal user...', 'signup_ok' => 'Signed up in successfully!', - '2fa_uncalled' => 'I\'m not waiting for the password! Please call the phone_login and the complete_phone_login methods first!', + '2fa_uncalled' => 'I\'m not waiting for The password! Please call The phone_login and The complete_phone_login methods first!', 'getting_dialogs' => 'Getting dialogs...', 'libtgvoip_required' => 'The php-libtgvoip extension is required to accept and manage calls. See daniil.it/MadelineProto for more info.', - 'peer_not_in_db' => 'This peer is not present in the internal peer database', + 'peer_not_in_db' => 'This peer is not present in The internal peer database', 'calling_user' => 'Calling %s...', 'generating_a' => 'Generating a...', 'generating_g_a' => 'Generating g_a...', @@ -4228,7 +4228,7 @@ class Lang 'type_extract_error' => 'Could not extract type "%s"', 'method_not_found' => 'Could not find method: ', 'params_missing' => 'Missing required parameter', - 'sec_peer_not_in_db' => 'This secret peer is not present in the internal peer database', + 'sec_peer_not_in_db' => 'This secret peer is not present in The internal peer database', 'stream_handle_invalid' => 'An invalid stream handle was provided.', 'length_too_big' => 'Length is too big', 'deserialize_not_str' => 'Deserialize: Generated value isn\'t a string', @@ -4240,11 +4240,11 @@ class Lang 'non_text_conversion' => 'Can\'t convert non text messages yet!', 'last_byte_invalid' => 'Invalid last byte', 'file_type_invalid' => 'Invalid file type detected (%s)', - 'recreate_temp_auth_key' => 'I had to recreate the temporary authorization key', + 'recreate_temp_auth_key' => 'I had to recreate The temporary authorization key', 'resetting_auth_key' => 'WARNING: Resetting auth key...', 'shutting_down_reader_pool' => 'Shutting down reader pool ', 'shutting_down_handler_pool' => 'Shutting down handler pool for dc %s, %d jobs left', - 'secret_chat_skipping' => 'I do not have the secret chat %s in the database, skipping message...', + 'secret_chat_skipping' => 'I do not have The secret chat %s in The database, skipping message...', 'fingerprint_mismatch' => 'Key fingerprint mismatch', 'msg_data_length_too_big' => 'message_data_length is too big', 'length_not_divisible_16' => 'Length of decrypted data is not divisible by 16', @@ -4268,27 +4268,27 @@ class Lang 'method_set_client_DH_params_param_server_nonce_type_int128' => 'Random number for cryptographic security, given by server', 'method_set_client_DH_params_param_encrypted_data_type_bytes' => 'Encrypted key exchange message', 'method_rpc_drop_answer' => 'Do not send answer to provided request', - 'method_rpc_drop_answer_param_req_msg_id_type_long' => 'The message ID of the request', + 'method_rpc_drop_answer_param_req_msg_id_type_long' => 'The message ID of The request', 'method_get_future_salts' => 'Get future salts', 'method_get_future_salts_param_num_type_int' => 'How many salts should be fetched', - 'method_ping' => 'pings the server', + 'method_ping' => 'pings The server', 'method_ping_param_ping_id_type_long' => 'Ping ID', - 'method_ping_delay_disconnect' => 'Pings the server and causes disconection if the same method is not called within ping_disconnect_delay', + 'method_ping_delay_disconnect' => 'Pings The server and causes disconection if The same method is not called within ping_disconnect_delay', 'method_ping_delay_disconnect_param_ping_id_type_long' => 'Ping ID', 'method_ping_delay_disconnect_param_disconnect_delay_type_int' => 'Disconection delay', - 'method_destroy_session' => 'Destroy the current MTProto session', + 'method_destroy_session' => 'Destroy The current MTProto session', 'method_destroy_session_param_session_id_type_long' => 'The session to destroy', - 'method_http_wait' => 'Makes the server send messages waiting in the buffer', - 'method_http_wait_param_max_delay_type_int' => 'Denotes the maximum number of milliseconds that has elapsed between the first message for this session and the transmission of an HTTP response', - 'method_http_wait_param_wait_after_type_int' => 'after the receipt of the latest message for a particular session, the server waits another wait_after milliseconds in case there are more messages. If there are no additional messages, the result is transmitted (a container with all the messages).', - 'method_http_wait_param_max_wait_type_int' => 'If more messages appear, the wait_after timer is reset.', - 'method_invokeAfterMsg' => 'Invokes a query after successfull completion of one of the previous queries.', + 'method_http_wait' => 'Makes The server send messages waiting in The buffer', + 'method_http_wait_param_max_delay_type_int' => 'Denotes The maximum number of milliseconds that has elapsed between The first message for this session and The transmission of an HTTP response', + 'method_http_wait_param_wait_after_type_int' => 'after The receipt of The latest message for a particular session, The server waits anoTher wait_after milliseconds in case There are more messages. If There are no additional messages, The result is transmitted (a container with all The messages).', + 'method_http_wait_param_max_wait_type_int' => 'If more messages appear, The wait_after timer is reset.', + 'method_invokeAfterMsg' => 'Invokes a query after successfull completion of one of The previous queries.', 'method_invokeAfterMsg_param_msg_id_type_long' => 'Message identifier on which a current query depends', 'method_invokeAfterMsg_param_query_type_!X' => 'The query itself', 'method_invokeAfterMsgs' => 'Result type returned by a current query.', 'method_invokeAfterMsgs_param_msg_ids_type_Vector t' => 'List of messages on which a current query depends', 'method_invokeAfterMsgs_param_query_type_!X' => 'The query itself', - 'method_initConnection' => 'Initializes connection and save information on the user\'s device and application.', + 'method_initConnection' => 'Initializes connection and save information on The user\'s device and application.', 'method_initConnection_param_api_id_type_int' => 'Application identifier', 'method_initConnection_param_device_model_type_string' => 'Device model', 'method_initConnection_param_system_version_type_string' => 'System version', @@ -4300,7 +4300,7 @@ class Lang 'method_invokeWithLayer' => 'Invoke this method with layer X', 'method_invokeWithLayer_param_layer_type_int' => 'The layer version', 'method_invokeWithLayer_param_query_type_!X' => 'The query', - 'method_invokeWithoutUpdates' => 'Invoke with method without returning updates in the socket', + 'method_invokeWithoutUpdates' => 'Invoke with method without returning updates in The socket', 'method_invokeWithoutUpdates_param_query_type_!X' => 'The query', 'method_auth.checkPhone' => 'Check if this phone number is registered on telegram', 'method_auth.checkPhone_param_phone_number_type_string' => 'The phone number to check', @@ -4341,28 +4341,28 @@ class Lang 'method_auth.importBotAuthorization_param_bot_auth_token_type_string' => 'You cannot use this method directly, use the bot_login method instead (see https://docs.madelineproto.xyz for more info)', 'method_auth.checkPassword' => 'You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info)', 'method_auth.checkPassword_param_password_hash_type_bytes' => 'You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info)', - 'method_auth.requestPasswordRecovery' => 'Send an email to recover the 2FA password', - 'method_auth.recoverPassword' => 'Use the code that was emailed to you after running $MadelineProto->auth->requestPasswordRecovery to login to your account', + 'method_auth.requestPasswordRecovery' => 'Send an email to recover The 2FA password', + 'method_auth.recoverPassword' => 'Use The code that was emailed to you after running $MadelineProto->auth->requestPasswordRecovery to login to your account', 'method_auth.recoverPassword_param_code_type_string' => 'The code that was emailed to you', - 'method_auth.resendCode' => 'Resend the SMS verification code', + 'method_auth.resendCode' => 'Resend The SMS verification code', 'method_auth.resendCode_param_phone_number_type_string' => 'The phone number', 'method_auth.resendCode_param_phone_code_hash_type_string' => 'The phone code hash', 'method_auth.cancelCode' => 'Invalidate sent phone code', 'method_auth.cancelCode_param_phone_number_type_string' => 'Phone number', 'method_auth.cancelCode_param_phone_code_hash_type_string' => 'Phone code hash', - 'method_auth.dropTempAuthKeys' => 'Delete all temporary authorization keys except the ones provided', + 'method_auth.dropTempAuthKeys' => 'Delete all temporary authorization keys except The ones provided', 'method_auth.dropTempAuthKeys_param_except_auth_keys_type_Vector t' => 'The temporary authorization keys to keep', 'method_account.registerDevice' => 'Register device for push notifications', - 'method_account.registerDevice_param_token_type_type_int' => 'Device token type. Possible values: 1 - APNS, 2 - GCM, 3 - MPNS, 4 - Simple Push, 5 - Ubuntu Phone, 6 - Blackberry, and other, see source code of official apps for more info', - 'method_account.registerDevice_param_token_type_string' => 'Device token type. Possible values: 1 - APNS, 2 - GCM, 3 - MPNS, 4 - Simple Push, 5 - Ubuntu Phone,6 - Blackberry, and other, see source code of official apps for more info', - 'method_account.registerDevice_param_app_sandbox_type_Bool' => 'Should the app run in a sandbox?', - 'method_account.registerDevice_param_other_uids_type_Vector t' => 'Other UUIDs', + 'method_account.registerDevice_param_token_type_type_int' => 'Device token type. Possible values: 1 - APNS, 2 - GCM, 3 - MPNS, 4 - Simple Push, 5 - Ubuntu Phone, 6 - Blackberry, and oTher, see source code of official apps for more info', + 'method_account.registerDevice_param_token_type_string' => 'Device token type. Possible values: 1 - APNS, 2 - GCM, 3 - MPNS, 4 - Simple Push, 5 - Ubuntu Phone,6 - Blackberry, and oTher, see source code of official apps for more info', + 'method_account.registerDevice_param_app_sandbox_type_Bool' => 'Should The app run in a sandbox?', + 'method_account.registerDevice_param_oTher_uids_type_Vector t' => 'OTher UUIDs', 'method_account.unregisterDevice' => 'Stop sending PUSH notifications to app', - 'method_account.unregisterDevice_param_token_type_type_int' => 'Device token type. Possible values: 1 - APNS, 2 - GCM, 3 - MPNS, 4 - Simple Push, 5 - Ubuntu Phone,6 - Blackberry, and other, see source code of official apps for more info', - 'method_account.unregisterDevice_param_token_type_string' => 'Device token type. Possible values: 1 - APNS, 2 - GCM, 3 - MPNS, 4 - Simple Push, 5 - Ubuntu Phone,6 - Blackberry, and other, see source code of official apps for more info', - 'method_account.unregisterDevice_param_other_uids_type_Vector t' => 'Other UUIDs', + 'method_account.unregisterDevice_param_token_type_type_int' => 'Device token type. Possible values: 1 - APNS, 2 - GCM, 3 - MPNS, 4 - Simple Push, 5 - Ubuntu Phone,6 - Blackberry, and oTher, see source code of official apps for more info', + 'method_account.unregisterDevice_param_token_type_string' => 'Device token type. Possible values: 1 - APNS, 2 - GCM, 3 - MPNS, 4 - Simple Push, 5 - Ubuntu Phone,6 - Blackberry, and oTher, see source code of official apps for more info', + 'method_account.unregisterDevice_param_oTher_uids_type_Vector t' => 'OTher UUIDs', 'method_account.updateNotifySettings' => 'Change notification settings', - 'method_account.updateNotifySettings_param_peer_type_InputNotifyPeer' => 'The peers to which the notification settings should be applied', + 'method_account.updateNotifySettings_param_peer_type_InputNotifyPeer' => 'The peers to which The notification settings should be applied', 'method_account.updateNotifySettings_param_settings_type_InputPeerNotifySettings' => 'Notification settings', 'method_account.getNotifySettings' => 'Get notification settings', 'method_account.getNotifySettings_param_peer_type_InputNotifyPeer' => 'Notification source ', @@ -4372,7 +4372,7 @@ class Lang 'method_account.updateProfile_param_last_name_type_string' => 'The last name', 'method_account.updateProfile_param_about_type_string' => 'The bio/about field', 'method_account.updateStatus' => 'Update online status', - 'method_account.updateStatus_param_offline_type_Bool' => 'offline to set the status to offline', + 'method_account.updateStatus_param_offline_type_Bool' => 'offline to set The status to offline', 'method_account.getWallPapers' => 'Returns a list of available wallpapers.', 'method_account.reportPeer' => 'Report for spam', 'method_account.reportPeer_param_peer_type_InputPeer' => 'The peer to report', @@ -4391,11 +4391,11 @@ class Lang 'method_account.getAccountTTL' => 'Get account TTL', 'method_account.setAccountTTL' => 'Set account TTL', 'method_account.setAccountTTL_param_ttl_type_AccountDaysTTL' => 'Time To Live of account', - 'method_account.sendChangePhoneCode' => 'Change the phone number', - 'method_account.sendChangePhoneCode_param_allow_flashcall_type_true' => 'Can the code be sent using a flash call instead of an SMS?', + 'method_account.sendChangePhoneCode' => 'Change The phone number', + 'method_account.sendChangePhoneCode_param_allow_flashcall_type_true' => 'Can The code be sent using a flash call instead of an SMS?', 'method_account.sendChangePhoneCode_param_phone_number_type_string' => 'New phone number', 'method_account.sendChangePhoneCode_param_current_number_type_Bool' => 'Current phone number', - 'method_account.changePhone' => 'Change the phone number associated to this account', + 'method_account.changePhone' => 'Change The phone number associated to this account', 'method_account.changePhone_param_phone_number_type_string' => 'Phone number', 'method_account.changePhone_param_phone_code_hash_type_string' => 'Phone code hash returned by account.sendChangePhoneCode', 'method_account.changePhone_param_phone_code_type_string' => 'The phone code sent by account.sendChangePhoneCode', @@ -4404,10 +4404,10 @@ class Lang 'method_account.getAuthorizations' => 'Get all logged-in authorizations', 'method_account.resetAuthorization' => 'Delete a certain session', 'method_account.resetAuthorization_param_hash_type_long' => 'The session hash, obtained from $MadelineProto->account->getAuthorizations', - 'method_account.getPassword' => 'Get the current password', - 'method_account.getPasswordSettings' => 'Get the current 2FA settings', + 'method_account.getPassword' => 'Get The current password', + 'method_account.getPasswordSettings' => 'Get The current 2FA settings', 'method_account.getPasswordSettings_param_current_password_hash_type_bytes' => 'Use only if you have set a 2FA password: `$current_salt = $MadelineProto->account->getPassword()[\'current_salt\']; $current_password_hash = hash(\'sha256\', $current_salt.$password.$current_salt, true);`', - 'method_account.updatePasswordSettings' => 'Update the 2FA password settings', + 'method_account.updatePasswordSettings' => 'Update The 2FA password settings', 'method_account.updatePasswordSettings_param_current_password_hash_type_bytes' => 'Use only if you have set a 2FA password: `$current_salt = $MadelineProto->account->getPassword()[\'current_salt\']; $current_password_hash = hash(\'sha256\', $current_salt.$password.$current_salt, true);`', 'method_account.updatePasswordSettings_param_new_settings_type_account.PasswordInputSettings' => 'New 2FA settings', 'method_account.sendConfirmPhoneCode' => 'Send confirmation phone code', @@ -4425,12 +4425,12 @@ class Lang 'method_account.resetWebAuthorization_param_hash_type_long' => 'The authorization\'s hash', 'method_account.resetWebAuthorizations' => 'Reset all telegram web login authorizations', 'method_users.getUsers' => 'Get info about users', - 'method_users.getUsers_param_id_type_Vector t' => 'The ids of the users', + 'method_users.getUsers_param_id_type_Vector t' => 'The ids of The users', 'method_users.getFullUser' => 'You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)', 'method_users.getFullUser_param_id_type_InputUser' => 'You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)', 'method_contacts.getStatuses' => 'Get online status of all users', 'method_contacts.getContacts' => 'Get info about a certain contact', - 'method_contacts.getContacts_param_hash_type_int' => '$ids is the list ids of previously fetched contacts, `$hash = $MadelineProto->gen_vector_hash($ids);`', + 'method_contacts.getContacts_param_hash_type_int' => '$ids is The list ids of previously fetched contacts, `$hash = $MadelineProto->gen_vector_hash($ids);`', 'method_contacts.importContacts' => 'Add phone number as contact', 'method_contacts.importContacts_param_contacts_type_Vector t' => 'The numbers to import', 'method_contacts.deleteContact' => 'Delete a contact', @@ -4442,7 +4442,7 @@ class Lang 'method_contacts.unblock' => 'Unblock a user', 'method_contacts.unblock_param_id_type_InputUser' => 'The user to unblock', 'method_contacts.getBlocked' => 'Get blocked users', - 'method_contacts.getBlocked_param_offset_type_int' => 'Initially 0, then set to the number of blocked contacts previously fetched', + 'method_contacts.getBlocked_param_offset_type_int' => 'Initially 0, Then set to The number of blocked contacts previously fetched', 'method_contacts.getBlocked_param_limit_type_int' => 'How many blocked contacts to fetch', 'method_contacts.exportCard' => 'Export contact as card', 'method_contacts.importCard' => 'Import card as contact', @@ -4459,7 +4459,7 @@ class Lang '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_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' => '$MadelineProto->gen_vector_hash(previously fetched peer ids);', 'method_contacts.resetTopPeerRating' => 'Reset top peer rating for a certain category/peer', @@ -4477,7 +4477,7 @@ class Lang 'method_messages.getHistory' => 'Get previous messages of a group', 'method_messages.getHistory_param_peer_type_InputPeer' => 'The chat', 'method_messages.getHistory_param_offset_id_type_int' => 'The last fetched message ID, initially 0', - 'method_messages.getHistory_param_offset_date_type_int' => 'The date of the last previously fetched message, initially 0', + 'method_messages.getHistory_param_offset_date_type_int' => 'The date of The last previously fetched message, initially 0', 'method_messages.getHistory_param_add_offset_type_int' => 'Additional offset, can be 0', 'method_messages.getHistory_param_limit_type_int' => 'Number of messages to fetch', 'method_messages.getHistory_param_max_id_type_int' => 'Maximum message ID to fetch', @@ -4503,7 +4503,7 @@ class Lang 'method_messages.deleteHistory_param_peer_type_InputPeer' => 'Where to clear it', 'method_messages.deleteHistory_param_max_id_type_int' => 'Maximum message id of messages to delete', 'method_messages.deleteMessages' => 'Delete messages', - 'method_messages.deleteMessages_param_revoke_type_true' => 'Delete the messages for everyone?', + 'method_messages.deleteMessages_param_revoke_type_true' => 'Delete The messages for everyone?', 'method_messages.deleteMessages_param_id_type_Vector t' => 'IDs of messages to delete, use channels->deleteMessages for supergroups', 'method_messages.receivedMessages' => 'Mark messages as read', 'method_messages.receivedMessages_param_max_id_type_int' => 'Maximum message id of messages to mark as read', @@ -4514,7 +4514,7 @@ class Lang 'method_messages.sendMessage_param_no_webpage_type_true' => 'Disable webpage preview?', 'method_messages.sendMessage_param_silent_type_true' => 'Disable notifications?', 'method_messages.sendMessage_param_background_type_true' => 'Disable background notifications?', - 'method_messages.sendMessage_param_clear_draft_type_true' => 'Clear the message draft of this chat?', + 'method_messages.sendMessage_param_clear_draft_type_true' => 'Clear The message draft of this chat?', 'method_messages.sendMessage_param_peer_type_InputPeer' => 'The chat where to send this message', 'method_messages.sendMessage_param_reply_to_msg_id_type_int' => 'Reply to message by ID', 'method_messages.sendMessage_param_message_type_string' => 'The message to send', @@ -4523,8 +4523,8 @@ class Lang 'method_messages.sendMedia' => 'Send a media', 'method_messages.sendMedia_param_silent_type_true' => 'Disable notifications?', 'method_messages.sendMedia_param_background_type_true' => 'Disable background notifications?', - 'method_messages.sendMedia_param_clear_draft_type_true' => 'Clear the message draft of this chat?', - 'method_messages.sendMedia_param_peer_type_InputPeer' => 'Where to send the media', + 'method_messages.sendMedia_param_clear_draft_type_true' => 'Clear The message draft of this chat?', + 'method_messages.sendMedia_param_peer_type_InputPeer' => 'Where to send The media', 'method_messages.sendMedia_param_reply_to_msg_id_type_int' => 'Reply to message by ID', 'method_messages.sendMedia_param_media_type_InputMedia' => 'The media to send', 'method_messages.sendMedia_param_message_type_string' => 'The caption', @@ -4535,34 +4535,34 @@ class Lang 'method_messages.forwardMessages_param_background_type_true' => 'Disable background notifications', 'method_messages.forwardMessages_param_with_my_score_type_true' => 'If forwarding a game, forward your score, too', 'method_messages.forwardMessages_param_grouped_type_true' => 'Set to true if forwarding albums', - 'method_messages.forwardMessages_param_from_peer_type_InputPeer' => 'From where to forward the messages', + 'method_messages.forwardMessages_param_from_peer_type_InputPeer' => 'From where to forward The messages', 'method_messages.forwardMessages_param_id_type_Vector t' => 'The message IDs', - 'method_messages.forwardMessages_param_to_peer_type_InputPeer' => 'Where to forward the messages', + 'method_messages.forwardMessages_param_to_peer_type_InputPeer' => 'Where to forward The messages', 'method_messages.reportSpam' => 'Report a peer for spam', 'method_messages.reportSpam_param_peer_type_InputPeer' => 'The peer to report', 'method_messages.hideReportSpam' => 'Hide report spam popup', - 'method_messages.hideReportSpam_param_peer_type_InputPeer' => 'Where to hide the popup', - 'method_messages.getPeerSettings' => 'Get the settings of apeer', + 'method_messages.hideReportSpam_param_peer_type_InputPeer' => 'Where to hide The popup', + 'method_messages.getPeerSettings' => 'Get The settings of apeer', 'method_messages.getPeerSettings_param_peer_type_InputPeer' => 'The peer', 'method_messages.getChats' => 'Get info about chats', 'method_messages.getChats_param_id_type_Vector t' => 'The MTProto IDs of chats to fetch info about', 'method_messages.getFullChat' => 'You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)', 'method_messages.getFullChat_param_chat_id_type_InputPeer' => 'You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)', - 'method_messages.editChatTitle' => 'Edit the title of a normal chat (not supergroup)', - 'method_messages.editChatTitle_param_chat_id_type_InputPeer' => 'The MTProto ID of the chat', + 'method_messages.editChatTitle' => 'Edit The title of a normal chat (not supergroup)', + 'method_messages.editChatTitle_param_chat_id_type_InputPeer' => 'The ID of The chat', 'method_messages.editChatTitle_param_title_type_string' => 'The new title', - 'method_messages.editChatPhoto' => 'Edit the photo of a normal chat (not supergroup)', - 'method_messages.editChatPhoto_param_chat_id_type_InputPeer' => 'The MTProto ID of the chat', + 'method_messages.editChatPhoto' => 'Edit The photo of a normal chat (not supergroup)', + 'method_messages.editChatPhoto_param_chat_id_type_InputPeer' => 'The ID of The chat', 'method_messages.editChatPhoto_param_photo_type_InputChatPhoto' => 'The new phto', 'method_messages.addChatUser' => 'Add a user to a normal chat (use channels->inviteToChannel for supergroups)', 'method_messages.addChatUser_param_chat_id_type_InputPeer' => 'The chat where to invite users', 'method_messages.addChatUser_param_user_id_type_InputUser' => 'The user to invite', - 'method_messages.addChatUser_param_fwd_limit_type_int' => 'Number of old messages the user will see', + 'method_messages.addChatUser_param_fwd_limit_type_int' => 'Number of old messages The user will see', 'method_messages.deleteChatUser' => 'Delete a user from a chat (not supergroup)', - 'method_messages.deleteChatUser_param_chat_id_type_InputPeer' => 'The MTProto ID of the chat', - 'method_messages.deleteChatUser_param_user_id_type_InputUser' => 'The user to delete (pass @me to leave the chat)', + 'method_messages.deleteChatUser_param_chat_id_type_InputPeer' => 'The ID of The chat', + 'method_messages.deleteChatUser_param_user_id_type_InputUser' => 'The user to delete (pass @me to leave The chat)', 'method_messages.createChat' => 'Create a chat (not supergroup)', - 'method_messages.createChat_param_users_type_Vector t' => 'The users to add to the chat', + 'method_messages.createChat_param_users_type_Vector t' => 'The users to add to The chat', 'method_messages.createChat_param_title_type_string' => 'The new chat\'s title', 'method_messages.getDhConfig' => 'You cannot use this method directly, instead use $MadelineProto->get_dh_config();', 'method_messages.getDhConfig_param_version_type_int' => 'You cannot use this method directly, instead use $MadelineProto->get_dh_config();', @@ -4577,246 +4577,246 @@ class Lang 'method_messages.discardEncryption' => 'You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats', 'method_messages.discardEncryption_param_chat_id_type_int' => 'You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats', 'method_messages.setEncryptedTyping' => 'Send typing notification to secret chat', - 'method_messages.setEncryptedTyping_param_peer_type_InputEncryptedChat' => '', - 'method_messages.setEncryptedTyping_param_typing_type_Bool' => '', - 'method_messages.readEncryptedHistory' => '', - 'method_messages.readEncryptedHistory_param_peer_type_InputEncryptedChat' => '', - 'method_messages.readEncryptedHistory_param_max_date_type_int' => '', - 'method_messages.sendEncrypted' => '', - 'method_messages.sendEncrypted_param_peer_type_InputEncryptedChat' => '', - 'method_messages.sendEncrypted_param_message_type_DecryptedMessage' => '', - 'method_messages.sendEncryptedFile' => '', - 'method_messages.sendEncryptedFile_param_peer_type_InputEncryptedChat' => '', - 'method_messages.sendEncryptedFile_param_message_type_DecryptedMessage' => '', - 'method_messages.sendEncryptedFile_param_file_type_InputEncryptedFile' => '', - 'method_messages.sendEncryptedService' => '', - 'method_messages.sendEncryptedService_param_peer_type_InputEncryptedChat' => '', - 'method_messages.sendEncryptedService_param_message_type_DecryptedMessage' => '', - 'method_messages.receivedQueue' => '', - 'method_messages.receivedQueue_param_max_qts_type_int' => '', - 'method_messages.reportEncryptedSpam' => '', - 'method_messages.reportEncryptedSpam_param_peer_type_InputEncryptedChat' => '', - 'method_messages.readMessageContents' => '', - 'method_messages.readMessageContents_param_id_type_Vector t' => '', - 'method_messages.getStickers' => '', - 'method_messages.getStickers_param_emoticon_type_string' => '', - 'method_messages.getStickers_param_hash_type_string' => '', - 'method_messages.getAllStickers' => '', - 'method_messages.getAllStickers_param_hash_type_int' => '', - 'method_messages.getWebPagePreview' => '', - 'method_messages.getWebPagePreview_param_message_type_string' => '', - 'method_messages.getWebPagePreview_param_entities_type_Vector t' => '', - 'method_messages.exportChatInvite' => '', - 'method_messages.exportChatInvite_param_chat_id_type_InputPeer' => '', - 'method_messages.checkChatInvite' => '', - 'method_messages.checkChatInvite_param_hash_type_string' => '', - 'method_messages.importChatInvite' => '', - 'method_messages.importChatInvite_param_hash_type_string' => '', - 'method_messages.getStickerSet' => '', - 'method_messages.getStickerSet_param_stickerset_type_InputStickerSet' => '', - 'method_messages.installStickerSet' => '', - 'method_messages.installStickerSet_param_stickerset_type_InputStickerSet' => '', - 'method_messages.installStickerSet_param_archived_type_Bool' => '', - 'method_messages.uninstallStickerSet' => '', - 'method_messages.uninstallStickerSet_param_stickerset_type_InputStickerSet' => '', - 'method_messages.startBot' => '', - 'method_messages.startBot_param_bot_type_InputUser' => '', - 'method_messages.startBot_param_peer_type_InputPeer' => '', - 'method_messages.startBot_param_start_param_type_string' => '', - 'method_messages.getMessagesViews' => '', - 'method_messages.getMessagesViews_param_peer_type_InputPeer' => '', - 'method_messages.getMessagesViews_param_id_type_Vector t' => '', - 'method_messages.getMessagesViews_param_increment_type_Bool' => '', - 'method_messages.toggleChatAdmins' => '', - 'method_messages.toggleChatAdmins_param_chat_id_type_InputPeer' => '', - 'method_messages.toggleChatAdmins_param_enabled_type_Bool' => '', - 'method_messages.editChatAdmin' => '', - 'method_messages.editChatAdmin_param_chat_id_type_InputPeer' => '', - 'method_messages.editChatAdmin_param_user_id_type_InputUser' => '', - 'method_messages.editChatAdmin_param_is_admin_type_Bool' => '', - 'method_messages.migrateChat' => '', - 'method_messages.migrateChat_param_chat_id_type_InputPeer' => '', - 'method_messages.searchGlobal' => '', - 'method_messages.searchGlobal_param_q_type_string' => '', - 'method_messages.searchGlobal_param_offset_date_type_int' => '', - 'method_messages.searchGlobal_param_offset_peer_type_InputPeer' => '', - 'method_messages.searchGlobal_param_offset_id_type_int' => '', - 'method_messages.searchGlobal_param_limit_type_int' => '', - 'method_messages.reorderStickerSets' => '', - 'method_messages.reorderStickerSets_param_masks_type_true' => '', - 'method_messages.reorderStickerSets_param_order_type_Vector t' => '', - 'method_messages.getDocumentByHash' => '', - 'method_messages.getDocumentByHash_param_sha256_type_bytes' => '', - 'method_messages.getDocumentByHash_param_size_type_int' => '', - 'method_messages.getDocumentByHash_param_mime_type_type_string' => '', - 'method_messages.searchGifs' => '', - 'method_messages.searchGifs_param_q_type_string' => '', - 'method_messages.searchGifs_param_offset_type_int' => '', - 'method_messages.getSavedGifs' => '', - 'method_messages.getSavedGifs_param_hash_type_int' => '', - 'method_messages.saveGif' => '', - 'method_messages.saveGif_param_id_type_InputDocument' => '', - 'method_messages.saveGif_param_unsave_type_Bool' => '', - 'method_messages.getInlineBotResults' => '', - 'method_messages.getInlineBotResults_param_bot_type_InputUser' => '', - 'method_messages.getInlineBotResults_param_peer_type_InputPeer' => '', - 'method_messages.getInlineBotResults_param_geo_point_type_InputGeoPoint' => '', - 'method_messages.getInlineBotResults_param_query_type_string' => '', - 'method_messages.getInlineBotResults_param_offset_type_string' => '', - 'method_messages.setInlineBotResults' => '', - 'method_messages.setInlineBotResults_param_gallery_type_true' => '', - 'method_messages.setInlineBotResults_param_private_type_true' => '', - 'method_messages.setInlineBotResults_param_query_id_type_long' => '', - 'method_messages.setInlineBotResults_param_results_type_Vector t' => '', - 'method_messages.setInlineBotResults_param_cache_time_type_int' => '', - 'method_messages.setInlineBotResults_param_next_offset_type_string' => '', - 'method_messages.setInlineBotResults_param_switch_pm_type_InlineBotSwitchPM' => '', - 'method_messages.sendInlineBotResult' => '', - 'method_messages.sendInlineBotResult_param_silent_type_true' => '', - 'method_messages.sendInlineBotResult_param_background_type_true' => '', - 'method_messages.sendInlineBotResult_param_clear_draft_type_true' => '', - 'method_messages.sendInlineBotResult_param_peer_type_InputPeer' => '', - 'method_messages.sendInlineBotResult_param_reply_to_msg_id_type_int' => '', - 'method_messages.sendInlineBotResult_param_query_id_type_long' => '', - 'method_messages.sendInlineBotResult_param_id_type_string' => '', - 'method_messages.getMessageEditData' => '', - 'method_messages.getMessageEditData_param_peer_type_InputPeer' => '', - 'method_messages.getMessageEditData_param_id_type_int' => '', - 'method_messages.editMessage' => '', - 'method_messages.editMessage_param_no_webpage_type_true' => '', - 'method_messages.editMessage_param_stop_geo_live_type_true' => '', - 'method_messages.editMessage_param_peer_type_InputPeer' => '', - 'method_messages.editMessage_param_id_type_int' => '', - 'method_messages.editMessage_param_message_type_string' => '', - 'method_messages.editMessage_param_reply_markup_type_ReplyMarkup' => '', - 'method_messages.editMessage_param_entities_type_Vector t' => '', - 'method_messages.editMessage_param_geo_point_type_InputGeoPoint' => '', - 'method_messages.editInlineBotMessage' => '', - 'method_messages.editInlineBotMessage_param_no_webpage_type_true' => '', - 'method_messages.editInlineBotMessage_param_stop_geo_live_type_true' => '', - 'method_messages.editInlineBotMessage_param_id_type_InputBotInlineMessageID' => '', - 'method_messages.editInlineBotMessage_param_message_type_string' => '', - 'method_messages.editInlineBotMessage_param_reply_markup_type_ReplyMarkup' => '', - 'method_messages.editInlineBotMessage_param_entities_type_Vector t' => '', - 'method_messages.editInlineBotMessage_param_geo_point_type_InputGeoPoint' => '', - 'method_messages.getBotCallbackAnswer' => '', - 'method_messages.getBotCallbackAnswer_param_game_type_true' => '', - 'method_messages.getBotCallbackAnswer_param_peer_type_InputPeer' => '', - 'method_messages.getBotCallbackAnswer_param_msg_id_type_int' => '', - 'method_messages.getBotCallbackAnswer_param_data_type_bytes' => '', - 'method_messages.setBotCallbackAnswer' => '', - 'method_messages.setBotCallbackAnswer_param_alert_type_true' => '', - 'method_messages.setBotCallbackAnswer_param_query_id_type_long' => '', - 'method_messages.setBotCallbackAnswer_param_message_type_string' => '', - 'method_messages.setBotCallbackAnswer_param_url_type_string' => '', - 'method_messages.setBotCallbackAnswer_param_cache_time_type_int' => '', - 'method_messages.getPeerDialogs' => '', - 'method_messages.getPeerDialogs_param_peers_type_Vector t' => '', - 'method_messages.saveDraft' => '', - 'method_messages.saveDraft_param_no_webpage_type_true' => '', - 'method_messages.saveDraft_param_reply_to_msg_id_type_int' => '', - 'method_messages.saveDraft_param_peer_type_InputPeer' => '', - 'method_messages.saveDraft_param_message_type_string' => '', - 'method_messages.saveDraft_param_entities_type_Vector t' => '', - 'method_messages.getAllDrafts' => '', - 'method_messages.getFeaturedStickers' => '', - 'method_messages.getFeaturedStickers_param_hash_type_int' => '', - 'method_messages.readFeaturedStickers' => '', - 'method_messages.readFeaturedStickers_param_id_type_Vector t' => '', - 'method_messages.getRecentStickers' => '', - 'method_messages.getRecentStickers_param_attached_type_true' => '', - 'method_messages.getRecentStickers_param_hash_type_int' => '', - 'method_messages.saveRecentSticker' => '', - 'method_messages.saveRecentSticker_param_attached_type_true' => '', - 'method_messages.saveRecentSticker_param_id_type_InputDocument' => '', - 'method_messages.saveRecentSticker_param_unsave_type_Bool' => '', - 'method_messages.clearRecentStickers' => '', - 'method_messages.clearRecentStickers_param_attached_type_true' => '', - 'method_messages.getArchivedStickers' => '', - 'method_messages.getArchivedStickers_param_masks_type_true' => '', - 'method_messages.getArchivedStickers_param_offset_id_type_long' => '', - 'method_messages.getArchivedStickers_param_limit_type_int' => '', - 'method_messages.getMaskStickers' => '', - 'method_messages.getMaskStickers_param_hash_type_int' => '', - 'method_messages.getAttachedStickers' => '', - 'method_messages.getAttachedStickers_param_media_type_InputStickeredMedia' => '', - 'method_messages.setGameScore' => '', - 'method_messages.setGameScore_param_edit_message_type_true' => '', - 'method_messages.setGameScore_param_force_type_true' => '', - 'method_messages.setGameScore_param_peer_type_InputPeer' => '', - 'method_messages.setGameScore_param_id_type_int' => '', - 'method_messages.setGameScore_param_user_id_type_InputUser' => '', - 'method_messages.setGameScore_param_score_type_int' => '', - 'method_messages.setInlineGameScore' => '', - 'method_messages.setInlineGameScore_param_edit_message_type_true' => '', - 'method_messages.setInlineGameScore_param_force_type_true' => '', - 'method_messages.setInlineGameScore_param_id_type_InputBotInlineMessageID' => '', - 'method_messages.setInlineGameScore_param_user_id_type_InputUser' => '', - 'method_messages.setInlineGameScore_param_score_type_int' => '', - 'method_messages.getGameHighScores' => '', - 'method_messages.getGameHighScores_param_peer_type_InputPeer' => '', - 'method_messages.getGameHighScores_param_id_type_int' => '', - 'method_messages.getGameHighScores_param_user_id_type_InputUser' => '', - 'method_messages.getInlineGameHighScores' => '', - 'method_messages.getInlineGameHighScores_param_id_type_InputBotInlineMessageID' => '', - 'method_messages.getInlineGameHighScores_param_user_id_type_InputUser' => '', - 'method_messages.getCommonChats' => '', - 'method_messages.getCommonChats_param_user_id_type_InputUser' => '', - 'method_messages.getCommonChats_param_max_id_type_int' => '', - 'method_messages.getCommonChats_param_limit_type_int' => '', - 'method_messages.getAllChats' => '', - 'method_messages.getAllChats_param_except_ids_type_Vector t' => '', - 'method_messages.getWebPage' => '', - 'method_messages.getWebPage_param_url_type_string' => '', - 'method_messages.getWebPage_param_hash_type_int' => '', - 'method_messages.toggleDialogPin' => '', - 'method_messages.toggleDialogPin_param_pinned_type_true' => '', - 'method_messages.toggleDialogPin_param_peer_type_InputPeer' => '', - 'method_messages.reorderPinnedDialogs' => '', - 'method_messages.reorderPinnedDialogs_param_force_type_true' => '', - 'method_messages.reorderPinnedDialogs_param_order_type_Vector t' => '', - 'method_messages.getPinnedDialogs' => '', - 'method_messages.setBotShippingResults' => '', - 'method_messages.setBotShippingResults_param_query_id_type_long' => '', - 'method_messages.setBotShippingResults_param_error_type_string' => '', - 'method_messages.setBotShippingResults_param_shipping_options_type_Vector t' => '', - 'method_messages.setBotPrecheckoutResults' => '', - 'method_messages.setBotPrecheckoutResults_param_success_type_true' => '', - 'method_messages.setBotPrecheckoutResults_param_query_id_type_long' => '', - 'method_messages.setBotPrecheckoutResults_param_error_type_string' => '', - 'method_messages.uploadMedia' => '', - 'method_messages.uploadMedia_param_peer_type_InputPeer' => '', - 'method_messages.uploadMedia_param_media_type_InputMedia' => '', - 'method_messages.sendScreenshotNotification' => '', - 'method_messages.sendScreenshotNotification_param_peer_type_InputPeer' => '', - 'method_messages.sendScreenshotNotification_param_reply_to_msg_id_type_int' => '', - 'method_messages.getFavedStickers' => '', - 'method_messages.getFavedStickers_param_hash_type_int' => '', - 'method_messages.faveSticker' => '', - 'method_messages.faveSticker_param_id_type_InputDocument' => '', - 'method_messages.faveSticker_param_unfave_type_Bool' => '', - 'method_messages.getUnreadMentions' => '', - 'method_messages.getUnreadMentions_param_peer_type_InputPeer' => '', - 'method_messages.getUnreadMentions_param_offset_id_type_int' => '', - 'method_messages.getUnreadMentions_param_add_offset_type_int' => '', - 'method_messages.getUnreadMentions_param_limit_type_int' => '', - 'method_messages.getUnreadMentions_param_max_id_type_int' => '', - 'method_messages.getUnreadMentions_param_min_id_type_int' => '', - 'method_messages.readMentions' => '', - 'method_messages.readMentions_param_peer_type_InputPeer' => '', - 'method_messages.getRecentLocations' => '', - 'method_messages.getRecentLocations_param_peer_type_InputPeer' => '', - 'method_messages.getRecentLocations_param_limit_type_int' => '', - 'method_messages.sendMultiMedia' => '', - 'method_messages.sendMultiMedia_param_silent_type_true' => '', - 'method_messages.sendMultiMedia_param_background_type_true' => '', - 'method_messages.sendMultiMedia_param_clear_draft_type_true' => '', - 'method_messages.sendMultiMedia_param_peer_type_InputPeer' => '', - 'method_messages.sendMultiMedia_param_reply_to_msg_id_type_int' => '', - 'method_messages.sendMultiMedia_param_multi_media_type_Vector t' => '', - 'method_messages.uploadEncryptedFile' => '', - 'method_messages.uploadEncryptedFile_param_peer_type_InputEncryptedChat' => '', - 'method_messages.uploadEncryptedFile_param_file_type_InputEncryptedFile' => '', + 'method_messages.setEncryptedTyping_param_peer_type_InputEncryptedChat' => 'The secret chat where to send The notification', + 'method_messages.setEncryptedTyping_param_typing_type_Bool' => 'Set to true to enable The notification, false to disable it', + 'method_messages.readEncryptedHistory' => 'Mark messages as read in secret chats', + 'method_messages.readEncryptedHistory_param_peer_type_InputEncryptedChat' => 'The secret chat where to mark messages as read', + 'method_messages.readEncryptedHistory_param_max_date_type_int' => 'Maximum date of messages to mark', + 'method_messages.sendEncrypted' => 'Send message to secret chat', + 'method_messages.sendEncrypted_param_peer_type_InputEncryptedChat' => 'The chat where to send The message', + 'method_messages.sendEncrypted_param_message_type_DecryptedMessage' => 'The message to send', + 'method_messages.sendEncryptedFile' => 'Send a file to a secret chat', + 'method_messages.sendEncryptedFile_param_peer_type_InputEncryptedChat' => 'The chat where to send The file', + 'method_messages.sendEncryptedFile_param_message_type_DecryptedMessage' => 'The message with The file', + 'method_messages.sendEncryptedFile_param_file_type_InputEncryptedFile' => 'The file (optional)', + 'method_messages.sendEncryptedService' => 'Send a service message to a secret chat', + 'method_messages.sendEncryptedService_param_peer_type_InputEncryptedChat' => 'The chat where to send The service message', + 'method_messages.sendEncryptedService_param_message_type_DecryptedMessage' => 'The service message', + 'method_messages.receivedQueue' => 'You cannot use this method directly', + 'method_messages.receivedQueue_param_max_qts_type_int' => 'You cannot use this method directly', + 'method_messages.reportEncryptedSpam' => 'Report for spam a secret chat', + 'method_messages.reportEncryptedSpam_param_peer_type_InputEncryptedChat' => 'The chat to report', + 'method_messages.readMessageContents' => 'Mark message as read', + 'method_messages.readMessageContents_param_id_type_Vector t' => 'The messages to mark as read (only users and normal chats, not supergroups)', + 'method_messages.getStickers' => 'Get stickers', + 'method_messages.getStickers_param_emoticon_type_string' => 'Search by emoji', + 'method_messages.getStickers_param_hash_type_string' => '0 or $MadelineProto->gen_vector_hash(previously fetched sticker IDs)', + 'method_messages.getAllStickers' => 'Get all stickerpacks', + 'method_messages.getAllStickers_param_hash_type_int' => '0 or $result[\'hash\']', + 'method_messages.getWebPagePreview' => 'Get webpage preview', + 'method_messages.getWebPagePreview_param_message_type_string' => 'Extract preview from this message', + 'method_messages.getWebPagePreview_param_entities_type_Vector t' => 'Entities for styled text', + 'method_messages.exportChatInvite' => 'Export chat invite ', + 'method_messages.exportChatInvite_param_chat_id_type_InputPeer' => 'The chat id ', + 'method_messages.checkChatInvite' => 'Check if an invitation link is valid', + 'method_messages.checkChatInvite_param_hash_type_string' => 'The invite link in t.me/joinchat/aflakf format', + 'method_messages.importChatInvite' => 'Import chat invite', + 'method_messages.importChatInvite_param_hash_type_string' => 'The invite link in t.me/joinchat/aflakf format', + 'method_messages.getStickerSet' => 'Get a stickerset', + 'method_messages.getStickerSet_param_stickerset_type_InputStickerSet' => 'The stickerset to get', + 'method_messages.installStickerSet' => 'Add a sticker set', + 'method_messages.installStickerSet_param_stickerset_type_InputStickerSet' => 'The sticker set to add', + 'method_messages.installStickerSet_param_archived_type_Bool' => 'Archive this set?', + 'method_messages.uninstallStickerSet' => 'Remove a sticker set', + 'method_messages.uninstallStickerSet_param_stickerset_type_InputStickerSet' => 'The sticker set to remove', + 'method_messages.startBot' => 'Start a bot', + 'method_messages.startBot_param_bot_type_InputUser' => 'The bot\'s ID or username', + 'method_messages.startBot_param_peer_type_InputPeer' => 'Where to start The bot (@me or group ID/username)', + 'method_messages.startBot_param_start_param_type_string' => 'The bot\'s start parameter', + 'method_messages.getMessagesViews' => 'Get and increase message views', + 'method_messages.getMessagesViews_param_peer_type_InputPeer' => 'The chat where The message is located', + 'method_messages.getMessagesViews_param_id_type_Vector t' => 'The IDs messages to get', + 'method_messages.getMessagesViews_param_increment_type_Bool' => 'Increase message views?', + 'method_messages.toggleChatAdmins' => 'Enable all users are admins in normal groups (not supergroups)', + 'method_messages.toggleChatAdmins_param_chat_id_type_InputPeer' => 'Group ID', + 'method_messages.toggleChatAdmins_param_enabled_type_Bool' => 'Enable all users are admins', + 'method_messages.editChatAdmin' => 'Edit admin permissions', + 'method_messages.editChatAdmin_param_chat_id_type_InputPeer' => 'The chat ID (no supergroups)', + 'method_messages.editChatAdmin_param_user_id_type_InputUser' => 'The user ID', + 'method_messages.editChatAdmin_param_is_admin_type_Bool' => 'Should The user be admin?', + 'method_messages.migrateChat' => 'Convert chat to supergroup', + 'method_messages.migrateChat_param_chat_id_type_InputPeer' => 'The chat to convert', + 'method_messages.searchGlobal' => 'Global message search', + 'method_messages.searchGlobal_param_q_type_string' => 'The query', + 'method_messages.searchGlobal_param_offset_date_type_int' => '0 or The date offset', + 'method_messages.searchGlobal_param_offset_peer_type_InputPeer' => '0 or The peer offset', + 'method_messages.searchGlobal_param_offset_id_type_int' => '0 or The message ID offset', + 'method_messages.searchGlobal_param_limit_type_int' => 'The number of results to return', + 'method_messages.reorderStickerSets' => 'Reorder sticker sets', + 'method_messages.reorderStickerSets_param_masks_type_true' => 'Reorder masks?', + 'method_messages.reorderStickerSets_param_order_type_Vector t' => 'The order', + 'method_messages.getDocumentByHash' => 'Get document by SHA256 hash', + 'method_messages.getDocumentByHash_param_sha256_type_bytes' => '`hash(\'sha256\', $filename, true);`', + 'method_messages.getDocumentByHash_param_size_type_int' => 'The file size', + 'method_messages.getDocumentByHash_param_mime_type_type_string' => 'The mime type of The file', + 'method_messages.searchGifs' => 'Search gifs', + 'method_messages.searchGifs_param_q_type_string' => 'The search query', + 'method_messages.searchGifs_param_offset_type_int' => 'The offset ', + 'method_messages.getSavedGifs' => 'Get saved gifs', + 'method_messages.getSavedGifs_param_hash_type_int' => '0 or $result[\'hash\']', + 'method_messages.saveGif' => 'Save a GIF', + 'method_messages.saveGif_param_id_type_InputDocument' => 'The GIF to save', + 'method_messages.saveGif_param_unsave_type_Bool' => 'Remove The gif?', + 'method_messages.getInlineBotResults' => 'Call inline bot', + 'method_messages.getInlineBotResults_param_bot_type_InputUser' => 'The bot to call', + 'method_messages.getInlineBotResults_param_peer_type_InputPeer' => 'The chat where to call The bot', + 'method_messages.getInlineBotResults_param_geo_point_type_InputGeoPoint' => 'The current location', + 'method_messages.getInlineBotResults_param_query_type_string' => 'The query to send to The bot', + 'method_messages.getInlineBotResults_param_offset_type_string' => 'The offset to send to The bot', + 'method_messages.setInlineBotResults' => 'Bots only: set The results of an inline query', + 'method_messages.setInlineBotResults_param_gallery_type_true' => 'Is this a gallery?', + 'method_messages.setInlineBotResults_param_private_type_true' => 'Is this result private (not cached)?', + 'method_messages.setInlineBotResults_param_query_id_type_long' => 'Query ID', + 'method_messages.setInlineBotResults_param_results_type_Vector t' => 'Results', + 'method_messages.setInlineBotResults_param_cache_time_type_int' => 'Cache time', + 'method_messages.setInlineBotResults_param_next_offset_type_string' => 'The next offset', + 'method_messages.setInlineBotResults_param_switch_pm_type_InlineBotSwitchPM' => 'Switch to PM?', + 'method_messages.sendInlineBotResult' => 'Send a received bot result to The chat', + 'method_messages.sendInlineBotResult_param_silent_type_true' => 'Disable notifications?', + 'method_messages.sendInlineBotResult_param_background_type_true' => 'Disable background notifications?', + 'method_messages.sendInlineBotResult_param_clear_draft_type_true' => 'Clear The message draft?', + 'method_messages.sendInlineBotResult_param_peer_type_InputPeer' => 'Where to send The message', + 'method_messages.sendInlineBotResult_param_reply_to_msg_id_type_int' => 'Reply to message by ID', + 'method_messages.sendInlineBotResult_param_query_id_type_long' => 'The inline query ID', + 'method_messages.sendInlineBotResult_param_id_type_string' => 'The result ID', + 'method_messages.getMessageEditData' => 'Check if about to edit a message or a media caption', + 'method_messages.getMessageEditData_param_peer_type_InputPeer' => 'The chat', + 'method_messages.getMessageEditData_param_id_type_int' => 'The message ID', + 'method_messages.editMessage' => 'Edit a message', + 'method_messages.editMessage_param_no_webpage_type_true' => 'Disable webpage preview', + 'method_messages.editMessage_param_stop_geo_live_type_true' => 'Stop live location', + 'method_messages.editMessage_param_peer_type_InputPeer' => 'The chat', + 'method_messages.editMessage_param_id_type_int' => 'The message ID', + 'method_messages.editMessage_param_message_type_string' => 'The new message', + 'method_messages.editMessage_param_reply_markup_type_ReplyMarkup' => 'The new keyboard', + 'method_messages.editMessage_param_entities_type_Vector t' => 'The new entities (for styled text)', + 'method_messages.editMessage_param_geo_point_type_InputGeoPoint' => 'The new location', + 'method_messages.editInlineBotMessage' => 'Edit a sent inline message', + 'method_messages.editInlineBotMessage_param_no_webpage_type_true' => 'Disable webpage preview', + 'method_messages.editInlineBotMessage_param_stop_geo_live_type_true' => 'Stop live location', + 'method_messages.editInlineBotMessage_param_id_type_InputBotInlineMessageID' => 'The message ID', + 'method_messages.editInlineBotMessage_param_message_type_string' => 'The new message', + 'method_messages.editInlineBotMessage_param_reply_markup_type_ReplyMarkup' => 'The new keyboard', + 'method_messages.editInlineBotMessage_param_entities_type_Vector t' => 'The new entities (for styled text)', + 'method_messages.editInlineBotMessage_param_geo_point_type_InputGeoPoint' => 'The new location', + 'method_messages.getBotCallbackAnswer' => 'Get The callback answer of a bot (after clicking a button)', + 'method_messages.getBotCallbackAnswer_param_game_type_true' => 'Is this a game?', + 'method_messages.getBotCallbackAnswer_param_peer_type_InputPeer' => 'The chat', + 'method_messages.getBotCallbackAnswer_param_msg_id_type_int' => 'The message ID', + 'method_messages.getBotCallbackAnswer_param_data_type_bytes' => 'The data to send to The bot', + 'method_messages.setBotCallbackAnswer' => 'Bots only: set The callback answer (after a button was clicked)', + 'method_messages.setBotCallbackAnswer_param_alert_type_true' => 'Is this an alert?', + 'method_messages.setBotCallbackAnswer_param_query_id_type_long' => 'The query ID', + 'method_messages.setBotCallbackAnswer_param_message_type_string' => 'The message', + 'method_messages.setBotCallbackAnswer_param_url_type_string' => 'The URL', + 'method_messages.setBotCallbackAnswer_param_cache_time_type_int' => 'Cache time', + 'method_messages.getPeerDialogs' => 'Get dialog info of peers', + 'method_messages.getPeerDialogs_param_peers_type_Vector t' => 'The peers', + 'method_messages.saveDraft' => 'Save a message draft', + 'method_messages.saveDraft_param_no_webpage_type_true' => 'Disable webpage preview', + 'method_messages.saveDraft_param_reply_to_msg_id_type_int' => 'Reply to message by ID', + 'method_messages.saveDraft_param_peer_type_InputPeer' => 'The chat', + 'method_messages.saveDraft_param_message_type_string' => 'The message', + 'method_messages.saveDraft_param_entities_type_Vector t' => 'The entities (for styled text)', + 'method_messages.getAllDrafts' => 'Get all message drafts', + 'method_messages.getFeaturedStickers' => 'Get featured stickers', + 'method_messages.getFeaturedStickers_param_hash_type_int' => '0 or $result[\'hash\']', + 'method_messages.readFeaturedStickers' => 'Mark new featured stickers as read', + 'method_messages.readFeaturedStickers_param_id_type_Vector t' => 'The stickers to mark as read', + 'method_messages.getRecentStickers' => 'Get recent stickers', + 'method_messages.getRecentStickers_param_attached_type_true' => 'Get stickers attached to image?', + 'method_messages.getRecentStickers_param_hash_type_int' => '0 or $result[\'hash\']', + 'method_messages.saveRecentSticker' => 'Add a sticker to recent stickers', + 'method_messages.saveRecentSticker_param_attached_type_true' => 'Get stickers attached to image?', + 'method_messages.saveRecentSticker_param_id_type_InputDocument' => 'The sticker', + 'method_messages.saveRecentSticker_param_unsave_type_Bool' => 'Remove The sticker from recent stickers?', + 'method_messages.clearRecentStickers' => 'Clear all recent stickers', + 'method_messages.clearRecentStickers_param_attached_type_true' => 'Clear recent stickers attached to images?', + 'method_messages.getArchivedStickers' => 'Get all archived stickers', + 'method_messages.getArchivedStickers_param_masks_type_true' => 'Get masks?', + 'method_messages.getArchivedStickers_param_offset_id_type_long' => 'Sticker ID offset', + 'method_messages.getArchivedStickers_param_limit_type_int' => 'Number of stickers to fetch', + 'method_messages.getMaskStickers' => 'Get masks', + 'method_messages.getMaskStickers_param_hash_type_int' => '0 or $result[\'hash\']', + 'method_messages.getAttachedStickers' => 'Get stickers attachable to images', + 'method_messages.getAttachedStickers_param_media_type_InputStickeredMedia' => 'The stickered media', + 'method_messages.setGameScore' => 'Set the game score', + 'method_messages.setGameScore_param_edit_message_type_true' => 'Should the message with the game be edited?', + 'method_messages.setGameScore_param_force_type_true' => 'Force setting the game score', + 'method_messages.setGameScore_param_peer_type_InputPeer' => 'The chat where the game was sent', + 'method_messages.setGameScore_param_id_type_int' => 'The message ID', + 'method_messages.setGameScore_param_user_id_type_InputUser' => 'The user that set the score', + 'method_messages.setGameScore_param_score_type_int' => 'The score', + 'method_messages.setInlineGameScore' => 'Set the game score of an inline message', + 'method_messages.setInlineGameScore_param_edit_message_type_true' => 'Should the message with the game be edited?', + 'method_messages.setInlineGameScore_param_force_type_true' => 'Force setting the game score', + 'method_messages.setInlineGameScore_param_id_type_InputBotInlineMessageID' => 'The ID of the inline message', + 'method_messages.setInlineGameScore_param_user_id_type_InputUser' => 'The user that set the score', + 'method_messages.setInlineGameScore_param_score_type_int' => 'The score', + 'method_messages.getGameHighScores' => 'Get high scores of a game', + 'method_messages.getGameHighScores_param_peer_type_InputPeer' => 'The chat', + 'method_messages.getGameHighScores_param_id_type_int' => 'The message ID', + 'method_messages.getGameHighScores_param_user_id_type_InputUser' => 'The user that set the high scores', + 'method_messages.getInlineGameHighScores' => 'Get high scores of a game sent in an inline message', + 'method_messages.getInlineGameHighScores_param_id_type_InputBotInlineMessageID' => 'The inline message', + 'method_messages.getInlineGameHighScores_param_user_id_type_InputUser' => 'The user that set the high scores', + 'method_messages.getCommonChats' => 'Get chats in common with a user', + 'method_messages.getCommonChats_param_user_id_type_InputUser' => 'The user', + 'method_messages.getCommonChats_param_max_id_type_int' => 'The maximum chat ID to fetch', + 'method_messages.getCommonChats_param_limit_type_int' => 'Number of results to fetch', + 'method_messages.getAllChats' => 'Get all chats (not supergroups or channels)', + 'method_messages.getAllChats_param_except_ids_type_Vector t' => 'Do not fetch these chats (MTProto id)', + 'method_messages.getWebPage' => 'Get webpage preview', + 'method_messages.getWebPage_param_url_type_string' => 'URL', + 'method_messages.getWebPage_param_hash_type_int' => '0 or $result[\'hash\']', + 'method_messages.toggleDialogPin' => 'Pin or unpin dialog', + 'method_messages.toggleDialogPin_param_pinned_type_true' => 'Pin or unpin the dialog?', + 'method_messages.toggleDialogPin_param_peer_type_InputPeer' => 'The peer to pin', + 'method_messages.reorderPinnedDialogs' => 'Reorder pinned dialogs', + 'method_messages.reorderPinnedDialogs_param_force_type_true' => 'Force reordering', + 'method_messages.reorderPinnedDialogs_param_order_type_Vector t' => 'New order', + 'method_messages.getPinnedDialogs' => 'Get pinned dialogs', + 'method_messages.setBotShippingResults' => 'Bots only: set shipping results', + 'method_messages.setBotShippingResults_param_query_id_type_long' => 'Query ID', + 'method_messages.setBotShippingResults_param_error_type_string' => 'Error', + 'method_messages.setBotShippingResults_param_shipping_options_type_Vector t' => 'Shipping options', + 'method_messages.setBotPrecheckoutResults' => 'Bots only: set precheckout results', + 'method_messages.setBotPrecheckoutResults_param_success_type_true' => 'Success?', + 'method_messages.setBotPrecheckoutResults_param_query_id_type_long' => 'Query ID', + 'method_messages.setBotPrecheckoutResults_param_error_type_string' => 'Error', + 'method_messages.uploadMedia' => 'Upload a file without sending it to anyone', + 'method_messages.uploadMedia_param_peer_type_InputPeer' => 'Nothing', + 'method_messages.uploadMedia_param_media_type_InputMedia' => 'The media to upload', + 'method_messages.sendScreenshotNotification' => 'Send screenshot notification', + 'method_messages.sendScreenshotNotification_param_peer_type_InputPeer' => 'Where to send the notification', + 'method_messages.sendScreenshotNotification_param_reply_to_msg_id_type_int' => 'Reply to message by ID', + 'method_messages.getFavedStickers' => 'Get favorite stickers', + 'method_messages.getFavedStickers_param_hash_type_int' => '0 or $result[\'hash\']', + 'method_messages.faveSticker' => 'Add a sticker to favorites', + 'method_messages.faveSticker_param_id_type_InputDocument' => 'The sticker to add to favorites', + 'method_messages.faveSticker_param_unfave_type_Bool' => 'Remove it from favorites?', + 'method_messages.getUnreadMentions' => 'Get unread mentions', + 'method_messages.getUnreadMentions_param_peer_type_InputPeer' => 'The chat where to get unread mentions', + 'method_messages.getUnreadMentions_param_offset_id_type_int' => 'The offset', + 'method_messages.getUnreadMentions_param_add_offset_type_int' => 'The additional offset', + 'method_messages.getUnreadMentions_param_limit_type_int' => 'The number of results to fetch', + 'method_messages.getUnreadMentions_param_max_id_type_int' => 'The maximum message ID to fetch', + 'method_messages.getUnreadMentions_param_min_id_type_int' => 'The minumum message ID to fetch', + 'method_messages.readMentions' => 'Mark mentions as read', + 'method_messages.readMentions_param_peer_type_InputPeer' => 'The chat', + 'method_messages.getRecentLocations' => 'Get recent locations', + 'method_messages.getRecentLocations_param_peer_type_InputPeer' => 'The chat where to search locations', + 'method_messages.getRecentLocations_param_limit_type_int' => 'Number of results to return', + 'method_messages.sendMultiMedia' => 'Send an album', + 'method_messages.sendMultiMedia_param_silent_type_true' => 'Disable notifications?', + 'method_messages.sendMultiMedia_param_background_type_true' => 'Disable background notification?', + 'method_messages.sendMultiMedia_param_clear_draft_type_true' => 'Clear draft?', + 'method_messages.sendMultiMedia_param_peer_type_InputPeer' => 'Where to send the album', + 'method_messages.sendMultiMedia_param_reply_to_msg_id_type_int' => 'Reply to message by ID', + 'method_messages.sendMultiMedia_param_multi_media_type_Vector t' => 'The album', + 'method_messages.uploadEncryptedFile' => 'Upload a secret chat file without sending it to anyone', + 'method_messages.uploadEncryptedFile_param_peer_type_InputEncryptedChat' => 'Ignore this', + 'method_messages.uploadEncryptedFile_param_file_type_InputEncryptedFile' => 'The file', 'method_updates.getState' => 'You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates', 'method_updates.getDifference' => 'You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates', 'method_updates.getDifference_param_pts_type_int' => 'You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates', @@ -4829,17 +4829,17 @@ class Lang 'method_updates.getChannelDifference_param_filter_type_ChannelMessagesFilter' => 'You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates', 'method_updates.getChannelDifference_param_pts_type_int' => 'You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates', 'method_updates.getChannelDifference_param_limit_type_int' => 'You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates', - 'method_photos.updateProfilePhoto' => '', - 'method_photos.updateProfilePhoto_param_id_type_InputPhoto' => '', - 'method_photos.uploadProfilePhoto' => '', - 'method_photos.uploadProfilePhoto_param_file_type_InputFile' => '', - 'method_photos.deletePhotos' => '', - 'method_photos.deletePhotos_param_id_type_Vector t' => '', - 'method_photos.getUserPhotos' => '', - 'method_photos.getUserPhotos_param_user_id_type_InputUser' => '', - 'method_photos.getUserPhotos_param_offset_type_int' => '', - 'method_photos.getUserPhotos_param_max_id_type_long' => '', - 'method_photos.getUserPhotos_param_limit_type_int' => '', + 'method_photos.updateProfilePhoto' => 'Update the profile photo (use photos->uploadProfilePhoto to upload the photo)', + 'method_photos.updateProfilePhoto_param_id_type_InputPhoto' => 'The photo to use', + 'method_photos.uploadProfilePhoto' => 'Upload profile photo', + 'method_photos.uploadProfilePhoto_param_file_type_InputFile' => 'The photo', + 'method_photos.deletePhotos' => 'Delete profile photos', + 'method_photos.deletePhotos_param_id_type_Vector t' => 'The profile photos to delete', + 'method_photos.getUserPhotos' => 'Get the profile photos of a user', + 'method_photos.getUserPhotos_param_user_id_type_InputUser' => 'The user', + 'method_photos.getUserPhotos_param_offset_type_int' => 'Offset', + 'method_photos.getUserPhotos_param_max_id_type_long' => 'Maximum ID of photo to return', + 'method_photos.getUserPhotos_param_limit_type_int' => 'Number of photos to return', 'method_upload.saveFilePart' => 'You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info', 'method_upload.saveFilePart_param_file_id_type_long' => 'You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info', 'method_upload.saveFilePart_param_file_part_type_int' => 'You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info', @@ -4853,10 +4853,10 @@ class Lang 'method_upload.saveBigFilePart_param_file_part_type_int' => 'You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info', 'method_upload.saveBigFilePart_param_file_total_parts_type_int' => 'You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info', 'method_upload.saveBigFilePart_param_bytes_type_bytes' => 'You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info', - 'method_upload.getWebFile' => '', - 'method_upload.getWebFile_param_location_type_InputWebFileLocation' => '', - 'method_upload.getWebFile_param_offset_type_int' => '', - 'method_upload.getWebFile_param_limit_type_int' => '', + 'method_upload.getWebFile' => 'Download a file through telegram', + 'method_upload.getWebFile_param_location_type_InputWebFileLocation' => 'The file', + 'method_upload.getWebFile_param_offset_type_int' => 'The offset in bytes', + 'method_upload.getWebFile_param_limit_type_int' => 'The number of bytes to fetch', 'method_upload.getCdnFile' => 'You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info', 'method_upload.getCdnFile_param_file_token_type_bytes' => 'You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info', 'method_upload.getCdnFile_param_offset_type_int' => 'You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info', @@ -4867,162 +4867,162 @@ class Lang 'method_upload.getCdnFileHashes' => 'You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info', 'method_upload.getCdnFileHashes_param_file_token_type_bytes' => 'You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info', 'method_upload.getCdnFileHashes_param_offset_type_int' => 'You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info', - 'method_help.getConfig' => '', - 'method_help.getNearestDc' => '', - 'method_help.getAppUpdate' => '', - 'method_help.saveAppLog' => '', - 'method_help.saveAppLog_param_events_type_Vector t' => '', - 'method_help.getInviteText' => '', - 'method_help.getSupport' => '', - 'method_help.getAppChangelog' => '', - 'method_help.getAppChangelog_param_prev_app_version_type_string' => '', - 'method_help.getTermsOfService' => '', - 'method_help.setBotUpdatesStatus' => '', - 'method_help.setBotUpdatesStatus_param_pending_updates_count_type_int' => '', - 'method_help.setBotUpdatesStatus_param_message_type_string' => '', - 'method_help.getCdnConfig' => '', - 'method_help.getRecentMeUrls' => '', - 'method_help.getRecentMeUrls_param_referer_type_string' => '', - 'method_channels.readHistory' => '', - 'method_channels.readHistory_param_channel_type_InputChannel' => '', - 'method_channels.readHistory_param_max_id_type_int' => '', - 'method_channels.deleteMessages' => '', - 'method_channels.deleteMessages_param_channel_type_InputChannel' => '', - 'method_channels.deleteMessages_param_id_type_Vector t' => '', - 'method_channels.deleteUserHistory' => '', - 'method_channels.deleteUserHistory_param_channel_type_InputChannel' => '', - 'method_channels.deleteUserHistory_param_user_id_type_InputUser' => '', - 'method_channels.reportSpam' => '', - 'method_channels.reportSpam_param_channel_type_InputChannel' => '', - 'method_channels.reportSpam_param_user_id_type_InputUser' => '', - 'method_channels.reportSpam_param_id_type_Vector t' => '', - 'method_channels.getMessages' => '', - 'method_channels.getMessages_param_channel_type_InputChannel' => '', - 'method_channels.getMessages_param_id_type_Vector t' => '', - 'method_channels.getParticipants' => '', - 'method_channels.getParticipants_param_channel_type_InputChannel' => '', - 'method_channels.getParticipants_param_filter_type_ChannelParticipantsFilter' => '', - 'method_channels.getParticipants_param_offset_type_int' => '', - 'method_channels.getParticipants_param_limit_type_int' => '', - 'method_channels.getParticipants_param_hash_type_int' => '', - 'method_channels.getParticipant' => '', - 'method_channels.getParticipant_param_channel_type_InputChannel' => '', - 'method_channels.getParticipant_param_user_id_type_InputUser' => '', - 'method_channels.getChannels' => '', - 'method_channels.getChannels_param_id_type_Vector t' => '', + 'method_help.getConfig' => 'Get server configuration', + 'method_help.getNearestDc' => 'Get nearest datacenter', + 'method_help.getAppUpdate' => 'Get info about app updates', + 'method_help.saveAppLog' => 'Log data for developer of this app', + 'method_help.saveAppLog_param_events_type_Vector t' => 'Event list', + 'method_help.getInviteText' => 'Get invitation text', + 'method_help.getSupport' => 'Get info of support user', + 'method_help.getAppChangelog' => 'Get the changelog of this app', + 'method_help.getAppChangelog_param_prev_app_version_type_string' => 'Previous app version', + 'method_help.getTermsOfService' => 'Get terms of service', + 'method_help.setBotUpdatesStatus' => 'Set the update status of webhook', + 'method_help.setBotUpdatesStatus_param_pending_updates_count_type_int' => 'Pending update count', + 'method_help.setBotUpdatesStatus_param_message_type_string' => 'Message', + 'method_help.getCdnConfig' => 'Get CDN configuration', + 'method_help.getRecentMeUrls' => 'Get recent t.me URLs', + 'method_help.getRecentMeUrls_param_referer_type_string' => 'Referrer', + 'method_channels.readHistory' => 'Mark channel/supergroup history as read', + 'method_channels.readHistory_param_channel_type_InputChannel' => 'The channel/supergroup', + 'method_channels.readHistory_param_max_id_type_int' => 'Maximum message ID to mark as read', + 'method_channels.deleteMessages' => 'Delete channel/supergroup messages', + 'method_channels.deleteMessages_param_channel_type_InputChannel' => 'The channel/supergroup', + 'method_channels.deleteMessages_param_id_type_Vector t' => 'The IDs of messages to delete', + 'method_channels.deleteUserHistory' => 'Delete all messages of a user in a channel/supergroup', + 'method_channels.deleteUserHistory_param_channel_type_InputChannel' => 'The channel/supergroup', + 'method_channels.deleteUserHistory_param_user_id_type_InputUser' => 'The user', + 'method_channels.reportSpam' => 'Report a supergroup/channel for spam', + 'method_channels.reportSpam_param_channel_type_InputChannel' => 'The channel', + 'method_channels.reportSpam_param_user_id_type_InputUser' => 'The user that added you to this channel', + 'method_channels.reportSpam_param_id_type_Vector t' => 'The IDs of messages to report', + 'method_channels.getMessages' => 'Get channel/supergroup messages', + 'method_channels.getMessages_param_channel_type_InputChannel' => 'The channel/supergroup', + 'method_channels.getMessages_param_id_type_Vector t' => 'The message IDs', + 'method_channels.getParticipants' => 'Get channel/supergroup participants (you should use `$MadelineProto->get_pwr_chat($id)` instead)', + 'method_channels.getParticipants_param_channel_type_InputChannel' => 'The channel', + 'method_channels.getParticipants_param_filter_type_ChannelParticipantsFilter' => 'Member filter', + 'method_channels.getParticipants_param_offset_type_int' => 'Offset', + 'method_channels.getParticipants_param_limit_type_int' => 'Limit', + 'method_channels.getParticipants_param_hash_type_int' => '$MadelineProto->gen_vector_hash(ids of previously fetched participant IDs)', + 'method_channels.getParticipant' => 'Get info about a certain channel/supergroup participant', + 'method_channels.getParticipant_param_channel_type_InputChannel' => 'The channel/supergroup', + 'method_channels.getParticipant_param_user_id_type_InputUser' => 'The user to fetch info about', + 'method_channels.getChannels' => 'Get info about multiple channels/supergroups', + 'method_channels.getChannels_param_id_type_Vector t' => 'The channel/supergroup MTProto IDs', 'method_channels.getFullChannel' => 'You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)', 'method_channels.getFullChannel_param_channel_type_InputChannel' => 'You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)', - 'method_channels.createChannel' => '', - 'method_channels.createChannel_param_broadcast_type_true' => '', - 'method_channels.createChannel_param_megagroup_type_true' => '', - 'method_channels.createChannel_param_title_type_string' => '', - 'method_channels.createChannel_param_about_type_string' => '', - 'method_channels.editAbout' => '', - 'method_channels.editAbout_param_channel_type_InputChannel' => '', - 'method_channels.editAbout_param_about_type_string' => '', - 'method_channels.editAdmin' => '', - 'method_channels.editAdmin_param_channel_type_InputChannel' => '', - 'method_channels.editAdmin_param_user_id_type_InputUser' => '', - 'method_channels.editAdmin_param_admin_rights_type_ChannelAdminRights' => '', - 'method_channels.editTitle' => '', - 'method_channels.editTitle_param_channel_type_InputChannel' => '', - 'method_channels.editTitle_param_title_type_string' => '', - 'method_channels.editPhoto' => '', - 'method_channels.editPhoto_param_channel_type_InputChannel' => '', - 'method_channels.editPhoto_param_photo_type_InputChatPhoto' => '', - 'method_channels.checkUsername' => '', - 'method_channels.checkUsername_param_channel_type_InputChannel' => '', - 'method_channels.checkUsername_param_username_type_string' => '', - 'method_channels.updateUsername' => '', - 'method_channels.updateUsername_param_channel_type_InputChannel' => '', - 'method_channels.updateUsername_param_username_type_string' => '', - 'method_channels.joinChannel' => '', - 'method_channels.joinChannel_param_channel_type_InputChannel' => '', - 'method_channels.leaveChannel' => '', - 'method_channels.leaveChannel_param_channel_type_InputChannel' => '', - 'method_channels.inviteToChannel' => '', - 'method_channels.inviteToChannel_param_channel_type_InputChannel' => '', - 'method_channels.inviteToChannel_param_users_type_Vector t' => '', - 'method_channels.exportInvite' => '', - 'method_channels.exportInvite_param_channel_type_InputChannel' => '', - 'method_channels.deleteChannel' => '', - 'method_channels.deleteChannel_param_channel_type_InputChannel' => '', - 'method_channels.toggleInvites' => '', - 'method_channels.toggleInvites_param_channel_type_InputChannel' => '', - 'method_channels.toggleInvites_param_enabled_type_Bool' => '', - 'method_channels.exportMessageLink' => '', - 'method_channels.exportMessageLink_param_channel_type_InputChannel' => '', - 'method_channels.exportMessageLink_param_id_type_int' => '', - 'method_channels.exportMessageLink_param_grouped_type_Bool' => '', - 'method_channels.toggleSignatures' => '', - 'method_channels.toggleSignatures_param_channel_type_InputChannel' => '', - 'method_channels.toggleSignatures_param_enabled_type_Bool' => '', - 'method_channels.updatePinnedMessage' => '', - 'method_channels.updatePinnedMessage_param_silent_type_true' => '', - 'method_channels.updatePinnedMessage_param_channel_type_InputChannel' => '', - 'method_channels.updatePinnedMessage_param_id_type_int' => '', - 'method_channels.getAdminedPublicChannels' => '', - 'method_channels.editBanned' => '', - 'method_channels.editBanned_param_channel_type_InputChannel' => '', - 'method_channels.editBanned_param_user_id_type_InputUser' => '', - 'method_channels.editBanned_param_banned_rights_type_ChannelBannedRights' => '', - 'method_channels.getAdminLog' => '', - 'method_channels.getAdminLog_param_channel_type_InputChannel' => '', - 'method_channels.getAdminLog_param_q_type_string' => '', - 'method_channels.getAdminLog_param_events_filter_type_ChannelAdminLogEventsFilter' => '', - 'method_channels.getAdminLog_param_admins_type_Vector t' => '', - 'method_channels.getAdminLog_param_max_id_type_long' => '', - 'method_channels.getAdminLog_param_min_id_type_long' => '', - 'method_channels.getAdminLog_param_limit_type_int' => '', - 'method_channels.setStickers' => '', - 'method_channels.setStickers_param_channel_type_InputChannel' => '', - 'method_channels.setStickers_param_stickerset_type_InputStickerSet' => '', - 'method_channels.readMessageContents' => '', - 'method_channels.readMessageContents_param_channel_type_InputChannel' => '', - 'method_channels.readMessageContents_param_id_type_Vector t' => '', - 'method_channels.deleteHistory' => '', - 'method_channels.deleteHistory_param_channel_type_InputChannel' => '', - 'method_channels.deleteHistory_param_max_id_type_int' => '', - 'method_channels.togglePreHistoryHidden' => '', - 'method_channels.togglePreHistoryHidden_param_channel_type_InputChannel' => '', - 'method_channels.togglePreHistoryHidden_param_enabled_type_Bool' => '', - 'method_bots.sendCustomRequest' => '', - 'method_bots.sendCustomRequest_param_custom_method_type_string' => '', - 'method_bots.sendCustomRequest_param_params_type_DataJSON' => '', - 'method_bots.answerWebhookJSONQuery' => '', - 'method_bots.answerWebhookJSONQuery_param_query_id_type_long' => '', - 'method_bots.answerWebhookJSONQuery_param_data_type_DataJSON' => '', - 'method_payments.getPaymentForm' => '', - 'method_payments.getPaymentForm_param_msg_id_type_int' => '', - 'method_payments.getPaymentReceipt' => '', - 'method_payments.getPaymentReceipt_param_msg_id_type_int' => '', - 'method_payments.validateRequestedInfo' => '', - 'method_payments.validateRequestedInfo_param_save_type_true' => '', - 'method_payments.validateRequestedInfo_param_msg_id_type_int' => '', - 'method_payments.validateRequestedInfo_param_info_type_PaymentRequestedInfo' => '', - 'method_payments.sendPaymentForm' => '', - 'method_payments.sendPaymentForm_param_msg_id_type_int' => '', - 'method_payments.sendPaymentForm_param_requested_info_id_type_string' => '', - 'method_payments.sendPaymentForm_param_shipping_option_id_type_string' => '', - 'method_payments.sendPaymentForm_param_credentials_type_InputPaymentCredentials' => '', - 'method_payments.getSavedInfo' => '', - 'method_payments.clearSavedInfo' => '', - 'method_payments.clearSavedInfo_param_credentials_type_true' => '', - 'method_payments.clearSavedInfo_param_info_type_true' => '', - 'method_stickers.createStickerSet' => '', - 'method_stickers.createStickerSet_param_masks_type_true' => '', - 'method_stickers.createStickerSet_param_user_id_type_InputUser' => '', - 'method_stickers.createStickerSet_param_title_type_string' => '', - 'method_stickers.createStickerSet_param_short_name_type_string' => '', - 'method_stickers.createStickerSet_param_stickers_type_Vector t' => '', - 'method_stickers.removeStickerFromSet' => '', - 'method_stickers.removeStickerFromSet_param_sticker_type_InputDocument' => '', - 'method_stickers.changeStickerPosition' => '', - 'method_stickers.changeStickerPosition_param_sticker_type_InputDocument' => '', - 'method_stickers.changeStickerPosition_param_position_type_int' => '', - 'method_stickers.addStickerToSet' => '', - 'method_stickers.addStickerToSet_param_stickerset_type_InputStickerSet' => '', - 'method_stickers.addStickerToSet_param_sticker_type_InputStickerSetItem' => '', + 'method_channels.createChannel' => 'Create channel/supergroup', + 'method_channels.createChannel_param_broadcast_type_true' => 'Set this to true to create a channel', + 'method_channels.createChannel_param_megagroup_type_true' => 'Set this to true to create a supergroup', + 'method_channels.createChannel_param_title_type_string' => 'Supergroup/channel title', + 'method_channels.createChannel_param_about_type_string' => 'About text', + 'method_channels.editAbout' => 'Edit the about text of a channel/supergroup', + 'method_channels.editAbout_param_channel_type_InputChannel' => 'The channel', + 'method_channels.editAbout_param_about_type_string' => 'The new about text', + 'method_channels.editAdmin' => 'Edit admin permissions of a user in a channel/supergroup', + 'method_channels.editAdmin_param_channel_type_InputChannel' => 'The channel', + 'method_channels.editAdmin_param_user_id_type_InputUser' => 'The user', + 'method_channels.editAdmin_param_admin_rights_type_ChannelAdminRights' => 'The new admin rights', + 'method_channels.editTitle' => 'Edit the title of a supergroup/channel', + 'method_channels.editTitle_param_channel_type_InputChannel' => 'The channel', + 'method_channels.editTitle_param_title_type_string' => 'The new channel/supergroup title', + 'method_channels.editPhoto' => 'Edit the photo of a supergroup/channel', + 'method_channels.editPhoto_param_channel_type_InputChannel' => 'The channel', + 'method_channels.editPhoto_param_photo_type_InputChatPhoto' => 'The new photo', + 'method_channels.checkUsername' => 'Check if this username is free and can be assigned to a channel/supergroup', + 'method_channels.checkUsername_param_channel_type_InputChannel' => 'The channel/supergroup', + 'method_channels.checkUsername_param_username_type_string' => 'The new username for this channel/supergroup', + 'method_channels.updateUsername' => 'Update the username of a supergroup/channel', + 'method_channels.updateUsername_param_channel_type_InputChannel' => 'The channel/supergroup', + 'method_channels.updateUsername_param_username_type_string' => 'The new username', + 'method_channels.joinChannel' => 'Join a channel/supergroup', + 'method_channels.joinChannel_param_channel_type_InputChannel' => 'The channel/supergroup to join', + 'method_channels.leaveChannel' => 'Leave a channel/supergroup', + 'method_channels.leaveChannel_param_channel_type_InputChannel' => 'The channel/supergroup to leave', + 'method_channels.inviteToChannel' => 'Add users to channel/supergroup', + 'method_channels.inviteToChannel_param_channel_type_InputChannel' => 'The channel/supergroup', + 'method_channels.inviteToChannel_param_users_type_Vector t' => 'The users to add', + 'method_channels.exportInvite' => 'Export the invite link of a channel', + 'method_channels.exportInvite_param_channel_type_InputChannel' => 'The channel', + 'method_channels.deleteChannel' => 'Delete a channel/supergroup', + 'method_channels.deleteChannel_param_channel_type_InputChannel' => 'The channel/supergroup to delete', + 'method_channels.toggleInvites' => 'Allow or disallow any user to invite users to this channel/supergroup', + 'method_channels.toggleInvites_param_channel_type_InputChannel' => 'The channel/supergroup', + 'method_channels.toggleInvites_param_enabled_type_Bool' => 'Allow or disallow', + 'method_channels.exportMessageLink' => 'Get the link of a message in a channel', + 'method_channels.exportMessageLink_param_channel_type_InputChannel' => 'The channel/supergroup', + 'method_channels.exportMessageLink_param_id_type_int' => 'The ID of the message', + 'method_channels.exportMessageLink_param_grouped_type_Bool' => 'Is this an album?', + 'method_channels.toggleSignatures' => 'Toggle channel signatures', + 'method_channels.toggleSignatures_param_channel_type_InputChannel' => 'The channel/supergroup', + 'method_channels.toggleSignatures_param_enabled_type_Bool' => 'Enable or disable channel signatures?', + 'method_channels.updatePinnedMessage' => 'Set the pinned message of a channel/supergroup', + 'method_channels.updatePinnedMessage_param_silent_type_true' => 'Pin silently', + 'method_channels.updatePinnedMessage_param_channel_type_InputChannel' => 'The channel/supergroup', + 'method_channels.updatePinnedMessage_param_id_type_int' => 'The ID of the message to pin', + 'method_channels.getAdminedPublicChannels' => 'Get all supergroups/channels where you\'re admin', + 'method_channels.editBanned' => 'Kick or ban a user from a channel/supergroup', + 'method_channels.editBanned_param_channel_type_InputChannel' => 'The channel/supergroup', + 'method_channels.editBanned_param_user_id_type_InputUser' => 'The user to kick/ban', + 'method_channels.editBanned_param_banned_rights_type_ChannelBannedRights' => 'Banned/kicked permissions', + 'method_channels.getAdminLog' => 'Get admin log of a channel/supergruop', + 'method_channels.getAdminLog_param_channel_type_InputChannel' => 'The channel/supergroup', + 'method_channels.getAdminLog_param_q_type_string' => 'Search query', + 'method_channels.getAdminLog_param_events_filter_type_ChannelAdminLogEventsFilter' => 'Event filter', + 'method_channels.getAdminLog_param_admins_type_Vector t' => 'Fetch only actions from these admins', + 'method_channels.getAdminLog_param_max_id_type_long' => 'Maximum message ID to fetch', + 'method_channels.getAdminLog_param_min_id_type_long' => 'Minimum message ID to fetch', + 'method_channels.getAdminLog_param_limit_type_int' => 'Number of results to fetch', + 'method_channels.setStickers' => 'Set the supergroup/channel stickerpack', + 'method_channels.setStickers_param_channel_type_InputChannel' => 'The channel/supergoup', + 'method_channels.setStickers_param_stickerset_type_InputStickerSet' => 'The stickerset', + 'method_channels.readMessageContents' => 'Mark channel/supergroup messages as read', + 'method_channels.readMessageContents_param_channel_type_InputChannel' => 'The channel', + 'method_channels.readMessageContents_param_id_type_Vector t' => 'List of message IDs', + 'method_channels.deleteHistory' => 'Delete the history of a supergroup/channel', + 'method_channels.deleteHistory_param_channel_type_InputChannel' => 'The channel/supergroup', + 'method_channels.deleteHistory_param_max_id_type_int' => 'Maximum message ID to delete', + 'method_channels.togglePreHistoryHidden' => 'Enable or disable hidden history for new channel/supergroup users', + 'method_channels.togglePreHistoryHidden_param_channel_type_InputChannel' => 'The channel/supergroup', + 'method_channels.togglePreHistoryHidden_param_enabled_type_Bool' => 'Enable or disable hidden history for new channel/supergroup users', + 'method_bots.sendCustomRequest' => 'Send a custom request to the bot API', + 'method_bots.sendCustomRequest_param_custom_method_type_string' => 'The method to call', + 'method_bots.sendCustomRequest_param_params_type_DataJSON' => 'Method parameters', + 'method_bots.answerWebhookJSONQuery' => 'Send webhook request via bot API', + 'method_bots.answerWebhookJSONQuery_param_query_id_type_long' => 'The query ID', + 'method_bots.answerWebhookJSONQuery_param_data_type_DataJSON' => 'The parameters', + 'method_payments.getPaymentForm' => 'Get payment form', + 'method_payments.getPaymentForm_param_msg_id_type_int' => 'Message ID', + 'method_payments.getPaymentReceipt' => 'Get payment receipt', + 'method_payments.getPaymentReceipt_param_msg_id_type_int' => 'The message ID', + 'method_payments.validateRequestedInfo' => 'Validate requested payment info', + 'method_payments.validateRequestedInfo_param_save_type_true' => 'Save payment info?', + 'method_payments.validateRequestedInfo_param_msg_id_type_int' => 'The message ID', + 'method_payments.validateRequestedInfo_param_info_type_PaymentRequestedInfo' => 'The requested payment info', + 'method_payments.sendPaymentForm' => 'Bots only: send payment form', + 'method_payments.sendPaymentForm_param_msg_id_type_int' => 'Message ID', + 'method_payments.sendPaymentForm_param_requested_info_id_type_string' => 'ID of requested info', + 'method_payments.sendPaymentForm_param_shipping_option_id_type_string' => 'Shipping option ID', + 'method_payments.sendPaymentForm_param_credentials_type_InputPaymentCredentials' => 'Payment credentials', + 'method_payments.getSavedInfo' => 'Get saved payments info', + 'method_payments.clearSavedInfo' => 'Clear saved payments info', + 'method_payments.clearSavedInfo_param_credentials_type_true' => 'Clear credentials?', + 'method_payments.clearSavedInfo_param_info_type_true' => 'Clear payment info?', + 'method_stickers.createStickerSet' => 'Create stickerset', + 'method_stickers.createStickerSet_param_masks_type_true' => 'Masks?', + 'method_stickers.createStickerSet_param_user_id_type_InputUser' => 'The user ID associated to this stickerset', + 'method_stickers.createStickerSet_param_title_type_string' => 'The stickerset title', + 'method_stickers.createStickerSet_param_short_name_type_string' => 'The stickerset short name', + 'method_stickers.createStickerSet_param_stickers_type_Vector t' => 'The stickers to add', + 'method_stickers.removeStickerFromSet' => 'Remove sticker from stickerset', + 'method_stickers.removeStickerFromSet_param_sticker_type_InputDocument' => 'The sticker to remove', + 'method_stickers.changeStickerPosition' => 'Change sticker position in photo', + 'method_stickers.changeStickerPosition_param_sticker_type_InputDocument' => 'The sticker', + 'method_stickers.changeStickerPosition_param_position_type_int' => 'New position', + 'method_stickers.addStickerToSet' => 'Add sticker to stickerset', + 'method_stickers.addStickerToSet_param_stickerset_type_InputStickerSet' => 'The stickerset', + 'method_stickers.addStickerToSet_param_sticker_type_InputStickerSetItem' => 'The sticker', 'method_phone.getCallConfig' => '', 'method_phone.requestCall' => 'You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls', 'method_phone.requestCall_param_user_id_type_InputUser' => 'You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls', @@ -5059,8 +5059,8 @@ class Lang 'method_langpack.getDifference' => '', 'method_langpack.getDifference_param_from_version_type_int' => '', 'method_langpack.getLanguages' => '', - 'method_auth.sendCode_param_sms_type_type_int' => 'You cannot use this method directly, use the phone_login method instead (see https://docs.madelineproto.xyz for more info)', - 'method_auth.sendCode_param_lang_code_type_string' => 'You cannot use this method directly, use the phone_login method instead (see https://docs.madelineproto.xyz for more info)', + 'method_auth.sendCode_param_sms_type_type_int' => 'You cannot use this method directly, use The phone_login method instead (see https://docs.madelineproto.xyz for more info)', + 'method_auth.sendCode_param_lang_code_type_string' => 'You cannot use this method directly, use The phone_login method instead (see https://docs.madelineproto.xyz for more info)', 'method_auth.sendCall' => '', 'method_auth.sendCall_param_phone_number_type_string' => '', 'method_auth.sendCall_param_phone_code_hash_type_string' => '', @@ -5221,10 +5221,10 @@ class Lang 'method_contest.saveDeveloperInfo_param_phone_number_type_string' => '', 'method_contest.saveDeveloperInfo_param_age_type_int' => '', 'method_contest.saveDeveloperInfo_param_city_type_string' => '', - 'method_auth.importBotAuthorization_param_a_type_true' => 'You cannot use this method directly, use the bot_login method instead (see https://docs.madelineproto.xyz for more info)', - 'method_auth.importBotAuthorization_param_b_type_true' => 'You cannot use this method directly, use the bot_login method instead (see https://docs.madelineproto.xyz for more info)', - 'method_auth.importBotAuthorization_param_c_type_true' => 'You cannot use this method directly, use the bot_login method instead (see https://docs.madelineproto.xyz for more info)', - 'method_auth.importBotAuthorization_param_d_type_true' => 'You cannot use this method directly, use the bot_login method instead (see https://docs.madelineproto.xyz for more info)', + 'method_auth.importBotAuthorization_param_a_type_true' => 'You cannot use this method directly, use The bot_login method instead (see https://docs.madelineproto.xyz for more info)', + 'method_auth.importBotAuthorization_param_b_type_true' => 'You cannot use this method directly, use The bot_login method instead (see https://docs.madelineproto.xyz for more info)', + 'method_auth.importBotAuthorization_param_c_type_true' => 'You cannot use this method directly, use The bot_login method instead (see https://docs.madelineproto.xyz for more info)', + 'method_auth.importBotAuthorization_param_d_type_true' => 'You cannot use this method directly, use The bot_login method instead (see https://docs.madelineproto.xyz for more info)', 'object_vector' => '', 'object_resPQ' => '', 'object_resPQ_param_nonce_type_int128' => '', @@ -5835,8 +5835,8 @@ class Lang 'object_inputReportReasonSpam' => '', 'object_inputReportReasonViolence' => '', 'object_inputReportReasonPornography' => '', - 'object_inputReportReasonOther' => '', - 'object_inputReportReasonOther_param_text_type_string' => '', + 'object_inputReportReasonOTher' => '', + 'object_inputReportReasonOTher_param_text_type_string' => '', 'object_userFull' => '', 'object_userFull_param_blocked_type_true' => '', 'object_userFull_param_phone_calls_available_type_true' => '', @@ -6175,14 +6175,14 @@ class Lang 'object_updates.difference' => '', 'object_updates.difference_param_new_messages_type_Vector t' => '', 'object_updates.difference_param_new_encrypted_messages_type_Vector t' => '', - 'object_updates.difference_param_other_updates_type_Vector t' => '', + 'object_updates.difference_param_oTher_updates_type_Vector t' => '', 'object_updates.difference_param_chats_type_Vector t' => '', 'object_updates.difference_param_users_type_Vector t' => '', 'object_updates.difference_param_state_type_updates.State' => '', 'object_updates.differenceSlice' => '', 'object_updates.differenceSlice_param_new_messages_type_Vector t' => '', 'object_updates.differenceSlice_param_new_encrypted_messages_type_Vector t' => '', - 'object_updates.differenceSlice_param_other_updates_type_Vector t' => '', + 'object_updates.differenceSlice_param_oTher_updates_type_Vector t' => '', 'object_updates.differenceSlice_param_chats_type_Vector t' => '', 'object_updates.differenceSlice_param_users_type_Vector t' => '', 'object_updates.differenceSlice_param_intermediate_state_type_updates.State' => '', @@ -6715,7 +6715,7 @@ class Lang 'object_updates.channelDifference_param_pts_type_int' => '', 'object_updates.channelDifference_param_timeout_type_int' => '', 'object_updates.channelDifference_param_new_messages_type_Vector t' => '', - 'object_updates.channelDifference_param_other_updates_type_Vector t' => '', + 'object_updates.channelDifference_param_oTher_updates_type_Vector t' => '', 'object_updates.channelDifference_param_chats_type_Vector t' => '', 'object_updates.channelDifference_param_users_type_Vector t' => '', 'object_channelMessagesFilterEmpty' => '', @@ -7294,7 +7294,7 @@ class Lang 'object_langPackStringPluralized_param_two_value_type_string' => '', 'object_langPackStringPluralized_param_few_value_type_string' => '', 'object_langPackStringPluralized_param_many_value_type_string' => '', - 'object_langPackStringPluralized_param_other_value_type_string' => '', + 'object_langPackStringPluralized_param_oTher_value_type_string' => '', 'object_langPackStringDeleted' => '', 'object_langPackStringDeleted_param_key_type_string' => '', 'object_langPackDifference' => '', diff --git a/src/danog/MadelineProto/MTProto.php b/src/danog/MadelineProto/MTProto.php index 75cbfce5..2b4a6a3b 100644 --- a/src/danog/MadelineProto/MTProto.php +++ b/src/danog/MadelineProto/MTProto.php @@ -60,7 +60,7 @@ class MTProto const WAITING_SIGNUP = -1; const WAITING_PASSWORD = 2; const LOGGED_IN = 3; - const DISALLOWED_METHODS = ['messages.getDhConfig' => 'You cannot use this method directly, instead use $MadelineProto->get_dh_config();', 'auth.bindTempAuthKey' => 'You cannot use this method directly, instead modify the PFS and default_temp_auth_key_expires_in settings, see https://docs.madelineproto.xyz/docs/SETTINGS.html for more info', 'auth.exportAuthorization' => 'You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html', 'auth.importAuthorization' => 'You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html', 'auth.logOut' => 'You cannot use this method directly, use the logout method instead (see https://docs.madelineproto.xyz for more info)', 'auth.importBotAuthorization' => 'You cannot use this method directly, use the bot_login method instead (see https://docs.madelineproto.xyz for more info)', 'auth.sendCode' => 'You cannot use this method directly, use the phone_login method instead (see https://docs.madelineproto.xyz for more info)', 'auth.signIn' => 'You cannot use this method directly, use the complete_phone_login method instead (see https://docs.madelineproto.xyz for more info)','auth.checkPassword' => 'You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info)', 'auth.signUp' => 'You cannot use this method directly, use the complete_signup method instead (see https://docs.madelineproto.xyz for more info)', 'users.getFullUser' => 'You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)', 'channels.getFullChannel' => 'You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)', 'messages.getFullChat' => 'You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)', '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)', 'messages.acceptEncryption' => 'You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats', 'messages.discardEncryption' => 'You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats', 'messages.requestEncryption' => 'You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats', 'phone.requestCall' => 'You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls', 'phone.acceptCall' => 'You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls', 'phone.confirmCall' => 'You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls', 'phone.discardCall' => 'You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls', 'updates.getChannelDifference' => 'You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates', 'updates.getDifference' => 'You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates', 'updates.getState' => 'You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates', 'upload.getCdnFile' => 'You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info', 'upload.getCdnFileHashes' => 'You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info', 'upload.reuploadCdnFile' => 'You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info', 'upload.getFile' => 'You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info', 'upload.saveFilePart' => 'You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info', 'upload.saveBigFilePart' => 'You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info']; + const DISALLOWED_METHODS = ['messages.receivedQueue' => 'You cannot use this method directly', 'messages.getDhConfig' => 'You cannot use this method directly, instead use $MadelineProto->get_dh_config();', 'auth.bindTempAuthKey' => 'You cannot use this method directly, instead modify the PFS and default_temp_auth_key_expires_in settings, see https://docs.madelineproto.xyz/docs/SETTINGS.html for more info', 'auth.exportAuthorization' => 'You cannot use this method directly, use $MadelineProto->export_authorization() instead, see https://docs.madelineproto.xyz/docs/LOGIN.html', 'auth.importAuthorization' => 'You cannot use this method directly, use $MadelineProto->import_authorization($authorization) instead, see https://docs.madelineproto.xyz/docs/LOGIN.html', 'auth.logOut' => 'You cannot use this method directly, use the logout method instead (see https://docs.madelineproto.xyz for more info)', 'auth.importBotAuthorization' => 'You cannot use this method directly, use the bot_login method instead (see https://docs.madelineproto.xyz for more info)', 'auth.sendCode' => 'You cannot use this method directly, use the phone_login method instead (see https://docs.madelineproto.xyz for more info)', 'auth.signIn' => 'You cannot use this method directly, use the complete_phone_login method instead (see https://docs.madelineproto.xyz for more info)','auth.checkPassword' => 'You cannot use this method directly, use the complete_2fa_login method instead (see https://docs.madelineproto.xyz for more info)', 'auth.signUp' => 'You cannot use this method directly, use the complete_signup method instead (see https://docs.madelineproto.xyz for more info)', 'users.getFullUser' => 'You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)', 'channels.getFullChannel' => 'You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)', 'messages.getFullChat' => 'You cannot use this method directly, use the get_pwr_chat, get_info, get_full_info methods instead (see https://docs.madelineproto.xyz for more info)', '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)', 'messages.acceptEncryption' => 'You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats', 'messages.discardEncryption' => 'You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats', 'messages.requestEncryption' => 'You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling secret chats', 'phone.requestCall' => 'You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls', 'phone.acceptCall' => 'You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls', 'phone.confirmCall' => 'You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls', 'phone.discardCall' => 'You cannot use this method directly, see https://docs.madelineproto.xyz#calls for more info on handling calls', 'updates.getChannelDifference' => 'You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates', 'updates.getDifference' => 'You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates', 'updates.getState' => 'You cannot use this method directly, see https://docs.madelineproto.xyz for more info on handling updates', 'upload.getCdnFile' => 'You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info', 'upload.getCdnFileHashes' => 'You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info', 'upload.reuploadCdnFile' => 'You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info', 'upload.getFile' => 'You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info', 'upload.saveFilePart' => 'You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info', 'upload.saveBigFilePart' => 'You cannot use this method directly, use the upload, download_to_stream, download_to_file, download_to_dir methods instead; see https://docs.madelineproto.xyz for more info']; const BAD_MSG_ERROR_CODES = [16 => 'msg_id too low (most likely, client time is wrong; it would be worthwhile to synchronize it using msg_id notifications and re-send the original message with the “correct” msg_id or wrap it in a container with a new msg_id if the original message had waited too long on the client to be transmitted)', 17 => 'msg_id too high (similar to the previous case, the client time has to be synchronized, and the message re-sent with the correct msg_id)', 18 => 'incorrect two lower order msg_id bits (the server expects client message msg_id to be divisible by 4)', 19 => 'container msg_id is the same as msg_id of a previously received message (this must never happen)', 20 => 'message too old, and it cannot be verified whether the server has received a message with this msg_id or not', 32 => 'msg_seqno too low (the server has already received a message with a lower msg_id but with either a higher or an equal and odd seqno)', 33 => 'msg_seqno too high (similarly, there is a message with a higher msg_id but with either a lower or an equal and odd seqno)', 34 => 'an even msg_seqno expected (irrelevant message), but odd received', 35 => 'odd msg_seqno expected (relevant message), but even received', 48 => 'incorrect server salt (in this case, the bad_server_salt response is received with the correct salt, and the message is to be re-sent with it)', 64 => 'invalid container.']; const MSGS_INFO_FLAGS = [1 => 'nothing is known about the message (msg_id too low, the other party may have forgotten it)', 2 => 'message not received (msg_id falls within the range of stored identifiers; however, the other party has certainly not received a message like that)', 3 => 'message not received (msg_id too high; however, the other party has certainly not received it yet)', 4 => 'message received (note that this response is also at the same time a receipt acknowledgment)', 8 => ' and message already acknowledged', 16 => ' and message not requiring acknowledgment', 32 => ' and RPC query contained in message being processed or processing already complete', 64 => ' and content-related response to message already generated', 128 => ' and other party knows for a fact that message is already received']; const REQUESTED = 0;