From 57b6fb2e00f9d5d9946d03da1f6052356355a502 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Mon, 20 Mar 2023 21:35:48 +0000 Subject: [PATCH] Update content of files --- ...inputStickerSetEmojiDefaultTopicIcons.html | 118 ------------------ .../web/corefork.telegram.org/api/layers.html | 6 +- data/web/corefork.telegram.org/api/links.html | 24 ++++ .../constructor/exportedContactToken.html | 38 ++---- .../method/channels.createForumTopic | 5 +- .../method/channels.editForumTopic | 5 +- .../method/contacts.exportContactToken | 20 ++- .../method/contacts.importContactToken | 32 ++--- data/web/corefork.telegram.org/methods.html | 4 +- .../type/ExportedContactToken.html | 34 ++--- data/web/corefork.telegram.org/type/User.html | 2 +- 11 files changed, 73 insertions(+), 215 deletions(-) delete mode 100644 data/web/corefork.telegram.org/api/constructor/inputStickerSetEmojiDefaultTopicIcons.html diff --git a/data/web/corefork.telegram.org/api/constructor/inputStickerSetEmojiDefaultTopicIcons.html b/data/web/corefork.telegram.org/api/constructor/inputStickerSetEmojiDefaultTopicIcons.html deleted file mode 100644 index 3c174d560a..0000000000 --- a/data/web/corefork.telegram.org/api/constructor/inputStickerSetEmojiDefaultTopicIcons.html +++ /dev/null @@ -1,118 +0,0 @@ - - - - - Page not found - - - - - - - - - - - - - - - - -
- -
-
-
- -

Page not found

