diff --git a/README.md b/README.md index 1a3c3f47..7665c0ba 100644 --- a/README.md +++ b/README.md @@ -231,6 +231,7 @@ Tip: if you receive an error (or nothing), [send us](https://t.me/pwrtelegramgro * Delete messages: messages.deleteMessages * Delete multiple contacts: contacts.deleteContacts * Delete profile photos: photos.deletePhotos + * Delete scheduled messages: messages.deleteScheduledMessages * Delete secure telegram passport value: account.deleteSecureValue * Delete the history of a supergroup/channel: channels.deleteHistory * Delete this account: account.deleteAccount @@ -299,6 +300,7 @@ Tip: if you receive an error (or nothing), [send us](https://t.me/pwrtelegramgro * Get info about users: users.getUsers * Get info of support user: help.getSupport * Get information about the current proxy: help.getProxyData + * Get installed themes: account.getThemes * Get invitation text: help.getInviteText * Get language pack strings: langpack.getStrings * Get language pack updates: langpack.getDifference @@ -327,6 +329,8 @@ Tip: if you receive an error (or nothing), [send us](https://t.me/pwrtelegramgro * Get saved contacts: contacts.getSaved * Get saved gifs: messages.getSavedGifs * Get saved payments info: payments.getSavedInfo + * Get scheduled history: messages.getScheduledHistory + * Get scheduled messages: messages.getScheduledMessages * Get search counter: messages.getSearchCounters * Get secure value for telegram passport: account.getSecureValue * Get server configuration: help.getConfig @@ -419,6 +423,7 @@ Tip: if you receive an error (or nothing), [send us](https://t.me/pwrtelegramgro * Send inline bot result obtained with messages.getInlineBotResults to the chat: messages.sendInlineBotResult * Send message to secret chat: messages.sendEncrypted * Send phone verification code: account.sendVerifyPhoneCode + * Send scheduled messages: messages.sendScheduledMessages * Send screenshot notification: messages.sendScreenshotNotification * Send typing notification to secret chat: messages.setEncryptedTyping * Send vote: messages.sendVote @@ -444,10 +449,12 @@ Tip: if you receive an error (or nothing), [send us](https://t.me/pwrtelegramgro * Update pinned message: messages.updatePinnedMessage * Update profile info: account.updateProfile * Update the username of a supergroup/channel: channels.updateUsername + * Update theme: account.updateTheme * Update this user's username: account.updateUsername * Upload a file without sending it to anyone: messages.uploadMedia * Upload a secret chat file without sending it to anyone: messages.uploadEncryptedFile * Upload profile photo: photos.uploadProfilePhoto + * Upload theme: account.uploadTheme * Upload wallpaper: account.uploadWallPaper * Use phone_login instead: auth.sendCode * Use the code that was emailed to you after running $MadelineProto->auth->requestPasswordRecovery to login to your account: auth.recoverPassword diff --git a/docs b/docs index fe346258..042cc043 160000 --- a/docs +++ b/docs @@ -1 +1 @@ -Subproject commit fe346258733323e5173e674f15059dea1a1eb880 +Subproject commit 042cc04351a461f551a9de7bf704290040910b37 diff --git a/src/danog/MadelineProto/Lang.php b/src/danog/MadelineProto/Lang.php index 0d76a5f3..7e899c85 100644 --- a/src/danog/MadelineProto/Lang.php +++ b/src/danog/MadelineProto/Lang.php @@ -1,6 +1,6 @@ - [ + public static $lang = array ( + 'it' => + array ( 'phpseclib_fork' => 'Per favore installa questo fork di phpseclib: https://github.com/danog/phpseclib', 'inst_dc' => 'Istanziamento dei DataCenter...', 'load_rsa' => 'Caricamento delle chiavi RSA...', @@ -161,9 +161,9 @@ class Lang 'done' => 'Fatto!', 'cdn_reupload' => 'Il file non è disponibile sul nostro CDN, richiedo la copia!', 'stored_on_cdn' => 'Il file è scaricabile tramite CDN!', - ], - 'en' => - [ + ), + 'en' => + array ( 'req_pq' => 'Requesting pq...', 'done' => 'Done!', 'cdn_reupload' => 'File is not stored on CDN, requesting reupload!', @@ -5243,11 +5243,12 @@ class Lang 'object_account.themes_param_themes_type_Vector t' => 'Themes', 'method_account.installTheme_param_dark_type_true' => 'Whether to install the dark version', 'method_account.getThemes' => 'Get installed themes', - ], -]; + 'method_account.saveTheme' => 'Save theme', + ), +); // THIS WILL BE OVERWRITTEN BY $lang["en"] - public static $current_lang = [ + public static $current_lang = array ( 'req_pq' => 'Requesting pq...', 'done' => 'Done!', 'cdn_reupload' => 'File is not stored on CDN, requesting reupload!', @@ -10327,5 +10328,6 @@ class Lang 'object_account.themes_param_themes_type_Vector t' => 'Themes', 'method_account.installTheme_param_dark_type_true' => 'Whether to install the dark version', 'method_account.getThemes' => 'Get installed themes', -]; -} + 'method_account.saveTheme' => 'Save theme', +); +} \ No newline at end of file