diff --git a/data/web/corefork.telegram.org/api/account-deletion.html b/data/web/corefork.telegram.org/api/account-deletion.html index 54044c91cf..d4dbb067ff 100644 --- a/data/web/corefork.telegram.org/api/account-deletion.html +++ b/data/web/corefork.telegram.org/api/account-deletion.html @@ -48,9 +48,11 @@ account.confirmPhone#5f2178c3 phone_code_hash:string phone_code:string = Bool; account.sendConfirmPhoneCode#1b3faa88 hash:string settings:CodeSettings = auth.SentCode; -
Calling this method while specifying the account's 2FA password (if one is set) will immediately delete the Telegram account.
+If the account doesn't have a 2FA password, calling this method will immediately delete the Telegram account.
+If the account has a 2FA password and it is provided to account.deleteAccount:password
, calling this method will immediately delete the Telegram account.
If the account has a 2FA password but the user doesn't remember it, password reset may be requested first », or otherwise, the password
field may simply be left empty.
In this case, if the account's 2FA password was modified more than 7 days ago and was active in the last 7 days, account deletion will be delayed for 7 days.
+In this case, if the account's 2FA password was modified more than 7 days ago and was active in the last 7 days, account deletion will be delayed for 7 days. +Otherwise, the account will be immediately deleted.
A service message will be sent to the user, containing a phone number confirmation link ».
When such a link is clicked, account.sendConfirmPhoneCode must be called with the specified hash
, using the account with the specified phone
number.
This will send a phone number verification code to the phone number associated with the account.
diff --git a/data/web/corefork.telegram.org/api/config.html b/data/web/corefork.telegram.org/api/config.html
index 6d61821b6e..357fdb703b 100644
--- a/data/web/corefork.telegram.org/api/config.html
+++ b/data/web/corefork.telegram.org/api/config.html
@@ -100,7 +100,7 @@ While help.getConfig returns MTProto-specif
ringtone_size_max
- The maximum post-conversion size in bytes of uploadable notification sounds »ringtone_saved_count_max
- The maximum number of saveable notification sounds »message_animated_emoji_max
- Maximum number of custom animated emojis that may be present in a message. (integer)premium_purchase_blocked
- (boolean)premium_purchase_blocked
- The user can't purchase premium. The app must also hide all Premium features, including stars for other users, et cetera. (boolean)channels_limit_default
- The maximum number of channels and supergroups a non-Premium user may join (integer)channels_limit_premium
- The maximum number of channels and supergroups a Premium user may join (integer)saved_gifs_limit_default
- The maximum number of GIFs a non-Premium user may save (integer)upload_max_fileparts_premium
- The maximum size of files uploadable by Premium users (integer, indicates the number of 512kb file parts, so the size in bytes is determined by multiplying by 524288
)about_length_limit_default
- The maximum UTF-8 length of bios of non-Premium usersabout_length_limit_premium
- The maximum UTF-8 length of bios of Premium usersstickers_premium_by_emoji_num
- (integer)stickers_normal_by_emoji_per_premium_num
- (integer)premium_promo_order
- Array of string identifiers, indicating the order of Telegram Premium features in the Telegram Premimum promotion popup, possible values:double_limits
- Should open a secondary popup with a list of the default/premium limits mentioned abovemore_upload
- Premium users can upload bigger files, as specified by the upload_max_fileparts_*
config keyspremium_bot_username
- Contains the username of the official Telegram Premium bot that may be used to buy a Telegram Premium subscription (string)getfile_experimental_params
- (boolean)Example value:
{
@@ -305,8 +302,6 @@ While help.getConfig returns MTProto-specif
"upload_max_fileparts_premium": 8000,
"about_length_limit_default": 70,
"about_length_limit_premium": 140,
- "stickers_premium_by_emoji_num": 0,
- "stickers_normal_by_emoji_per_premium_num": 3,
"message_animated_emoji_max": 100,
"premium_promo_order": [
"double_limits",
@@ -322,8 +317,7 @@ While help.getConfig returns MTProto-specif
"animated_userpics",
"app_icons"
],
- "premium_bot_username": "PremiumBot",
- "getfile_experimental_params": false
+ "premium_bot_username": "PremiumBot"
}
The API can return a set of useful suggestions for users of graphical clients.
diff --git a/data/web/corefork.telegram.org/api/layers.html b/data/web/corefork.telegram.org/api/layers.html index 5973068f02..674706387d 100644 --- a/data/web/corefork.telegram.org/api/layers.html +++ b/data/web/corefork.telegram.org/api/layers.html @@ -87,7 +87,7 @@{1} were charged {2}
You were charged {2} by {1}
userFull#c4b1fc3f flags:# blocked:flags.0?true phone_calls_available:flags.4?true phone_calls_private:flags.5?true can_pin_message:flags.7?true has_scheduled:flags.12?true video_calls_available:flags.13?true voice_messages_forbidden:flags.20?true id:long about:flags.1?string settings:PeerSettings profile_photo:flags.2?Photo notify_settings:PeerNotifySettings bot_info:flags.3?BotInfo pinned_msg_id:flags.6?int common_chats_count:int folder_id:flags.11?int ttl_period:flags.14?int theme_emoticon:flags.15?string private_forward_name:flags.16?string bot_group_admin_rights:flags.17?ChatAdminRights bot_broadcast_admin_rights:flags.18?ChatAdminRights premium_gifts:flags.19?Vector<PremiumGiftOption> = UserFull;
diff --git a/data/web/corefork.telegram.org/api/push-updates.html b/data/web/corefork.telegram.org/api/push-updates.html
index a87d075573..e8e9f1454d 100644
--- a/data/web/corefork.telegram.org/api/push-updates.html
+++ b/data/web/corefork.telegram.org/api/push-updates.html
@@ -693,8 +693,8 @@
MESSAGE_RECURRING_PAY
-{1} were charged {2}
-1. Localized "You"
2. The amount of money charged for a recurring subscription
+You were charged {2} by {1}
+1. The entity to which money was sent for a recurring subscription
2. The amount of money charged for a recurring subscription
MESSAGE_ROUND
diff --git a/data/web/corefork.telegram.org/api/ringtones.html b/data/web/corefork.telegram.org/api/ringtones.html
index 335002c889..9fd2719558 100644
--- a/data/web/corefork.telegram.org/api/ringtones.html
+++ b/data/web/corefork.telegram.org/api/ringtones.html
@@ -104,7 +104,7 @@ After upload, the document should be provided to account.updateNotifySettings, populating the ios_sound
, android_sound
or other_sound
fields according to the platform where a sound should be played.
+To the notification sound to play when receiving messages from a specific peer or from a category of peers, use account.updateNotifySettings, populating the ios_sound
, android_sound
or other_sound
fields according to the platform where a sound should be played.
The fields can be populated with the following constructors:
- notificationSoundDefault - The default notification sound should be played
diff --git a/data/web/corefork.telegram.org/constructor/account.updateNotifySettings b/data/web/corefork.telegram.org/constructor/account.updateNotifySettings
deleted file mode 100644
index 6b1b40cd8e..0000000000
--- a/data/web/corefork.telegram.org/constructor/account.updateNotifySettings
+++ /dev/null
@@ -1,118 +0,0 @@
-
-
-
-
- Page not found
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page not found
-
- The page has not been saved
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/data/web/corefork.telegram.org/constructor/help.premiumPromo b/data/web/corefork.telegram.org/constructor/help.premiumPromo
index d051aab49f..92bef0da86 100644
--- a/data/web/corefork.telegram.org/constructor/help.premiumPromo
+++ b/data/web/corefork.telegram.org/constructor/help.premiumPromo
@@ -108,7 +108,7 @@
- Related pages
Styled text with message entities
How to create styled text with message entities
-Premium
+Telegram Premium
Bot Payments API