- -
The page has not been saved
- -
- -
-
- -
- - - - - - diff --git a/data/web/corefork.telegram.org/api/layers.html b/data/web/corefork.telegram.org/api/layers.html index 8752c4525a..2fa142a7b2 100644 --- a/data/web/corefork.telegram.org/api/layers.html +++ b/data/web/corefork.telegram.org/api/layers.html @@ -319,8 +319,8 @@
  • Added channels.reportAntiSpamFalsePositive - Report a native antispam false positive
  • Added messages.setDefaultHistoryTTL -
  • Added messages.getDefaultHistoryTTL -
  • -
  • Added contacts.exportContactToken -
  • -
  • Added contacts.importContactToken -
  • +
  • Added contacts.exportContactToken - Generates a temporary profile link for the currently logged-in user.
  • +
  • Added contacts.importContactToken - Obtain user info from a temporary profile link.
  • Changed Methods
    Changed Constructors
    diff --git a/data/web/corefork.telegram.org/api/links.html b/data/web/corefork.telegram.org/api/links.html index 8f352b3cac..255480f423 100644 --- a/data/web/corefork.telegram.org/api/links.html +++ b/data/web/corefork.telegram.org/api/links.html @@ -84,6 +84,30 @@

    Note that message links have the same syntax, with extra parameters.

    +

    Temporary profile links

    +

    Used to link to user profiles, generated using contacts.exportContactToken.
    +These links have an expiration date, specified by the expires field of the exportedContactToken constructor returned by contacts.exportContactToken.

    +

    t.me syntax:

    +
    t.me/contact/<token>
    +

    tg: syntax:

    +
    tg://contact?token=<token>
    +

    Parameters:

    + + + + + + + + + + + + + + + +
    NameOptionalDescription
    tokenRequiredProfile token to import using contacts.importContactToken, will return user information.

    Phone number links

    Used to link to public and private users by their phone number.

    t.me syntax:

    diff --git a/data/web/corefork.telegram.org/constructor/exportedContactToken.html b/data/web/corefork.telegram.org/constructor/exportedContactToken.html index 417f1f1abb..df20ada9d0 100644 --- a/data/web/corefork.telegram.org/constructor/exportedContactToken.html +++ b/data/web/corefork.telegram.org/constructor/exportedContactToken.html @@ -4,32 +4,10 @@ exportedContactToken - + - + @@ -64,7 +42,8 @@ ExportedContactToken">

    exportedContactToken

    -

    +

    Describes a temporary profile link.

    +

    +

    ExportedContactToken

    +

    Related pages

    +

    Deep links

    +

    Telegram clients must handle special tg:// and t.me deep links encountered in messages, link entities and in other apps by registering OS handlers.

    diff --git a/data/web/corefork.telegram.org/method/channels.createForumTopic b/data/web/corefork.telegram.org/method/channels.createForumTopic index 95ba00ba22..5eddacb31d 100644 --- a/data/web/corefork.telegram.org/method/channels.createForumTopic +++ b/data/web/corefork.telegram.org/method/channels.createForumTopic @@ -97,7 +97,7 @@ icon_emoji_id flags.3?long -ID of the custom emoji used as topic icon. Telegram Premium users can use any custom emoji, other users can only use the custom emojis contained in the inputStickerSetEmojiDefaultTopicIcons emoji pack. +ID of the custom emoji used as topic icon. Telegram Premium users can use any custom emoji, other users can only use the custom emojis contained in the inputStickerSetEmojiDefaultTopicIcons emoji pack. random_id @@ -117,7 +117,8 @@

    Related pages

    Custom emojis

    Telegram allows including animated and static custom emojis inside of messages.

    -

    Telegram Premium

    +

    Telegram Premium

    +

    inputStickerSetEmojiDefaultTopicIcons

    diff --git a/data/web/corefork.telegram.org/method/channels.editForumTopic b/data/web/corefork.telegram.org/method/channels.editForumTopic index 6cf8c7e46d..75567ab16b 100644 --- a/data/web/corefork.telegram.org/method/channels.editForumTopic +++ b/data/web/corefork.telegram.org/method/channels.editForumTopic @@ -97,7 +97,7 @@ icon_emoji_id flags.1?long -If present, updates the custom emoji used as topic icon. Telegram Premium users can use any custom emoji, other users can only use the custom emojis contained in the inputStickerSetEmojiDefaultTopicIcons emoji pack. Pass 0 to switch to the fallback topic icon. +If present, updates the custom emoji used as topic icon. Telegram Premium users can use any custom emoji, other users can only use the custom emojis contained in the inputStickerSetEmojiDefaultTopicIcons emoji pack. Pass 0 to switch to the fallback topic icon. closed @@ -117,7 +117,8 @@

    Related pages

    Custom emojis

    Telegram allows including animated and static custom emojis inside of messages.

    -

    Telegram Premium

    +

    Telegram Premium

    +

    inputStickerSetEmojiDefaultTopicIcons

    diff --git a/data/web/corefork.telegram.org/method/contacts.exportContactToken b/data/web/corefork.telegram.org/method/contacts.exportContactToken index 3ac506f100..f8677b5e62 100644 --- a/data/web/corefork.telegram.org/method/contacts.exportContactToken +++ b/data/web/corefork.telegram.org/method/contacts.exportContactToken @@ -4,18 +4,10 @@ contacts.exportContactToken - + - + @@ -50,7 +42,8 @@ Bots can use this method">

    contacts.exportContactToken

    -

    +

    Generates a temporary profile link for the currently logged-in user.

    +

    +

    Bots can use this method

    +

    Related pages

    +

    Deep links

    +

    Telegram clients must handle special tg:// and t.me deep links encountered in messages, link entities and in other apps by registering OS handlers.

    diff --git a/data/web/corefork.telegram.org/method/contacts.importContactToken b/data/web/corefork.telegram.org/method/contacts.importContactToken index 406029c921..36398ebf4c 100644 --- a/data/web/corefork.telegram.org/method/contacts.importContactToken +++ b/data/web/corefork.telegram.org/method/contacts.importContactToken @@ -4,28 +4,10 @@ contacts.importContactToken - + - + @@ -60,7 +42,8 @@ Bots can use this method">

    contacts.importContactToken

    -

    +

    Obtain user info from a temporary profile link.

    +

    +

    Bots can use this method

    +

    Related pages

    +

    Deep links

    +

    Telegram clients must handle special tg:// and t.me deep links encountered in messages, link entities and in other apps by registering OS handlers.

    diff --git a/data/web/corefork.telegram.org/methods.html b/data/web/corefork.telegram.org/methods.html index cb90671b43..03a53addd5 100644 --- a/data/web/corefork.telegram.org/methods.html +++ b/data/web/corefork.telegram.org/methods.html @@ -2688,11 +2688,11 @@ contacts.exportContactToken -  +Generates a temporary profile link for the currently logged-in user. contacts.importContactToken -  +Obtain user info from a temporary profile link. photos.uploadContactProfilePhoto diff --git a/data/web/corefork.telegram.org/type/ExportedContactToken.html b/data/web/corefork.telegram.org/type/ExportedContactToken.html index b87559d200..a0f47708af 100644 --- a/data/web/corefork.telegram.org/type/ExportedContactToken.html +++ b/data/web/corefork.telegram.org/type/ExportedContactToken.html @@ -4,28 +4,10 @@ ExportedContactToken - + - + @@ -60,7 +42,8 @@ contacts.exportContactToken

    ExportedContactToken

    -

    +

    Describes a temporary profile link.

    +

    + +

    Related pages

    +

    Deep links

    +

    Telegram clients must handle special tg:// and t.me deep links encountered in messages, link entities and in other apps by registering OS handlers.

    diff --git a/data/web/corefork.telegram.org/type/User.html b/data/web/corefork.telegram.org/type/User.html index 5699a70e88..a00d0fa063 100644 --- a/data/web/corefork.telegram.org/type/User.html +++ b/data/web/corefork.telegram.org/type/User.html @@ -107,7 +107,7 @@ contacts.importContactToken -  +Obtain user info from a temporary profile link.