From d0d20a4619ec77a06defac90c9fb2d61815efa61 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Wed, 13 Oct 2021 18:11:32 +0000 Subject: [PATCH] Update content of files --- data/corefork.telegram.org/api/config.html | 14 ++++++++++++-- data/corefork.telegram.org/api/srp.html | 3 ++- .../method/payments.getPaymentForm | 2 +- 3 files changed, 15 insertions(+), 4 deletions(-) diff --git a/data/corefork.telegram.org/api/config.html b/data/corefork.telegram.org/api/config.html index 19a94c757f..709727188f 100644 --- a/data/corefork.telegram.org/api/config.html +++ b/data/corefork.telegram.org/api/config.html @@ -80,6 +80,14 @@ While help.getConfig returns MTProto-specif
  • qr_login_code - Whether the login screen should show a QR code login option, possibly as default login method (string, "disabled", "primary" or "secondary")
  • dialog_filters_enabled - Whether clients should show an option for managing dialog filters AKA folders (boolean)
  • dialog_filters_tooltip - Whether clients should actively show a tooltip, inviting the user to configure dialog filters AKA folders; typically this happens when the chat list is long enough to start getting cluttered. (boolean)
  • +
  • autoarchive_setting_available - Whether clients can invoke account.setGlobalPrivacySettings with globalPrivacySettings.archive_and_mute_new_noncontact_peers = boolTrue, to automatically archive and mute new incoming chats from non-contacts. (boolean)
  • +
  • pending_suggestions - Contains a list of suggestions that should be actively shown as a tooltip to the user. Array of strings, possible values show below: +
  • Example value:

    {
    @@ -183,14 +191,16 @@ While help.getConfig returns MTProto-specif
         "stickers_emoji_suggest_only_api": false,
         "stickers_emoji_cache_time": 86400,
         "groupcall_video_participants_max": 1000,
    -    "youtube_pip": "inapp",
         "qr_login_camera": false,
         "qr_login_code": "disabled",
         "dialog_filters_enabled": true,
         "dialog_filters_tooltip": false,
         "autoarchive_setting_available": false,
         "pending_suggestions": [
    -        "VALIDATE_PHONE_NUMBER"
    +        "AUTOARCHIVE_POPULAR",
    +        "VALIDATE_PASSWORD",
    +        "VALIDATE_PHONE_NUMBER",
    +        "NEWCOMER_TICKS"
         ],
         "autologin_token": "yPsoJyg7wwd1xOC7GJchrRjcH8S-vnyc-NgdjPbnNy5hYb6CFgAAAABGkwcvAKSBUUgM3V0NdMeDpfmRzGyqTigcHSU0zwly2_EAJ9YN",
         "autologin_domains": [
    diff --git a/data/corefork.telegram.org/api/srp.html b/data/corefork.telegram.org/api/srp.html
    index 4e99f20f61..42ed2822dc 100644
    --- a/data/corefork.telegram.org/api/srp.html
    +++ b/data/corefork.telegram.org/api/srp.html
    @@ -210,7 +210,8 @@ Use account.resendPasswordEmailaccount.cancelPasswordEmail to cancel the verification code.

    To get the current recovery email, use account.getPasswordSettings.

    Email recovery

    -

    In order to recover a forgotten 2FA password, an email must be sent to the previously specified address using the auth.requestPasswordRecovery method. +

    In order to recover a forgotten 2FA password, an email must be sent to the previously specified address using the auth.requestPasswordRecovery method.
    +Use auth.checkRecoveryPassword to make sure that the user provided a valid code.
    Then use auth.recoverPassword with the received code to delete the current 2FA password, to set a new one follow these instructions.

    Related pages

    SRP design

    diff --git a/data/corefork.telegram.org/method/payments.getPaymentForm b/data/corefork.telegram.org/method/payments.getPaymentForm index 42413c7142..1cdc375d91 100644 --- a/data/corefork.telegram.org/method/payments.getPaymentForm +++ b/data/corefork.telegram.org/method/payments.getPaymentForm @@ -83,7 +83,7 @@ theme_params flags.0?DataJSON -  +A JSON object with the following keys, containing color theme information (integers, RGB24) to pass to the payment provider, to apply in eventual verification pages:
    bg_color - Background color
    text_color - Text color
    hint_color - Hint text color
    link_color - Link color
    button_color - Button color
    button_text_color - Button text color