From 17f890889de518ea37ffa6466ed8e29bfb6e6a5f Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Tue, 18 Jan 2022 13:22:46 +0000 Subject: [PATCH] Update content of files --- .../constructor/account.privacyRules | 157 +++++++++++ .../constructor/accountDaysTTL.html | 147 ++++++++++ .../decryptedMessageMediaGeoPoint.html | 153 ++++++++++ .../constructor/inputMessagesFilterUrl.html | 132 +++++++++ .../method/upload.saveFilePart | 183 ++++++++++++ .../type/InputGroupCall.html | 143 ++++++++++ .../type/account.TmpPassword | 162 +++++++++++ data/core.telegram.org/type/help.UserInfo | 172 ++++++++++++ data/core.telegram.org/type/messages.Chats | 198 +++++++++++++ .../api/recent-actions.html | 154 +++++++++++ .../type/account.TmpPassword | 162 +++++++++++ data/desktop.telegram.org.html | 75 +++++ data/desktop.telegram.org/changelog.html | 179 ++++++++++++ data/telegram.org/blog/animated-stickers.html | 261 ++++++++++++++++++ 14 files changed, 2278 insertions(+) create mode 100644 data/core.telegram.org/constructor/account.privacyRules create mode 100644 data/core.telegram.org/constructor/accountDaysTTL.html create mode 100644 data/core.telegram.org/constructor/decryptedMessageMediaGeoPoint.html create mode 100644 data/core.telegram.org/constructor/inputMessagesFilterUrl.html create mode 100644 data/core.telegram.org/method/upload.saveFilePart create mode 100644 data/core.telegram.org/type/InputGroupCall.html create mode 100644 data/core.telegram.org/type/account.TmpPassword create mode 100644 data/core.telegram.org/type/help.UserInfo create mode 100644 data/core.telegram.org/type/messages.Chats create mode 100644 data/corefork.telegram.org/api/recent-actions.html create mode 100644 data/corefork.telegram.org/type/account.TmpPassword create mode 100644 data/desktop.telegram.org.html create mode 100644 data/desktop.telegram.org/changelog.html create mode 100644 data/telegram.org/blog/animated-stickers.html diff --git a/data/core.telegram.org/constructor/account.privacyRules b/data/core.telegram.org/constructor/account.privacyRules new file mode 100644 index 0000000000..46337ebbae --- /dev/null +++ b/data/core.telegram.org/constructor/account.privacyRules @@ -0,0 +1,157 @@ + + + + + account.privacyRules + + + + + + + + + + + + + +
+ +
+
+
+ +

account.privacyRules

+ +

Privacy rules

+

+ +
+
account.privacyRules#50a04e45 rules:Vector<PrivacyRule> chats:Vector<Chat> users:Vector<User> = account.PrivacyRules;

+

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
rulesVector<PrivacyRule>Privacy rules
chatsVector<Chat>Chats to which the rules apply
usersVector<User>Users to which the rules apply
+

Type

+

account.PrivacyRules

+ +
+ +
+
+ +
+ + + + + + diff --git a/data/core.telegram.org/constructor/accountDaysTTL.html b/data/core.telegram.org/constructor/accountDaysTTL.html new file mode 100644 index 0000000000..c0ef3668e3 --- /dev/null +++ b/data/core.telegram.org/constructor/accountDaysTTL.html @@ -0,0 +1,147 @@ + + + + + accountDaysTTL + + + + + + + + + + + + + +
+ +
+
+
+ +

accountDaysTTL

+ +

Time to live in days of the current account

+

+ +
+
accountDaysTTL#b8d0afdf days:int = AccountDaysTTL;

+

Parameters

+ + + + + + + + + + + + + + + +
NameTypeDescription
daysintThis account will self-destruct in the specified number of days
+

Type

+

AccountDaysTTL

+ +
+ +
+
+ +
+ + + + + + diff --git a/data/core.telegram.org/constructor/decryptedMessageMediaGeoPoint.html b/data/core.telegram.org/constructor/decryptedMessageMediaGeoPoint.html new file mode 100644 index 0000000000..6bd97831ff --- /dev/null +++ b/data/core.telegram.org/constructor/decryptedMessageMediaGeoPoint.html @@ -0,0 +1,153 @@ + + + + + decryptedMessageMediaGeoPoint + + + + + + + + + + + + + +
+ +
+
+
+ +

