diff --git a/data/web/corefork.telegram.org.html b/data/web/corefork.telegram.org.html index 53e6dc3c2e..b27bc0505d 100644 --- a/data/web/corefork.telegram.org.html +++ b/data/web/corefork.telegram.org.html @@ -155,6 +155,8 @@ This allows the server to filter messages based on a text query, and even on the

Telegram allows sending polls and quizzes, that can be voted on by thousands, if not millions of users in chats and channels.

Reactions

Telegram allows users to react on any message using specific emojis, triggering cute lottie animations.

+

Animated message effects

+

Telegram allows adding spectacular animated effects to messages you send.

Emoji status

Telegram allows users to set an emoticon or a custom emoji as status, to show next to their name in chats and profiles.

Invite links and join requests

diff --git a/data/web/corefork.telegram.org/api.html b/data/web/corefork.telegram.org/api.html index 53e6dc3c2e..b27bc0505d 100644 --- a/data/web/corefork.telegram.org/api.html +++ b/data/web/corefork.telegram.org/api.html @@ -155,6 +155,8 @@ This allows the server to filter messages based on a text query, and even on the

Telegram allows sending polls and quizzes, that can be voted on by thousands, if not millions of users in chats and channels.

Reactions

Telegram allows users to react on any message using specific emojis, triggering cute lottie animations.

+

Animated message effects

+

Telegram allows adding spectacular animated effects to messages you send.

Emoji status

Telegram allows users to set an emoticon or a custom emoji as status, to show next to their name in chats and profiles.

Invite links and join requests

diff --git a/data/web/corefork.telegram.org/api/files.html b/data/web/corefork.telegram.org/api/files.html index c2fffaa3c6..5d65c28a3f 100644 --- a/data/web/corefork.telegram.org/api/files.html +++ b/data/web/corefork.telegram.org/api/files.html @@ -247,7 +247,7 @@ The data for the input parameter of the InputF

