From 9bde7580be1fb5b469598f8a308102902b2b96f5 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Wed, 10 Aug 2022 17:32:06 +0000 Subject: [PATCH] Update content of files --- .../web/corefork.telegram.org/api/layers.html | 24 ++++----- data/web/corefork.telegram.org/api/min.html | 2 +- .../documentAttributeCustomEmoji.html | 39 +++------------ .../constructor/messageEntityCustomEmoji.html | 49 ++++++------------- .../constructor/notificationSoundDefault.html | 13 ++--- .../constructor/notificationSoundLocal.html | 33 +++---------- .../constructor/notificationSoundNone.html | 13 ++--- .../notificationSoundRingtone.html | 29 +++-------- .../constructor/paymentFormMethod.html | 29 ++--------- .../constructor/payments.exportedInvoice | 25 ++-------- .../constructor/payments.paymentForm | 8 +-- .../constructor/peerNotifySettings.html | 6 +-- .../constructor/phoneConnection.html | 2 +- .../constructor/premiumGiftOption.html | 47 ++++-------------- .../method/account.getSavedRingtones | 9 ++-- .../method/account.saveRingtone | 9 ++-- .../method/account.uploadRingtone | 9 ++-- .../method/bots.answerWebhookJSONQuery | 5 ++ .../method/bots.sendCustomRequest | 5 ++ .../bots.setBotBroadcastDefaultAdminRights | 31 +++++++++++- .../method/bots.setBotGroupDefaultAdminRights | 31 +++++++++++- .../method/channels.deleteParticipantHistory | 3 +- .../method/channels.getSendAs | 3 +- .../method/channels.toggleJoinRequest | 9 ++-- .../method/channels.toggleJoinToSend | 9 ++-- .../method/help.getPremiumPromo | 9 ++-- .../method/messages.getAttachMenuBot | 3 +- .../method/messages.getAttachMenuBots | 9 ++-- .../method/messages.getCustomEmojiDocuments | 37 ++++++-------- .../method/messages.getEmojiStickers | 28 ++--------- .../method/messages.getFeaturedEmojiStickers | 28 ++--------- .../method/messages.getUnreadReactions | 1 - .../method/messages.prolongWebView | 3 +- .../method/messages.rateTranscribedAudio | 9 ++-- .../method/messages.readReactions | 1 - .../method/messages.requestSimpleWebView | 3 +- .../method/messages.requestWebView | 3 +- .../method/messages.sendWebViewData | 9 ++-- .../method/messages.sendWebViewResultMessage | 21 +++++++- .../method/messages.toggleBotInAttachMenu | 9 ++-- .../method/messages.transcribeAudio | 9 ++-- .../method/payments.assignAppStoreTransaction | 9 ++-- .../payments.assignPlayMarketTransaction | 9 ++-- .../method/payments.canPurchasePremium | 9 ++-- .../method/payments.exportInvoice | 27 +++++++++- .../method/payments.requestRecurringPayment | 7 ++- .../method/phone.saveCallLog | 9 ++-- data/web/corefork.telegram.org/methods.html | 46 ++++++++--------- .../type/DocumentAttribute.html | 2 +- .../type/MessageEntity.html | 2 +- .../type/NotificationSound.html | 8 +-- .../type/PaymentFormMethod.html | 2 +- .../type/PremiumGiftOption.html | 2 +- .../type/messages.AllStickers | 2 +- .../type/messages.FeaturedStickers | 2 +- .../type/payments.ExportedInvoice | 2 +- 56 files changed, 306 insertions(+), 456 deletions(-) diff --git a/data/web/corefork.telegram.org/api/layers.html b/data/web/corefork.telegram.org/api/layers.html index 5905c8cce3..f76c6e89fe 100644 --- a/data/web/corefork.telegram.org/api/layers.html +++ b/data/web/corefork.telegram.org/api/layers.html @@ -51,9 +51,9 @@ Layer…">

Schema changes