decryptedMessageMediaGeoPoint

+ +

GeoPont attached to an encrypted message.

+

+ +
+
===8===
+decryptedMessageMediaGeoPoint#35480a59 lat:double long:double = DecryptedMessageMedia;

+

Parameters

+ + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
latdoubleLatitude of point
longdoubleLongtitude of point
+

Type

+

DecryptedMessageMedia

+ +
+ +
+
+ +
+ + + + + + diff --git a/data/core.telegram.org/constructor/inputMessagesFilterUrl.html b/data/core.telegram.org/constructor/inputMessagesFilterUrl.html new file mode 100644 index 0000000000..7df7ab51c8 --- /dev/null +++ b/data/core.telegram.org/constructor/inputMessagesFilterUrl.html @@ -0,0 +1,132 @@ + + + + + inputMessagesFilterUrl + + + + + + + + + + + + + +
+ +
+
+
+ +

inputMessagesFilterUrl

+ +

Return only messages containing URLs

+

+ +
+
inputMessagesFilterUrl#7ef0dd87 = MessagesFilter;

+

Parameters

+

This constructor does not require any parameters.

+

Type

+

MessagesFilter

+ +
+ +
+
+ +
+ + + + + + diff --git a/data/core.telegram.org/method/upload.saveFilePart b/data/core.telegram.org/method/upload.saveFilePart new file mode 100644 index 0000000000..f70f3ead83 --- /dev/null +++ b/data/core.telegram.org/method/upload.saveFilePart @@ -0,0 +1,183 @@ + + + + + upload.saveFilePart + + + + + + + + + + + + + +
+ +
+
+
+ +

upload.saveFilePart

+ +

Saves a part of file for futher sending to one of the methods.

+

+ +
+
boolFalse#bc799737 = Bool;
+boolTrue#997275b5 = Bool;
+---functions---
+upload.saveFilePart#b304a621 file_id:long file_part:int bytes:bytes = Bool;

+

Parameters

+ + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeDescription
file_idlongRandom file identifier created by the client
file_partintNumerical order of a part
bytesbytesBinary data, contend of a part
+

Result

+

Bool

+

Possible errors

+ + + + + + + + + + + + + + + + + + + + +
CodeTypeDescription
400FILE_PART_EMPTYThe provided file part is empty.
400FILE_PART_INVALIDThe file part number is invalid.
+

Bots can use this method

+ +
+ +
+
+ +
+ + + + + + diff --git a/data/core.telegram.org/type/InputGroupCall.html b/data/core.telegram.org/type/InputGroupCall.html new file mode 100644 index 0000000000..c1dc72f9a4 --- /dev/null +++ b/data/core.telegram.org/type/InputGroupCall.html @@ -0,0 +1,143 @@ + + + + + InputGroupCall + + + + + + + + + + + + + +
+ +
+
+
+ +

InputGroupCall

+ +

Indicates a group call

+

+ +
+
inputGroupCall#d8aa840f id:long access_hash:long = InputGroupCall;

+

Constructors

+ + + + + + + + + + + + + +
ConstructorDescription
inputGroupCallPoints to a specific group call
+ +
+ +
+
+ +
+ + + + + + diff --git a/data/core.telegram.org/type/account.TmpPassword b/data/core.telegram.org/type/account.TmpPassword new file mode 100644 index 0000000000..3a97076220 --- /dev/null +++ b/data/core.telegram.org/type/account.TmpPassword @@ -0,0 +1,162 @@ + + + + + Account.TmpPassword + + + + + + + + + + + + + +
+ +
+
+
+ +

Account.TmpPassword

+ +

Temporary password

+

+ +
+
account.tmpPassword#db64fd34 tmp_password:bytes valid_until:int = account.TmpPassword;
+
+---functions---
+
+account.getTmpPassword#449e0b51 password:InputCheckPasswordSRP period:int = account.TmpPassword;

+

Constructors

+ + + + + + + + + + + + + +
ConstructorDescription
account.tmpPasswordTemporary payment password
+