For photos, inputPhotoFileLocation is used:

  • @@ -262,7 +262,7 @@ The data for the input parameter of the InputF

    For documents, inputDocumentFileLocation is used:

  • @@ -463,7 +463,7 @@ path += "z" </svg>

    Video types

    videoSize#de33b094 flags:# type:string w:int h:int size:int video_start_ts:flags.0?double = VideoSize;
    -

    A videoSize constructor is typically used for animated profile pictures and video previews.

    +

    A videoSize constructor is typically used for animated profile pictures, video previews and premium sticker effects ».

    @@ -483,6 +483,11 @@ path += "z" + + + + +
    Video preview MPEG4
    fPremium sticker effect »TGS »

    Downloading webfiles

    diff --git a/data/web/corefork.telegram.org/api/layers.html b/data/web/corefork.telegram.org/api/layers.html index 68b9452e10..302e7e8603 100644 --- a/data/web/corefork.telegram.org/api/layers.html +++ b/data/web/corefork.telegram.org/api/layers.html @@ -142,7 +142,7 @@
    New Constructors
    @@ -218,9 +218,9 @@
    New Constructors
    Changed Constructors
    diff --git a/data/web/corefork.telegram.org/api/reactions.html b/data/web/corefork.telegram.org/api/reactions.html index 0eed275517..152c8779ad 100644 --- a/data/web/corefork.telegram.org/api/reactions.html +++ b/data/web/corefork.telegram.org/api/reactions.html @@ -100,10 +100,10 @@ Use messages.readReactions to mark account.setReactionsNotifySettings#316ce548 settings:ReactionsNotifySettings = ReactionsNotifySettings; account.getReactionsNotifySettings#6dd654c = ReactionsNotifySettings; -

    Users may choose to receive notifications about reactions sent to their messages and stories by any user, or only by contacts.

    +

    Users may choose to receive notifications about reactions sent to their messages and stories by any user, only by contacts, or completely disable them.

    These reaction notification settings may be changed using account.setReactionsNotifySettings, and fetched using account.getReactionsNotifySettings.

    A custom notification sound » may also be set for reactions in the sound field of the reactionsNotifySettings.

    -

    If show_previews=false, push notifications about reactions will not

    +

    If show_previews=false, push notifications » about message/story reactions will only be of type REACT_HIDDEN/REACT_STORY_HIDDEN, without any information about the reacted-to story or the reaction itself.

    Animated normal emojis

    reactionEmoji#1b2286b8 emoticon:string = Reaction;
     
    diff --git a/data/web/corefork.telegram.org/api/stickers.html b/data/web/corefork.telegram.org/api/stickers.html
    index ba0484b1d7..5a40850441 100644
    --- a/data/web/corefork.telegram.org/api/stickers.html
    +++ b/data/web/corefork.telegram.org/api/stickers.html
    @@ -100,6 +100,20 @@
     
     

    They're identified by mime_type field of the associated document, always equal to application/x-tgsticker.

    See here » for tips on how to create the perfect animated sticker, and here » for info on how to upload it using the API.

    +
    Premium animated sticker effects
    +
    document#8fd4c4d8 flags:# id:long access_hash:long file_reference:bytes date:int mime_type:string size:long thumbs:flags.0?Vector<PhotoSize> video_thumbs:flags.1?Vector<VideoSize> dc_id:int attributes:Vector<DocumentAttribute> = Document;
    +
    +videoSize#de33b094 flags:# type:string w:int h:int size:int video_start_ts:flags.0?double = VideoSize;
    +
    +inputDocumentFileLocation#bad07584 id:long access_hash:long file_reference:bytes thumb_size:string = InputFileLocation;
    +

    Some animated stickers also have an attached animated effect (as another Lottie animation), that should be played once the sticker is inside the viewport.

    +

    This effect is larger than the sticker itself, and should be located under the main sticker animation, but also over any other nearby UI element.

    +

    It should be played the first time the sticker scrolls into view; it should be played again if the chat is closed and then opened again.

    +

    Premium stickers may only be sent by users with a Premium subscription, and the animated effect should be played by all users, including those without a Premium subscription.

    +

    A premium sticker is identified by the presence of a videoSize of type=f in the sticker's main document.
    +The lottie file of the animated effect may be fetched by using inputDocumentFileLocation with thumb_size=f, as specified here ».

    +

    Note that animated message effects » can also re-use the animated effect of a premium sticker.

    +

    Also, premium animated stickers may be sent with an extra animated message effect », in which case both the effect of the sticker and the additional effect should be played simultaneously.

    Video stickers

    Video stickers are VP9 videos with the following specs:

      diff --git a/data/web/corefork.telegram.org/constructor/availableEffect.html b/data/web/corefork.telegram.org/constructor/availableEffect.html index 537a3e5be8..2cddbd9ccb 100644 --- a/data/web/corefork.telegram.org/constructor/availableEffect.html +++ b/data/web/corefork.telegram.org/constructor/availableEffect.html @@ -4,36 +4,10 @@ availableEffect - + - + @@ -68,7 +42,9 @@ emoticon…">

      availableEffect

      -

      +

      Represents a message effect ».

      +

      All long IDs except for id are document.ids from the containing messages.availableEffects constructor.

      +

      +

      AvailableEffect

      +

      Related pages

      +

      Telegram Premium

      +

      Telegram Premium is an optional subscription service that unlocks additional exclusive client-side and API-side features, while helping support the development of the app.

      +

      Stickers

      +

      Telegram clients support displaying static and animated stickers.

      +

      videoSize

      +

      An animated profile picture in MPEG4 format

      +

      Animated message effects

      +

      Telegram allows adding spectacular animated effects to messages you send.

      +

      document

      +

      Document

      +

      messages.availableEffects

      diff --git a/data/web/corefork.telegram.org/constructor/reactionNotificationsFromAll.html b/data/web/corefork.telegram.org/constructor/reactionNotificationsFromAll.html index 4efd8f5efd..7c2e470800 100644 --- a/data/web/corefork.telegram.org/constructor/reactionNotificationsFromAll.html +++ b/data/web/corefork.telegram.org/constructor/reactionNotificationsFromAll.html @@ -4,16 +4,10 @@ reactionNotificationsFromAll - + - + @@ -48,7 +42,8 @@ ReactionNotificationsFrom">

      reactionNotificationsFromAll

      -

      +

      Receive notifications about reactions made by any user.

      +