diff --git a/data/web/corefork.telegram.org/api/config.html b/data/web/corefork.telegram.org/api/config.html index 9f1d6c8a91..b1273c5d95 100644 --- a/data/web/corefork.telegram.org/api/config.html +++ b/data/web/corefork.telegram.org/api/config.html @@ -96,6 +96,52 @@ While help.getConfig returns MTProto-specif
  • groupcall_video_participants_max - Maximum number of participants in a group call (livestreams allow ∞ participants) (int)
  • reactions_default - Default emoji reaction to use in the quick reaction menu, this value can be changed using messages.setDefaultReaction (string)
  • reactions_uniq_max - Maximum number of unique reaction-emojis for any given message: for example, if there are 2000 👍 and 1000 😁 reactions and reactions_uniq_max = 2, you can't add a 👎 reaction, because that would raise the number of unique reaction-emojis to 3 > 2. (integer)
  • +
  • ringtone_duration_max - The maximum duration in seconds of uploadable notification sounds &raquo (integer)
  • +
  • ringtone_size_max - The maximum size in bytes of uploadable notification sounds &raquo
  • +
  • ringtone_saved_count_max - The maximum number of saveable notification sounds &raquo
  • +
  • message_animated_emoji_max - Maximum number of custom animated emojis that may be present in a message. (integer)
  • +
  • premium_purchase_blocked - (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)
  • +
  • saved_gifs_limit_premium - The maximum number of GIFs a Premium user may save (integer)
  • +
  • stickers_faved_limit_default - The maximum number of stickers a non-Premium user may add to Favorites (integer)
  • +
  • stickers_faved_limit_premium - The maximum number of stickers a Premium user may add to Favorites (integer)
  • +
  • dialog_filters_limit_default - The maximum number of folders a non-Premium user may create (integer)
  • +
  • dialog_filters_limit_premium - The maximum number of folders a Premium user may create (integer)
  • +
  • dialog_filters_chats_limit_default - The maximum number of chats a non-Premium user may add to a folder (integer)
  • +
  • dialog_filters_chats_limit_premium - The maximum number of chats a Premium user may add to a folder (integer)
  • +
  • dialogs_pinned_limit_default - The maximum number of chats a non-Premium user may pin (integer)
  • +
  • dialogs_pinned_limit_premium - The maximum number of chats a Premium user may pin (integer)
  • +
  • dialogs_folder_pinned_limit_default - The maximum number of chats a non-Premium user may pin in a folder (integer)
  • +
  • dialogs_folder_pinned_limit_premium - The maximum number of chats a Premium user may pin in a folder (integer)
  • +
  • channels_public_limit_default - The maximum number of public channels or supergroups a non-Premium user may create (integer)
  • +
  • channels_public_limit_premium - The maximum number of public channels or supergroups a Premium user may create (integer)
  • +
  • caption_length_limit_default - The maximum UTF-8 length of media captions sendable by non-Premium users (integer)
  • +
  • caption_length_limit_premium - The maximum UTF-8 length of media captions sendable by non-Premium users (integer)
  • +
  • upload_max_fileparts_default - The maximum size of files uploadable by non-Premium users (integer, indicates the number of 512kb file parts, so the size in bytes is determined by multiplying by 524288)
  • +
  • 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 users
  • +
  • about_length_limit_premium - The maximum UTF-8 length of bios of Premium users
  • +
  • stickers_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: +
  • +
  • premium_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:

    {
    @@ -142,47 +188,47 @@ While help.getConfig returns MTProto-specif
             "\ud83c\udf83": {
                 "id": "4956223179606458539",
                 "access_hash": "-2107001400913062971",
    -            "file_reference_base64": "AGIaeBZckszt-s71DzCHhSkfZI_l"
    +            "file_reference_base64": "AGL6hV6eDoc2ebQskOpbgrzTmLp0"
             },
             "\u26b0": {
                 "id": "4956223179606458540",
                 "access_hash": "-1498869544183595185",
    -            "file_reference_base64": "AGIaeBZRfKxsAgnaLEDh5XIa8Gri"
    +            "file_reference_base64": "AGL6hV6ogj9k1yASNSBKwVV7vl4g"
             },
             "\ud83e\udddf\u200d\u2642": {
                 "id": "4960929110848176331",
                 "access_hash": "3986395821757915468",
    -            "file_reference_base64": "AGIaeBZcFga_bS9BsPvVNA2zuYCI"
    +            "file_reference_base64": "AGL6hV40Jb1xBs_pSyJKKUOZB6Qp"
             },
             "\ud83e\udddf": {
                 "id": "4960929110848176332",
                 "access_hash": "-8929417974289765626",
    -            "file_reference_base64": "AGIaeBbUbidUDCl4nImJXPTl2wWj"
    +            "file_reference_base64": "AGL6hV7D4Nslcn-v1fIuc_ND9YrF"
             },
             "\ud83e\udddf\u200d\u2640": {
                 "id": "4960929110848176333",
                 "access_hash": "9161696144162881753",
    -            "file_reference_base64": "AGIaeBb-ulJ2E-rSI2B8EKyAXs-8"
    +            "file_reference_base64": "AGL6hV7h6twxi0zgxF0aWUUypVLa"
             },
             "\ud83c\udf51": {
                 "id": "4963180910661861548",
                 "access_hash": "-7431729439735063448",
    -            "file_reference_base64": "AGIaeBa940aXpIVLThj0J2ctxYFe"
    +            "file_reference_base64": "AGL6hV7LHEomrcDDMRiTCl6iaomm"
             },
             "\ud83c\udf8a": {
                 "id": "5094064004578410732",
                 "access_hash": "8518192996098758509",
    -            "file_reference_base64": "AGIaeBZFqTTp5drt0JZ86DGDAu1t"
    +            "file_reference_base64": "AGL6hV7zlo6gnet6iEhvGDlZk8v4"
             },
             "\ud83c\udf84": {
                 "id": "5094064004578410733",
                 "access_hash": "-4142643820629256996",
    -            "file_reference_base64": "AGIaeBbEqu-gV0qAUdP5lD3MxLSK"
    +            "file_reference_base64": "AGL6hV5w-pES-k304Ko8wawZnXHu"
             },
             "\ud83e\uddbe": {
                 "id": "5094064004578410734",
                 "access_hash": "-8934384022571962340",
    -            "file_reference_base64": "AGIaeBZ0YCp8_Zl_cmP4nvKkkSfF"
    +            "file_reference_base64": "AGL6hV45MFKTfB4kBAfUZWMezHfZ"
             }
         },
         "gif_search_branding": "tenor",
    @@ -232,7 +278,52 @@ While help.getConfig returns MTProto-specif
         "chat_read_mark_expire_period": 604800,
         "chat_read_mark_size_threshold": 100,
         "reactions_default": "\ud83d\udc4d",
    -    "reactions_uniq_max": 11
    +    "reactions_uniq_max": 11,
    +    "ringtone_duration_max": 5,
    +    "ringtone_size_max": 307200,
    +    "ringtone_saved_count_max": 100,
    +    "premium_purchase_blocked": false,
    +    "channels_limit_default": 500,
    +    "channels_limit_premium": 1000,
    +    "saved_gifs_limit_default": 200,
    +    "saved_gifs_limit_premium": 400,
    +    "stickers_faved_limit_default": 5,
    +    "stickers_faved_limit_premium": 10,
    +    "dialog_filters_limit_default": 10,
    +    "dialog_filters_limit_premium": 20,
    +    "dialog_filters_chats_limit_default": 100,
    +    "dialog_filters_chats_limit_premium": 200,
    +    "dialogs_pinned_limit_default": 5,
    +    "dialogs_pinned_limit_premium": 10,
    +    "dialogs_folder_pinned_limit_default": 100,
    +    "dialogs_folder_pinned_limit_premium": 200,
    +    "channels_public_limit_default": 10,
    +    "channels_public_limit_premium": 20,
    +    "caption_length_limit_default": 1024,
    +    "caption_length_limit_premium": 2048,
    +    "upload_max_fileparts_default": 4000,
    +    "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",
    +        "more_upload",
    +        "faster_download",
    +        "voice_to_text",
    +        "no_ads",
    +        "unique_reactions",
    +        "premium_stickers",
    +        "animated_emoji",
    +        "advanced_chat_management",
    +        "profile_badge",
    +        "animated_userpics",
    +        "app_icons"
    +    ],
    +    "premium_bot_username": "PremiumBot",
    +    "getfile_experimental_params": false
     }

    Suggestions

    The API can return a set of useful suggestions for users of graphical clients.

    diff --git a/data/web/corefork.telegram.org/api/discussion.html b/data/web/corefork.telegram.org/api/discussion.html index 1f6949376f..9a9db8190d 100644 --- a/data/web/corefork.telegram.org/api/discussion.html +++ b/data/web/corefork.telegram.org/api/discussion.html @@ -84,7 +84,7 @@ Before linking a supergroup to a channel, access to the supergroup's old message channels.toggleJoinToSend#e4cb9580 channel:InputChannel enabled:Bool = Updates;

    Admins may use channels.toggleJoinToSend to force users to join a discussion group before commenting.
    -The channel.join_to_send flag will be set accordingly.

    +The channel.join_to_send flag will be set accordingly, and all attempts by non-members to send a message to the group will return a CHAT_GUEST_SEND_FORBIDDEN RPC error.

    diff --git a/data/web/corefork.telegram.org/api/folders.html b/data/web/corefork.telegram.org/api/folders.html index 626bd3784e..1c9808693e 100644 --- a/data/web/corefork.telegram.org/api/folders.html +++ b/data/web/corefork.telegram.org/api/folders.html @@ -74,7 +74,7 @@ In the API, folders are called "dialog filters"; in the UI, they are typically r The UI should then show a list of suggested folder combinations.

    Once configuration is finished, apps call messages.updateDialogFilter to create or update existing folders.
    As per the dialogFilter constructor, folders have multiple flags that can be combined to determine which chats should be included in (or excluded from) the folder.
    -Folders can also have unlimited pinned chats, as determined by the pinned_peers field.

    +Folders can also have up to channels_public_limit_* pinned chats, as determined by the config and the pinned_peers field.

    To reorder existing folders, messages.updateDialogFiltersOrder should be used with the IDs of the various dialog filters.

    To delete folders, use messages.updateDialogFilter without populating the filter flag field.

    Clients can receive updateDialogFilter, updateDialogFilterOrder updates with new filter information, generated by other clients when modifying folder info.