Methods

+ + + + + + + + + + + + + +
MethodDescription
account.getTmpPasswordGet temporary payment password
+ +
+ +
+
+ +
+ + + + + + diff --git a/data/core.telegram.org/type/help.UserInfo b/data/core.telegram.org/type/help.UserInfo new file mode 100644 index 0000000000..3e21ed83d3 --- /dev/null +++ b/data/core.telegram.org/type/help.UserInfo @@ -0,0 +1,172 @@ + + + + + Help.UserInfo + + + + + + + + + + + + + +
+ +
+
+
+ +

Help.UserInfo

+ +

User info

+

+ +
+
help.userInfoEmpty#f3ae2eed = help.UserInfo;
+help.userInfo#1eb3758 message:string entities:Vector<MessageEntity> author:string date:int = help.UserInfo;
+
+---functions---
+
+help.getUserInfo#38a08d3 user_id:InputUser = help.UserInfo;
+help.editUserInfo#66b91b70 user_id:InputUser message:string entities:Vector<MessageEntity> = help.UserInfo;

+

Constructors

+ + + + + + + + + + + + + + + + + +
ConstructorDescription
help.userInfoEmptyInternal use
help.userInfoInternal use
+

Methods

+ + + + + + + + + + + + + + + + + +
MethodDescription
help.getUserInfoInternal use
help.editUserInfoInternal use
+ +
+ +
+
+ +
+ + + + + + diff --git a/data/core.telegram.org/type/messages.Chats b/data/core.telegram.org/type/messages.Chats new file mode 100644 index 0000000000..89288e129c --- /dev/null +++ b/data/core.telegram.org/type/messages.Chats @@ -0,0 +1,198 @@ + + + + + messages.Chats + + + + + + + + + + + + + +
+ +
+
+
+ +

messages.Chats

+ +

Object contains list of chats with auxiliary data.

+

+ +
+
messages.chats#64ff9fd5 chats:Vector<Chat> = messages.Chats;
+messages.chatsSlice#9cd81144 count:int chats:Vector<Chat> = messages.Chats;
+
+---functions---
+
+messages.getChats#49e9528f id:Vector<long> = messages.Chats;
+messages.getCommonChats#e40ca104 user_id:InputUser max_id:long limit:int = messages.Chats;
+messages.getAllChats#875f74be except_ids:Vector<long> = messages.Chats;
+
+channels.getChannels#a7f6bbb id:Vector<InputChannel> = messages.Chats;
+channels.getAdminedPublicChannels#f8b036af flags:# by_location:flags.0?true check_limit:flags.1?true = messages.Chats;
+channels.getLeftChannels#8341ecc0 offset:int = messages.Chats;
+channels.getGroupsForDiscussion#f5dad378 = messages.Chats;

+

Constructors

+ + + + + + + + + + + + + + + + + +
ConstructorDescription
messages.chatsList of chats with auxiliary data.
messages.chatsSlicePartial list of chats, more would have to be fetched with pagination
+

Methods

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
MethodDescription
messages.getChatsReturns chat basic info on their IDs.
channels.getChannelsGet info about channels/supergroups
channels.getAdminedPublicChannelsGet channels/supergroups/geogroups we're admin in. Usually called when the user exceeds the limit for owned public channels/supergroups/geogroups, and the user is given the choice to remove one of his channels/supergroups/geogroups.
messages.getCommonChatsGet chats in common with a user
messages.getAllChatsGet all chats, channels and supergroups
channels.getLeftChannelsGet a list of channels/supergroups we left
channels.getGroupsForDiscussionGet all groups that can be used as discussion groups
+ +
+ +
+
+ +
+ + + + + + diff --git a/data/corefork.telegram.org/api/recent-actions.html b/data/corefork.telegram.org/api/recent-actions.html new file mode 100644 index 0000000000..f3ca80fe01 --- /dev/null +++ b/data/corefork.telegram.org/api/recent-actions.html @@ -0,0 +1,154 @@ + + + + + Admin log + + + + + + + + + + + + + +
+ +
+
+
+ +

Admin log

+ +
+ +

Both supergroups and channels offer a so-called admin log, a log of recent relevant supergroup and channel actions, like the modification of group/channel settings or information on behalf of an admin, user kicks and bans, and more.

