Skip to content

Commit

Permalink
Merge pull request #896 from gotd/feat/update-schema
Browse files Browse the repository at this point in the history
Update Telegram schema to the latest layer
  • Loading branch information
ernado authored Oct 13, 2022
2 parents 1752c42 + 26974dc commit 755bf23
Showing 1 changed file with 20 additions and 8 deletions.
28 changes: 20 additions & 8 deletions _schema/tdlib.tl
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// Code generated by ./cmd/dltl, DO NOT EDIT.
//
// Source: https://raw.githubusercontent.com/tdlib/td/master/td/generate/scheme/telegram_api.tl
// Layer: 145
// SHA256: 81187630a1e0fa2c9f3dd4009c52c3d38f39c12aa473861f543fc98563844381
// Layer: 147
// SHA256: 47cb8e53ead8a5c2081561f16a6a06b87ced601badb49c278cb1146dc71592af

int#a8509bda ? = Int;

Expand Down Expand Up @@ -96,7 +96,7 @@ inputMediaDocumentExternal#fb52dc99 flags:# url:string ttl_seconds:flags.0?int =

inputMediaGame#d33f43f3 id:InputGame = InputMedia;

inputMediaInvoice#d9799874 flags:# title:string description:string photo:flags.0?InputWebDocument invoice:Invoice payload:bytes provider:string provider_data:DataJSON start_param:flags.1?string = InputMedia;
inputMediaInvoice#8eb5a6d5 flags:# title:string description:string photo:flags.0?InputWebDocument invoice:Invoice payload:bytes provider:string provider_data:DataJSON start_param:flags.1?string extended_media:flags.2?InputMedia = InputMedia;

inputMediaGeoLive#971fa843 flags:# stopped:flags.0?true geo_point:InputGeoPoint heading:flags.2?int period:flags.1?int proximity_notification_radius:flags.3?int = InputMedia;

Expand Down Expand Up @@ -236,7 +236,7 @@ messageMediaVenue#2ec0533f geo:GeoPoint title:string address:string provider:str

messageMediaGame#fdb19008 game:Game = MessageMedia;

messageMediaInvoice#84551347 flags:# shipping_address_requested:flags.1?true test:flags.3?true title:string description:string photo:flags.0?WebDocument receipt_msg_id:flags.2?int currency:string total_amount:long start_param:string = MessageMedia;
messageMediaInvoice#f6a548d3 flags:# shipping_address_requested:flags.1?true test:flags.3?true title:string description:string photo:flags.0?WebDocument receipt_msg_id:flags.2?int currency:string total_amount:long start_param:string extended_media:flags.4?MessageExtendedMedia = MessageMedia;

messageMediaGeoLive#b940c666 flags:# geo:GeoPoint heading:flags.0?int period:int proximity_notification_radius:flags.1?int = MessageMedia;

Expand Down Expand Up @@ -666,6 +666,8 @@ updateRecentReactions#6f7863f4 = Update;

updateMoveStickerSetToTop#86fccf85 flags:# masks:flags.0?true emojis:flags.1?true stickerset:long = Update;

updateMessageExtendedMedia#5a73a98c peer:Peer msg_id:int extended_media:MessageExtendedMedia = Update;

updates.state#a56c2a3e pts:int qts:int date:int seq:int unread_count:int = updates.State;

updates.differenceEmpty#5d75a138 date:int seq:int = updates.Difference;
Expand Down Expand Up @@ -956,7 +958,7 @@ inputStickerSetEmojiDefaultStatuses#29d0f5ee = InputStickerSet;

stickerSet#2dd14edc flags:# archived:flags.1?true official:flags.2?true masks:flags.3?true animated:flags.5?true videos:flags.6?true emojis:flags.7?true installed_date:flags.0?int id:long access_hash:long title:string short_name:string thumbs:flags.4?Vector<PhotoSize> thumb_dc_id:flags.4?int thumb_version:flags.4?int thumb_document_id:flags.8?long count:int hash:int = StickerSet;

messages.stickerSet#b60a24a6 set:StickerSet packs:Vector<StickerPack> documents:Vector<Document> = messages.StickerSet;
messages.stickerSet#6e153f16 set:StickerSet packs:Vector<StickerPack> keywords:Vector<StickerKeyword> documents:Vector<Document> = messages.StickerSet;

messages.stickerSetNotModified#d3f924eb = messages.StickerSet;

Expand Down Expand Up @@ -1232,7 +1234,7 @@ stickerSetCovered#6410a5d2 set:StickerSet cover:Document = StickerSetCovered;

stickerSetMultiCovered#3407e51b set:StickerSet covers:Vector<Document> = StickerSetCovered;

stickerSetFullCovered#1aed5ee5 set:StickerSet packs:Vector<StickerPack> documents:Vector<Document> = StickerSetCovered;
stickerSetFullCovered#40d13c0e set:StickerSet packs:Vector<StickerPack> keywords:Vector<StickerKeyword> documents:Vector<Document> = StickerSetCovered;

maskCoords#aed6dbb2 n:int x:double y:double zoom:double = MaskCoords;

Expand Down Expand Up @@ -1976,7 +1978,7 @@ searchResultPosition#7f648b67 msg_id:int date:int offset:int = SearchResultsPosi

messages.searchResultsPositions#53b22baf count:int positions:Vector<SearchResultsPosition> = messages.SearchResultsPositions;

channels.sendAsPeers#8356cda9 peers:Vector<Peer> chats:Vector<Chat> users:Vector<User> = channels.SendAsPeers;
channels.sendAsPeers#f496b0c6 peers:Vector<SendAsPeer> chats:Vector<Chat> users:Vector<User> = channels.SendAsPeers;

users.userFull#3b6d152e full_user:UserFull chats:Vector<Chat> users:Vector<User> = users.UserFull;

Expand Down Expand Up @@ -2120,6 +2122,14 @@ account.emailVerifiedLogin#e1bb0d61 email:string sent_code:auth.SentCode = accou

premiumSubscriptionOption#b6f11ebe flags:# current:flags.1?true can_purchase_upgrade:flags.2?true months:int currency:string amount:long bot_url:string store_product:flags.0?string = PremiumSubscriptionOption;

sendAsPeer#b81c7034 flags:# premium_required:flags.0?true peer:Peer = SendAsPeer;

messageExtendedMediaPreview#ad628cc8 flags:# w:flags.0?int h:flags.0?int thumb:flags.1?PhotoSize video_duration:flags.2?int = MessageExtendedMedia;

messageExtendedMedia#ee479c64 media:MessageMedia = MessageExtendedMedia;

stickerKeyword#fcfeb29c document_id:long keyword:Vector<string> = StickerKeyword;


---functions---

Expand Down Expand Up @@ -2735,6 +2745,8 @@ messages.getRecentReactions#39461db2 limit:int hash:long = messages.Reactions;

messages.clearRecentReactions#9dfeefb4 = Bool;

messages.getExtendedMedia#84f80814 peer:InputPeer id:Vector<int> = Updates;

updates.getState#edd4882a = updates.State;

updates.getDifference#25939651 flags:# pts:int pts_total_limit:flags.0?int date:int qts:int = updates.Difference;
Expand Down Expand Up @@ -3033,4 +3045,4 @@ stats.getMessagePublicForwards#5630281b channel:InputChannel msg_id:int offset_r

stats.getMessageStats#b6e0a3f5 flags:# dark:flags.0?true channel:InputChannel msg_id:int = stats.MessageStats;

// LAYER 145
// LAYER 147

0 comments on commit 755bf23

Please sign in to comment.