New Methods
Changed Methods
New Constructors
Changed Constructors
@@ -152,7 +152,7 @@ Layer…">
  • Added chatInvitePublicJoinRequests -
  • Added inputInvoiceMessage - An invoice contained in a messageMediaInvoice message.
  • Added inputInvoiceSlug - An invoice slug taken from a t.me/invoice/ link or from the premium_invoice_slug app config parameter »
  • -
  • Added payments.exportedInvoice -
  • +
  • Added payments.exportedInvoice - Exported invoice
  • Added updateTranscribedAudio -
  • Added messages.transcribedAudio - Transcribed text from a voice message
  • Added dialogFilterDefault -
  • @@ -288,10 +288,10 @@ Layer…">
  • Added account.savedRingtonesNotModified - The notification sound list hasn't changed.
  • Added account.savedRingtones - A list of saved notification sounds
  • Added updateSavedRingtones -
  • -
  • Added notificationSoundDefault -
  • -
  • Added notificationSoundNone -
  • -
  • Added notificationSoundLocal -
  • -
  • Added notificationSoundRingtone -
  • +
  • Added notificationSoundDefault - Indicates the default notification sound should be used
  • +
  • Added notificationSoundNone - No notification sound should be used
  • +
  • Added notificationSoundLocal - Indicates a specific local notification sound should be used
  • +
  • Added notificationSoundRingtone - A specific previously uploaded notification sound should be used
  • Added account.savedRingtone - The notification sound was already in MP3 format and was saved without any modification
  • Added account.savedRingtoneConverted - The notification sound was not in MP3 format and was successfully converted and saved, use the returned Document to refer to the notification sound from now on
  • diff --git a/data/web/corefork.telegram.org/api/min.html b/data/web/corefork.telegram.org/api/min.html index d37802ed40..ce59250f2d 100644 --- a/data/web/corefork.telegram.org/api/min.html +++ b/data/web/corefork.telegram.org/api/min.html @@ -44,7 +44,7 @@

    In some situations user and channel constructors have reduced set of fields present (although id is always there) and min flag set. This is done for performance and privacy reasons.

    When receiving said constructors, the client must first check if user or chat object without min flag is already present in local cache. If it is present, then the client should just ignore constructors with min flag and use local one instead.

    -

    The rest of article assumes the client receives min-constructor without full object in local cache.

    +

    The rest of the article assumes the client receives a min-constructor and doesn't have the full object in its local cache.

    The client must store the context (similar to file references) in which the user/channel was seen. Later, when the client needs to pass the user/channel as input argument (e.g. fetch profile, mute, ban etc), the context is used to generate the input*FromMessage constructor, instead of normal inputUser, inputChannel or inputPeer.

    diff --git a/data/web/corefork.telegram.org/method/messages.getAttachMenuBot b/data/web/corefork.telegram.org/method/messages.getAttachMenuBot index 7a9102b78f..fd08e34963 100644 --- a/data/web/corefork.telegram.org/method/messages.getAttachMenuBot +++ b/data/web/corefork.telegram.org/method/messages.getAttachMenuBot @@ -120,8 +120,7 @@ BOT_INVALID…"> This is not a valid bot. - -

    Bots can use this method

    + diff --git a/data/web/corefork.telegram.org/method/messages.getAttachMenuBots b/data/web/corefork.telegram.org/method/messages.getAttachMenuBots index 4454631464..2b90714d9a 100644 --- a/data/web/corefork.telegram.org/method/messages.getAttachMenuBots +++ b/data/web/corefork.telegram.org/method/messages.getAttachMenuBots @@ -12,8 +12,7 @@ hash long   Result -AttachMenuBots -Bots can use this method"> +AttachMenuBots"> +AttachMenuBots"> @@ -94,8 +92,7 @@ Bots can use this method">

    Result

    -

    AttachMenuBots

    -

    Bots can use this method

    +

    AttachMenuBots

    diff --git a/data/web/corefork.telegram.org/method/messages.getCustomEmojiDocuments b/data/web/corefork.telegram.org/method/messages.getCustomEmojiDocuments index ba80f88abe..1a019d700d 100644 --- a/data/web/corefork.telegram.org/method/messages.getCustomEmojiDocuments +++ b/data/web/corefork.telegram.org/method/messages.getCustomEmojiDocuments @@ -4,28 +4,10 @@ messages.getCustomEmojiDocuments - + - + @@ -60,7 +42,9 @@ Bots can use this method">

    messages.getCustomEmojiDocuments

    -

    +

    Fetch info about custom emojis.

    +

    Returns a list of documents with the animated custom emoji in TGS format, and a documentAttributeCustomEmoji attribute with the original emoji and info about the emoji stickerset this custom emoji belongs to.

    +

    +

    Bots can use this method

    +

    Related pages

    +

    messageEntityCustomEmoji

    +

    Represents a custom emoji

    +

    document

    +

    Document

    +

    documentAttributeCustomEmoji

    +

    Info about a custom emoji

    diff --git a/data/web/corefork.telegram.org/method/messages.getEmojiStickers b/data/web/corefork.telegram.org/method/messages.getEmojiStickers index d1a458f531..6fa0314dca 100644 --- a/data/web/corefork.telegram.org/method/messages.getEmojiStickers +++ b/data/web/corefork.telegram.org/method/messages.getEmojiStickers @@ -4,28 +4,10 @@ messages.getEmojiStickers - + - + @@ -60,7 +42,8 @@ Bots can use this method">

    messages.getEmojiStickers

    -

    +

    Gets the list of currently installed custom emoji stickersets.

    +

    +

    messages.AllStickers

    diff --git a/data/web/corefork.telegram.org/method/messages.getFeaturedEmojiStickers b/data/web/corefork.telegram.org/method/messages.getFeaturedEmojiStickers index c37bac5f57..f7043f7623 100644 --- a/data/web/corefork.telegram.org/method/messages.getFeaturedEmojiStickers +++ b/data/web/corefork.telegram.org/method/messages.getFeaturedEmojiStickers @@ -4,28 +4,10 @@ messages.getFeaturedEmojiStickers - + - + @@ -60,7 +42,8 @@ Bots can use this method">

    messages.getFeaturedEmojiStickers

    -

    +

    Gets featured custom emoji stickersets.

    +

    +

    messages.FeaturedStickers

    diff --git a/data/web/corefork.telegram.org/method/messages.getUnreadReactions b/data/web/corefork.telegram.org/method/messages.getUnreadReactions index f5e37a162a..616d14f207 100644 --- a/data/web/corefork.telegram.org/method/messages.getUnreadReactions +++ b/data/web/corefork.telegram.org/method/messages.getUnreadReactions @@ -105,7 +105,6 @@

    Result

    messages.Messages

    -

    Bots can use this method

    Related pages

    Pagination in the API

    How to fetch results from large lists of objects.

    diff --git a/data/web/corefork.telegram.org/method/messages.prolongWebView b/data/web/corefork.telegram.org/method/messages.prolongWebView index bada20a92f..897baa567d 100644 --- a/data/web/corefork.telegram.org/method/messages.prolongWebView +++ b/data/web/corefork.telegram.org/method/messages.prolongWebView @@ -134,8 +134,7 @@ InputUser…">

    Result

    -

    Bool

    -

    Bots can use this method

    +

    Bool

    diff --git a/data/web/corefork.telegram.org/method/messages.rateTranscribedAudio b/data/web/corefork.telegram.org/method/messages.rateTranscribedAudio index eb192d1ef5..2e6b293473 100644 --- a/data/web/corefork.telegram.org/method/messages.rateTranscribedAudio +++ b/data/web/corefork.telegram.org/method/messages.rateTranscribedAudio @@ -21,8 +21,7 @@ good Bool   Result -Bool -Bots can…"> +Bool"> +Bool"> @@ -127,8 +125,7 @@ Bots can…">

    Result

    -

    Bool

    -

    Bots can use this method

    +

    Bool

    diff --git a/data/web/corefork.telegram.org/method/messages.readReactions b/data/web/corefork.telegram.org/method/messages.readReactions index 2ab53f1d7c..4c31e19057 100644 --- a/data/web/corefork.telegram.org/method/messages.readReactions +++ b/data/web/corefork.telegram.org/method/messages.readReactions @@ -77,7 +77,6 @@

    Result

    messages.AffectedHistory

    -

    Bots can use this method

    Related pages

    Message reactions

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

    diff --git a/data/web/corefork.telegram.org/method/messages.requestSimpleWebView b/data/web/corefork.telegram.org/method/messages.requestSimpleWebView index df9744f0a9..7ef77ec411 100644 --- a/data/web/corefork.telegram.org/method/messages.requestSimpleWebView +++ b/data/web/corefork.telegram.org/method/messages.requestSimpleWebView @@ -118,8 +118,7 @@ flags.0?DataJSON…">

    Result

    -

    SimpleWebViewResult

    -

    Bots can use this method

    +

    SimpleWebViewResult

    diff --git a/data/web/corefork.telegram.org/method/messages.requestWebView b/data/web/corefork.telegram.org/method/messages.requestWebView index fb58c5916f..3b85282feb 100644 --- a/data/web/corefork.telegram.org/method/messages.requestWebView +++ b/data/web/corefork.telegram.org/method/messages.requestWebView @@ -142,8 +142,7 @@ flags.5?true…">

    Result

    -

    WebViewResult

    -

    Bots can use this method

    +

    WebViewResult

    diff --git a/data/web/corefork.telegram.org/method/messages.sendWebViewData b/data/web/corefork.telegram.org/method/messages.sendWebViewData index 61481df07a..e09bbd0e16 100644 --- a/data/web/corefork.telegram.org/method/messages.sendWebViewData +++ b/data/web/corefork.telegram.org/method/messages.sendWebViewData @@ -21,8 +21,7 @@ data string   Result -Updates -Bots…"> +Updates"> +Updates"> @@ -132,8 +130,7 @@ Bots…">

    Result

    -

    Updates

    -

    Bots can use this method

    +

    Updates

    diff --git a/data/web/corefork.telegram.org/method/messages.sendWebViewResultMessage b/data/web/corefork.telegram.org/method/messages.sendWebViewResultMessage index 8de760ba44..2d58713247 100644 --- a/data/web/corefork.telegram.org/method/messages.sendWebViewResultMessage +++ b/data/web/corefork.telegram.org/method/messages.sendWebViewResultMessage @@ -16,7 +16,7 @@ InputBotInlineResult   Result WebViewMessageSent -Bots can…"> +Possible…"> +Possible…"> @@ -105,6 +105,23 @@ Bots can…">

    Result

    WebViewMessageSent

    +

    Possible errors

    + + + + + + + + + + + + + + + +
    CodeTypeDescription
    400QUERY_ID_INVALIDThe query ID is invalid.

    Bots can use this method

    diff --git a/data/web/corefork.telegram.org/method/messages.toggleBotInAttachMenu b/data/web/corefork.telegram.org/method/messages.toggleBotInAttachMenu index 4f4968d0c4..c76cfc64ae 100644 --- a/data/web/corefork.telegram.org/method/messages.toggleBotInAttachMenu +++ b/data/web/corefork.telegram.org/method/messages.toggleBotInAttachMenu @@ -15,8 +15,7 @@ enabled Bool   Result -Bool -Bots can use this method"> +Bool"> +Bool"> @@ -105,8 +103,7 @@ Bots can use this method">

    Result

    -

    Bool

    -

    Bots can use this method

    +

    Bool

    diff --git a/data/web/corefork.telegram.org/method/messages.transcribeAudio b/data/web/corefork.telegram.org/method/messages.transcribeAudio index f2fb22d1e6..06e01cecfb 100644 --- a/data/web/corefork.telegram.org/method/messages.transcribeAudio +++ b/data/web/corefork.telegram.org/method/messages.transcribeAudio @@ -15,8 +15,7 @@ msg_id int   Result -messages.TranscribedAudio -Bots can use this method"> +messages.TranscribedAudio"> +messages.TranscribedAudio"> @@ -104,8 +102,7 @@ Bots can use this method">

    Result

    -

    messages.TranscribedAudio

    -

    Bots can use this method

    +

    messages.TranscribedAudio

    diff --git a/data/web/corefork.telegram.org/method/payments.assignAppStoreTransaction b/data/web/corefork.telegram.org/method/payments.assignAppStoreTransaction index 95b95ac1ae..3d48177a57 100644 --- a/data/web/corefork.telegram.org/method/payments.assignAppStoreTransaction +++ b/data/web/corefork.telegram.org/method/payments.assignAppStoreTransaction @@ -15,8 +15,7 @@ purpose InputStorePaymentPurpose   Result -Updates -Bots can use this method"> +Updates"> +Updates"> @@ -110,8 +108,7 @@ Bots can use this method">

    Result

    -

    Updates

    -

    Bots can use this method

    +

    Updates

    diff --git a/data/web/corefork.telegram.org/method/payments.assignPlayMarketTransaction b/data/web/corefork.telegram.org/method/payments.assignPlayMarketTransaction index 4ea815ac92..3e06c33912 100644 --- a/data/web/corefork.telegram.org/method/payments.assignPlayMarketTransaction +++ b/data/web/corefork.telegram.org/method/payments.assignPlayMarketTransaction @@ -15,8 +15,7 @@ purpose InputStorePaymentPurpose   Result -Updates -Bots can use this…"> +Updates"> +Updates"> @@ -110,8 +108,7 @@ Bots can use this…">

    Result

    -

    Updates

    -

    Bots can use this method

    +

    Updates

    diff --git a/data/web/corefork.telegram.org/method/payments.canPurchasePremium b/data/web/corefork.telegram.org/method/payments.canPurchasePremium index eef5c32707..d57bf4602c 100644 --- a/data/web/corefork.telegram.org/method/payments.canPurchasePremium +++ b/data/web/corefork.telegram.org/method/payments.canPurchasePremium @@ -12,8 +12,7 @@ purpose InputStorePaymentPurpose   Result -Bool -Bots can use this method"> +Bool"> +Bool"> @@ -94,8 +92,7 @@ Bots can use this method">

    Result

    -

    Bool

    -

    Bots can use this method

    +

    Bool

    diff --git a/data/web/corefork.telegram.org/method/payments.exportInvoice b/data/web/corefork.telegram.org/method/payments.exportInvoice index f89554a7f0..cd9245adac 100644 --- a/data/web/corefork.telegram.org/method/payments.exportInvoice +++ b/data/web/corefork.telegram.org/method/payments.exportInvoice @@ -13,7 +13,10 @@ InputMedia   Result payments.ExportedInvoice -Bots can use this method"> +Possible errors +Code +Type +Description…"> +Possible errors +Code +Type +Description…"> @@ -94,6 +100,23 @@ Bots can use this method">

    Result

    payments.ExportedInvoice

    +

    Possible errors

    + + + + + + + + + + + + + + + +
    CodeTypeDescription
    400MEDIA_INVALIDMedia invalid.

    Bots can use this method

    diff --git a/data/web/corefork.telegram.org/method/payments.requestRecurringPayment b/data/web/corefork.telegram.org/method/payments.requestRecurringPayment index 888a91a88f..a159763820 100644 --- a/data/web/corefork.telegram.org/method/payments.requestRecurringPayment +++ b/data/web/corefork.telegram.org/method/payments.requestRecurringPayment @@ -18,7 +18,7 @@ invoice_media InputMedia   Result -Updates…"> +Updates"> +Updates"> @@ -119,8 +119,7 @@ Updates…">

    Result

    -

    Updates

    -

    Bots can use this method

    +

    Updates

    diff --git a/data/web/corefork.telegram.org/method/phone.saveCallLog b/data/web/corefork.telegram.org/method/phone.saveCallLog index efa3ecc481..135b3336b6 100644 --- a/data/web/corefork.telegram.org/method/phone.saveCallLog +++ b/data/web/corefork.telegram.org/method/phone.saveCallLog @@ -15,8 +15,7 @@ file InputFile   Result -Bool -Bots can use this method"> +Bool"> +Bool"> @@ -105,8 +103,7 @@ Bots can use this method">

    Result

    -

    Bool

    -

    Bots can use this method

    +

    Bool

    diff --git a/data/web/corefork.telegram.org/methods.html b/data/web/corefork.telegram.org/methods.html index 7bb373ddda..d9203e59ad 100644 --- a/data/web/corefork.telegram.org/methods.html +++ b/data/web/corefork.telegram.org/methods.html @@ -1125,29 +1125,6 @@ -

    Working with animated emojis

    - - - - - - - - - - - - - - - - - - - - - -
    NameDescription
    messages.getCustomEmojiDocuments 
    messages.getEmojiStickers 
    messages.getFeaturedEmojiStickers 

    Working with bot admin right suggestions

    @@ -1401,6 +1378,29 @@
    +

    Working with custom animated emojis

    + + + + + + + + + + + + + + + + + + + + + +
    NameDescription
    messages.getCustomEmojiDocumentsFetch info about custom emojis.

    Returns a list of documents with the animated custom emoji in TGS format, and a documentAttributeCustomEmoji attribute with the original emoji and info about the emoji stickerset this custom emoji belongs to.
    messages.getEmojiStickersGets the list of currently installed custom emoji stickersets.
    messages.getFeaturedEmojiStickersGets featured custom emoji stickersets.

    Working with dialogs

    diff --git a/data/web/corefork.telegram.org/type/DocumentAttribute.html b/data/web/corefork.telegram.org/type/DocumentAttribute.html index 73f72bce90..8ead8b5371 100644 --- a/data/web/corefork.telegram.org/type/DocumentAttribute.html +++ b/data/web/corefork.telegram.org/type/DocumentAttribute.html @@ -102,7 +102,7 @@ - +
    documentAttributeCustomEmoji Info about a custom emoji
    diff --git a/data/web/corefork.telegram.org/type/MessageEntity.html b/data/web/corefork.telegram.org/type/MessageEntity.html index 4d01d622d2..680908c916 100644 --- a/data/web/corefork.telegram.org/type/MessageEntity.html +++ b/data/web/corefork.telegram.org/type/MessageEntity.html @@ -167,7 +167,7 @@ messageEntityCustomEmoji -  +Represents an animated emoji diff --git a/data/web/corefork.telegram.org/type/NotificationSound.html b/data/web/corefork.telegram.org/type/NotificationSound.html index aa79a1bd27..a98bc1559e 100644 --- a/data/web/corefork.telegram.org/type/NotificationSound.html +++ b/data/web/corefork.telegram.org/type/NotificationSound.html @@ -70,19 +70,19 @@ notificationSoundDefault -  +Indicates the default notification sound should be used notificationSoundNone -  +No notification sound should be used notificationSoundLocal -  +Indicates a specific local notification sound should be used notificationSoundRingtone -  +A specific previously uploaded notification sound should be used diff --git a/data/web/corefork.telegram.org/type/PaymentFormMethod.html b/data/web/corefork.telegram.org/type/PaymentFormMethod.html index 8ff49ce8e3..d099413833 100644 --- a/data/web/corefork.telegram.org/type/PaymentFormMethod.html +++ b/data/web/corefork.telegram.org/type/PaymentFormMethod.html @@ -67,7 +67,7 @@ paymentFormMethod -  +Represents a payment method diff --git a/data/web/corefork.telegram.org/type/PremiumGiftOption.html b/data/web/corefork.telegram.org/type/PremiumGiftOption.html index 783104589f..a05b172294 100644 --- a/data/web/corefork.telegram.org/type/PremiumGiftOption.html +++ b/data/web/corefork.telegram.org/type/PremiumGiftOption.html @@ -67,7 +67,7 @@ premiumGiftOption -  +Telegram Premium gift option diff --git a/data/web/corefork.telegram.org/type/messages.AllStickers b/data/web/corefork.telegram.org/type/messages.AllStickers index f13d84dfe7..197f49ea66 100644 --- a/data/web/corefork.telegram.org/type/messages.AllStickers +++ b/data/web/corefork.telegram.org/type/messages.AllStickers @@ -101,7 +101,7 @@ messages.getEmojiStickers -  +Gets the list of currently installed custom emoji stickersets. diff --git a/data/web/corefork.telegram.org/type/messages.FeaturedStickers b/data/web/corefork.telegram.org/type/messages.FeaturedStickers index 355ba1d2b5..add13212b1 100644 --- a/data/web/corefork.telegram.org/type/messages.FeaturedStickers +++ b/data/web/corefork.telegram.org/type/messages.FeaturedStickers @@ -101,7 +101,7 @@ messages.getFeaturedEmojiStickers -  +Gets featured custom emoji stickersets. diff --git a/data/web/corefork.telegram.org/type/payments.ExportedInvoice b/data/web/corefork.telegram.org/type/payments.ExportedInvoice index daac0f7476..ad22c76f47 100644 --- a/data/web/corefork.telegram.org/type/payments.ExportedInvoice +++ b/data/web/corefork.telegram.org/type/payments.ExportedInvoice @@ -71,7 +71,7 @@ payments.exportedInvoice -  +Exported invoice