+
channelAdminLogEventActionChangeTitle#e6dfb825 prev_value:string new_value:string = ChannelAdminLogEventAction;
+channelAdminLogEventActionChangeAbout#55188a2e prev_value:string new_value:string = ChannelAdminLogEventAction;
+channelAdminLogEventActionChangeUsername#6a4afc38 prev_value:string new_value:string = ChannelAdminLogEventAction;
+channelAdminLogEventActionChangePhoto#434bd2af prev_photo:Photo new_photo:Photo = ChannelAdminLogEventAction;
+channelAdminLogEventActionToggleInvites#1b7907ae new_value:Bool = ChannelAdminLogEventAction;
+channelAdminLogEventActionToggleSignatures#26ae0971 new_value:Bool = ChannelAdminLogEventAction;
+channelAdminLogEventActionUpdatePinned#e9e82c18 message:Message = ChannelAdminLogEventAction;
+channelAdminLogEventActionEditMessage#709b2405 prev_message:Message new_message:Message = ChannelAdminLogEventAction;
+channelAdminLogEventActionDeleteMessage#42e047bb message:Message = ChannelAdminLogEventAction;
+channelAdminLogEventActionParticipantJoin#183040d3 = ChannelAdminLogEventAction;
+channelAdminLogEventActionParticipantLeave#f89777f2 = ChannelAdminLogEventAction;
+channelAdminLogEventActionParticipantInvite#e31c34d8 participant:ChannelParticipant = ChannelAdminLogEventAction;
+channelAdminLogEventActionParticipantToggleBan#e6d83d7e prev_participant:ChannelParticipant new_participant:ChannelParticipant = ChannelAdminLogEventAction;
+channelAdminLogEventActionParticipantToggleAdmin#d5676710 prev_participant:ChannelParticipant new_participant:ChannelParticipant = ChannelAdminLogEventAction;
+channelAdminLogEventActionChangeStickerSet#b1c3caa7 prev_stickerset:InputStickerSet new_stickerset:InputStickerSet = ChannelAdminLogEventAction;
+channelAdminLogEventActionTogglePreHistoryHidden#5f5c95f1 new_value:Bool = ChannelAdminLogEventAction;
+channelAdminLogEventActionDefaultBannedRights#2df5fc0a prev_banned_rights:ChatBannedRights new_banned_rights:ChatBannedRights = ChannelAdminLogEventAction;
+channelAdminLogEventActionStopPoll#8f079643 message:Message = ChannelAdminLogEventAction;
+channelAdminLogEventActionChangeLinkedChat#50c7ac8 prev_value:long new_value:long = ChannelAdminLogEventAction;
+channelAdminLogEventActionChangeLocation#e6b76ae prev_value:ChannelLocation new_value:ChannelLocation = ChannelAdminLogEventAction;
+channelAdminLogEventActionToggleSlowMode#53909779 prev_value:int new_value:int = ChannelAdminLogEventAction;
+
+channelAdminLogEvent#1fad68cd id:long date:int user_id:long action:ChannelAdminLogEventAction = ChannelAdminLogEvent;
+
+channels.adminLogResults#ed8af74d events:Vector<ChannelAdminLogEvent> chats:Vector<Chat> users:Vector<User> = channels.AdminLogResults;
+
+channelAdminLogEventsFilter#ea107ae4 flags:# join:flags.0?true leave:flags.1?true invite:flags.2?true ban:flags.3?true unban:flags.4?true kick:flags.5?true unkick:flags.6?true promote:flags.7?true demote:flags.8?true info:flags.9?true settings:flags.10?true pinned:flags.11?true edit:flags.12?true delete:flags.13?true group_call:flags.14?true invites:flags.15?true = ChannelAdminLogEventsFilter;
+
+---functions---
+
+channels.getAdminLog#33ddf480 flags:# channel:InputChannel q:string events_filter:flags.0?ChannelAdminLogEventsFilter admins:flags.1?Vector<InputUser> max_id:long min_id:long limit:int = channels.AdminLogResults;
+

