diff --git a/data/core.telegram.org/constructor/account.privacyRules b/data/core.telegram.org/constructor/account.privacyRules deleted file mode 100644 index 46337ebbae..0000000000 --- a/data/core.telegram.org/constructor/account.privacyRules +++ /dev/null @@ -1,157 +0,0 @@ - - -
- -Privacy rules
-account.privacyRules#50a04e45 rules:Vector<PrivacyRule> chats:Vector<Chat> users:Vector<User> = account.PrivacyRules;
-Name | -Type | -Description | -
---|---|---|
rules | -Vector<PrivacyRule> | -Privacy rules | -
chats | -Vector<Chat> | -Chats to which the rules apply | -
users | -Vector<User> | -Users to which the rules apply | -
Time to live in days of the current account
-accountDaysTTL#b8d0afdf days:int = AccountDaysTTL;
-Name | -Type | -Description | -
---|---|---|
days | -int | -This account will self-destruct in the specified number of days | -
GeoPont attached to an encrypted message.
-===8===
-decryptedMessageMediaGeoPoint#35480a59 lat:double long:double = DecryptedMessageMedia;
-Name | -Type | -Description | -
---|---|---|
lat | -double | -Latitude of point | -
long | -double | -Longtitude of point | -
Return only messages containing URLs
-inputMessagesFilterUrl#7ef0dd87 = MessagesFilter;
-This constructor does not require any parameters.
-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;
-Name | -Type | -Description | -
---|---|---|
file_id | -long | -Random file identifier created by the client | -
file_part | -int | -Numerical order of a part | -
bytes | -bytes | -Binary data, contend of a part | -
Code | -Type | -Description | -
---|---|---|
400 | -FILE_PART_EMPTY | -The provided file part is empty. | -
400 | -FILE_PART_INVALID | -The file part number is invalid. | -
Indicates a group call
-inputGroupCall#d8aa840f id:long access_hash:long = InputGroupCall;
-Constructor | -Description | -
---|---|
inputGroupCall | -Points to a specific group call | -
Temporary password
-account.tmpPassword#db64fd34 tmp_password:bytes valid_until:int = account.TmpPassword;
-
----functions---
-
-account.getTmpPassword#449e0b51 password:InputCheckPasswordSRP period:int = account.TmpPassword;
-Constructor | -Description | -
---|---|
account.tmpPassword | -Temporary payment password | -
Method | -Description | -
---|---|
account.getTmpPassword | -Get temporary payment password | -
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;
-Constructor | -Description | -
---|---|
help.userInfoEmpty | -Internal use | -
help.userInfo | -Internal use | -
Method | -Description | -
---|---|
help.getUserInfo | -Internal use | -
help.editUserInfo | -Internal use | -
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;
-Constructor | -Description | -
---|---|
messages.chats | -List of chats with auxiliary data. | -
messages.chatsSlice | -Partial list of chats, more would have to be fetched with pagination | -
Method | -Description | -
---|---|
messages.getChats | -Returns chat basic info on their IDs. | -
channels.getChannels | -Get info about channels/supergroups | -
channels.getAdminedPublicChannels | -Get 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.getCommonChats | -Get chats in common with a user | -
messages.getAllChats | -Get all chats, channels and supergroups | -
channels.getLeftChannels | -Get a list of channels/supergroups we left | -
channels.getGroupsForDiscussion | -Get all groups that can be used as discussion groups | -
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.
Temporary password
-account.tmpPassword#db64fd34 tmp_password:bytes valid_until:int = account.TmpPassword;
-
----functions---
-
-account.getTmpPassword#449e0b51 password:InputCheckPasswordSRP period:int = account.TmpPassword;
-Constructor | -Description | -
---|---|
account.tmpPassword | -Temporary payment password | -
Method | -Description | -
---|---|
account.getTmpPassword | -Get temporary payment password | -
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.
-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
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).
-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 Kilobytes – six 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.
-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.
-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