From a975abd68004bd9641116582e34c21249fbd11fb Mon Sep 17 00:00:00 2001
From: GitHub Action After installing the attachment/side menu entry globally, opens a dialog selection form that will open the attachment menu mini app using messages.requestWebView in a specific chat (passed it to the After installing the attachment/side menu entry globally, opens a dialog selection form that will open the attachment menu mini app using messages.requestWebView in a specific chat (pass it to the Open in any chat
-peer
parameter of messages.requestWebView). peer
parameter of messages.requestWebView). t.me
syntax:
diff --git a/data/web/corefork.telegram.org/api/paid-media.html b/data/web/corefork.telegram.org/api/paid-media.html
index 2c1ba479d4..60f277fa09 100644
--- a/data/web/corefork.telegram.org/api/paid-media.html
+++ b/data/web/corefork.telegram.org/api/paid-media.html
@@ -72,7 +72,11 @@ To send albums, do not use messageMediaPaidMedia constructor, containing:t.me/<bot_username>?startattach&choose=users+bots+groups+channels
t.me/<bot_username>?startattach=<start_parameter>&choose=users+bots+groups+channels
stars_amount
, the price of the media in Telegram StarsOnce the payment succeds, an updateMessageExtendedMedia will be emitted, replacing the messageExtendedMediaPreview constructors associated with the message with messageExtendedMedia constructors.
No other updates will be emitted (i.e. no updateEditChannelMessage updates will be emitted for the message containing the paid media, even if re-fetching the same messages through other means like messages.getHistory will return the revealed messageExtendedMedia constructors).
Note: the updateMessageExtendedMedia update does not have a pts
/qts
field.
+This means that this update can only be received passively via the socket (see here »), and it cannot be returned by updates.getDifference or updates.getChannelDifference.
+This implies that if a certain client is offline, and another session purchases a paid media, the first client will not receive the revealed messageExtendedMedia constructors when it reconnects to the server, and it would have no way to know that a paid media can be revealed to the user.
To bypass this issue, if:
+id
.The associated starsTransaction that will be generated will be of type starsTransactionPeer (with peer
equal to the channel), msg_id
equal to the message ID of the paid media and extended_media
set to the revealed paid media.
Get information about extended media
+Fetch updated information about paid media, see here » for the full flow.
+This method will return an array of updateMessageExtendedMedia updates, only for messages containing already bought paid media.
+No information will be returned for messages containing not yet bought paid media.