channels.getAdminLog can be used to list recent admin activity.
+A channelAdminLogEventsFilter can be used to filter out actions of a certain type, and the admins field can be used to show only actions by certain admins.
+q can also be used to filter only logs matching a query string.

+ +
+ +
+
+ +
+ + + + + + + + diff --git a/data/corefork.telegram.org/type/account.TmpPassword b/data/corefork.telegram.org/type/account.TmpPassword new file mode 100644 index 0000000000..1e85896dac --- /dev/null +++ b/data/corefork.telegram.org/type/account.TmpPassword @@ -0,0 +1,162 @@ + + + + + Account.TmpPassword + + + + + + + + + + + + + +
+ +
+
+
+ +

Account.TmpPassword

+ +

Temporary password

+

+ +
+
account.tmpPassword#db64fd34 tmp_password:bytes valid_until:int = account.TmpPassword;
+
+---functions---
+
+account.getTmpPassword#449e0b51 password:InputCheckPasswordSRP period:int = account.TmpPassword;

+

Constructors

+ + + + + + + + + + + + + +
ConstructorDescription
account.tmpPasswordTemporary payment password
+

Methods

+ + + + + + + + + + + + + +
MethodDescription
account.getTmpPasswordGet temporary payment password
+ +
+ +
+
+ +
+ + + + + + diff --git a/data/desktop.telegram.org.html b/data/desktop.telegram.org.html new file mode 100644 index 0000000000..0c2dd88f8e --- /dev/null +++ b/data/desktop.telegram.org.html @@ -0,0 +1,75 @@ + + + + + Telegram Desktop + + + + + + + + + + + + + + + + + + +
+
+ +
+
+
+ +
+ + +

Telegram Desktop

+
+
Fast and secure desktop app, perfectly synced with your mobile phone.
+ + +
+ + + +
+
This software is available under GPL v3 license.

Source code is available on GitHub.

Follow us on TwitterBeta version
+
+
+ +
+
+
+ + + + + + + diff --git a/data/desktop.telegram.org/changelog.html b/data/desktop.telegram.org/changelog.html new file mode 100644 index 0000000000..882cfb081e --- /dev/null +++ b/data/desktop.telegram.org/changelog.html @@ -0,0 +1,179 @@ + + + + + Version history + + + + + + + + + + + + + + + + + + +
+
+ +
+
+
+ +

Version history

+ +

v 3.4 31.12.21

+
    +
  • Hover over any message to show the reaction button.
  • +
  • Click the button for a quick 👍 reaction – or hover over it for the full range of emoji.
  • +
  • Group and Channel admins can enable reactions in their chat via '…' menu > Manage > Reactions.
  • +
  • Select text when typing and choose 'Formatting > Spoiler' in the context menu to hide some or all of the contents of a message.
  • +
  • Click on the spoiler animation in chat to reveal its hidden text.
  • +
  • Spoiler formatting hides text in chat, as well as in the chat list and notifications.
  • +
+

v 3.3 07.12.21

+
    +
  • Content creators can restrict the ability to save media and forward messages from their groups and channels.
  • +
  • Clear messages in one-on-one chats from a specific day or date range.
  • +
  • Comment as one of your channels in public groups and channel comments.
  • +
  • When you request to join a community and its admin or bot-admin contacts you with a message, you will see which chat they are from at the top of the chat.
  • +
  • Bot-admins can now ask users to complete tasks before they are allowed to join - like accepting community rules, passing a test, or making a donation to the content creators.
  • +
+

v 3.2 03.11.21

+
    +
  • Create special invite links that require admins to approve users before they become members.
  • +
  • Admins can view the applicants' profiles and bios by tapping the Join Requests bar at the top of the chat.
  • +
  • Add internal labels to your chat's Invite Links to keep them organized.
  • +
  • More Interactive Emoji - 👻, 👎, 🤮, 😂, 💸 or 🎃
  • +
+

v 3.1 19.09.21

+
    +
  • Some animated emoji now have extra effects.
  • +
  • Send 🎆, 🎉. 🎈. 👍. 💩 or ❤️ to any private chat, then click on the animated emoji to launch the effect.
  • +
  • If your chat partner also has the chat open, you will both see the effects.
  • +
  • See the “Watching” status when your chat partner is enjoying emoji effects with you.
  • +
  • More interactive emoji coming soon.
  • +
  • Right click one of your outgoing messages in small groups to see who recently viewed it.
  • +
  • To protect privacy, read receipts are only stored for 7 days after the message was sent.
  • +
  • Record video and audio from live broadcasts in your group or channel.
  • +
  • Admins can start recording from the '…' menu.
  • +
  • Choose between recording in portrait or landscape orientation.
  • +
  • Finished recordings are sent to the admin's Saved Messages and can be easily shared.
  • +
+

v 3.0 31.08.21

+
    +
  • Broadcast video and share your screen to an unlimited number of viewers.
  • +
  • To begin, click on the Live Stream button in the title bar of a community where you are an admin.
  • +
  • Click on the “Forward Message” label above the input field to change how messages will be sent.
  • +
  • Hide or show the original sender's name.
  • +
  • Remove or keep captions from media messages.
  • +
  • See how many unread comments there are when opening a channel's comments.
  • +
+

Beta version

+

If you would like to get all updates faster and be the first to test new features, you are welcome to use Telegram Desktop's beta version updates.

+

The stable version is updated less frequently, but is tested better than the beta version.

+

Here are the beta version links for different platforms:

+

Windows x64 Setup
Windows x64 Portable
Windows Setup
Windows Portable
Mac OS X 10.12+ Setup
Linux 64 bit

+

Just install it on top of your current Telegram Desktop and there you go.

+

Old system versions

+

The up-to-date versions of Telegram Desktop support Windows 7 and later, macOS 10.12 and later and 64 bit Linux. But there are old versions available:

+

v2.4.4 Setup for OS X 10.10 and 10.11
v2.4.4 for Linux 32 bit
v1.8.15 Setup for Windows XP / Vista
v1.8.15 Portable for Windows XP / Vista
v1.8.15 Setup for OS X 10.6 and 10.7
v1.8.15 Setup for OS X 10.8 and 10.9

+
+ +
+ +
+
+
+ + + + + + + diff --git a/data/telegram.org/blog/animated-stickers.html b/data/telegram.org/blog/animated-stickers.html new file mode 100644 index 0000000000..da7073eea1 --- /dev/null +++ b/data/telegram.org/blog/animated-stickers.html @@ -0,0 +1,261 @@ + + + + + Animated Stickers Done Right + + + + + + + + + + + + + + + + + + + +
+
+ +
+
+
+ +
+
+

Animated Stickers Done Right

+ +
+ +
+ +
+ Cover Image +
+ +

We launched stickers back in January 2015. Since then, the Telegram sticker format has been adopted by other apps to reach a total of 2 billion people. Today we're introducing a new format for animated stickers.

+

We asked ourselves: Can animated stickers have higher quality than static ones while taking less bandwidth? The answer turned out to be YES (but only after we told developers they'd get moving cat pictures).

+
+ +
+ + + +

Smooth Animations, Tiny Size

+

Telegram engineers experimented with vector graphics, packaging methods and forbidden magic to create the Lottie-based .TGS format, in which each sticker takes up about 20-30 Kilobytessix times smaller than the average photo.

+

Thanks to various optimizations, animated stickers consume less battery than GIFs and run at a smooth 60 frames per second. If a picture is worth a thousand words, that's 180,000 words per sticker.

+
+ +
+ + + +

Open Platform

+

Naturally, animated stickers are a free platform. All artists are welcome to create new sets and share them with Telegram users.

+

Like its static predecessor, the Telegram animated sticker format is likely to become the new industry standard in messaging. Check out this quick guide to get started.

+
+ +
+ +

Starter Packs

+
+ +To get your conversations moving right away, our artists have created a few sample sets ranging from Rambunctious Rodents to Sentient Snacks. You can find more animated sticker sets in the 'Trending' section of your sticker panel. 🔥 + +

+ +

As always, the fastest way to find a sticker that fits your mood is to type in a relevant emoji – Telegram will immediately suggest matching stickers.

+
+ +
+ +

Keep an eye out for new animated stickers – and our next update.

+

+ +

July 6, 2019
The Telegram Team

+
+ +
+ + +
+ + +
+
+
+ + + + + + +