Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Telegram schema to the latest layer #1374

Merged
merged 1 commit into from
May 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions _schema/tdesktop.tl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//
// Source: https://raw.githubusercontent.com/telegramdesktop/tdesktop/dev/Telegram/SourceFiles/mtproto/scheme/api.tl
// Layer: 179
// SHA256: 68c4230a10c3ec143824dc09bd82601bd78975d208c4743e7ce54c58bc73cab4
// SHA256: 9eb6aa1c5c25c900796809ce40385160142eaebc0ab5b68af4b8a4567fec6f05

boolFalse#bc799737 = Bool;

Expand Down Expand Up @@ -2288,6 +2288,10 @@ emojiList#7a1e11d1 hash:long document_id:Vector<long> = EmojiList;

emojiGroup#7a9abda9 title:string icon_emoji_id:long emoticons:Vector<string> = EmojiGroup;

emojiGroupGreeting#80d26cc7 title:string icon_emoji_id:long emoticons:Vector<string> = EmojiGroup;

emojiGroupPremium#93bcf34 title:string icon_emoji_id:long = EmojiGroup;

messages.emojiGroupsNotModified#6fb4ad87 = messages.EmojiGroups;

messages.emojiGroups#881fb94b hash:int groups:Vector<EmojiGroup> = messages.EmojiGroups;
Expand Down Expand Up @@ -2568,7 +2572,7 @@ channels.sponsoredMessageReportResultAdsHidden#3e3bcf2f = channels.SponsoredMess

channels.sponsoredMessageReportResultReported#ad798849 = channels.SponsoredMessageReportResult;

stats.broadcastRevenueStats#d07b4bad top_hours_graph:StatsGraph revenue_graph:StatsGraph current_balance:long available_balance:long overall_revenue:long usd_rate:double = stats.BroadcastRevenueStats;
stats.broadcastRevenueStats#5407e297 top_hours_graph:StatsGraph revenue_graph:StatsGraph balances:BroadcastRevenueBalances usd_rate:double = stats.BroadcastRevenueStats;

stats.broadcastRevenueWithdrawalUrl#ec659737 url:string = stats.BroadcastRevenueWithdrawalUrl;

Expand All @@ -2586,6 +2590,8 @@ reactionNotificationsFromAll#4b9e22a0 = ReactionNotificationsFrom;

reactionsNotifySettings#56e34970 flags:# messages_notify_from:flags.0?ReactionNotificationsFrom stories_notify_from:flags.1?ReactionNotificationsFrom sound:NotificationSound show_previews:Bool = ReactionsNotifySettings;

broadcastRevenueBalances#8438f1c6 current_balance:long available_balance:long overall_revenue:long = BroadcastRevenueBalances;


---functions---

Expand Down Expand Up @@ -3351,6 +3357,8 @@ messages.toggleDialogFilterTags#fd2dda49 enabled:Bool = Bool;

messages.getMyStickers#d0b5e1fc offset_id:long limit:int = messages.MyStickers;

messages.getEmojiStickerGroups#1dd840f5 hash:int = messages.EmojiGroups;

updates.getState#edd4882a = updates.State;

updates.getDifference#19c2f763 flags:# pts:int pts_limit:flags.1?int pts_total_limit:flags.0?int date:int qts:int qts_limit:flags.2?int = updates.Difference;
Expand Down
12 changes: 10 additions & 2 deletions _schema/telegram.tl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// Source: https://raw.githubusercontent.com/telegramdesktop/tdesktop/dev/Telegram/SourceFiles/mtproto/scheme/api.tl
// Merge: _schema/legacy.tl
// Layer: 179
// SHA256: 68c4230a10c3ec143824dc09bd82601bd78975d208c4743e7ce54c58bc73cab4
// SHA256: 9eb6aa1c5c25c900796809ce40385160142eaebc0ab5b68af4b8a4567fec6f05

boolFalse#bc799737 = Bool;

Expand Down Expand Up @@ -2289,6 +2289,10 @@ emojiList#7a1e11d1 hash:long document_id:Vector<long> = EmojiList;

emojiGroup#7a9abda9 title:string icon_emoji_id:long emoticons:Vector<string> = EmojiGroup;

emojiGroupGreeting#80d26cc7 title:string icon_emoji_id:long emoticons:Vector<string> = EmojiGroup;

emojiGroupPremium#93bcf34 title:string icon_emoji_id:long = EmojiGroup;

messages.emojiGroupsNotModified#6fb4ad87 = messages.EmojiGroups;

messages.emojiGroups#881fb94b hash:int groups:Vector<EmojiGroup> = messages.EmojiGroups;
Expand Down Expand Up @@ -2569,7 +2573,7 @@ channels.sponsoredMessageReportResultAdsHidden#3e3bcf2f = channels.SponsoredMess

channels.sponsoredMessageReportResultReported#ad798849 = channels.SponsoredMessageReportResult;

stats.broadcastRevenueStats#d07b4bad top_hours_graph:StatsGraph revenue_graph:StatsGraph current_balance:long available_balance:long overall_revenue:long usd_rate:double = stats.BroadcastRevenueStats;
stats.broadcastRevenueStats#5407e297 top_hours_graph:StatsGraph revenue_graph:StatsGraph balances:BroadcastRevenueBalances usd_rate:double = stats.BroadcastRevenueStats;

stats.broadcastRevenueWithdrawalUrl#ec659737 url:string = stats.BroadcastRevenueWithdrawalUrl;

Expand All @@ -2587,6 +2591,8 @@ reactionNotificationsFromAll#4b9e22a0 = ReactionNotificationsFrom;

reactionsNotifySettings#56e34970 flags:# messages_notify_from:flags.0?ReactionNotificationsFrom stories_notify_from:flags.1?ReactionNotificationsFrom sound:NotificationSound show_previews:Bool = ReactionsNotifySettings;

broadcastRevenueBalances#8438f1c6 current_balance:long available_balance:long overall_revenue:long = BroadcastRevenueBalances;


---functions---

Expand Down Expand Up @@ -3352,6 +3358,8 @@ messages.toggleDialogFilterTags#fd2dda49 enabled:Bool = Bool;

messages.getMyStickers#d0b5e1fc offset_id:long limit:int = messages.MyStickers;

messages.getEmojiStickerGroups#1dd840f5 hash:int = messages.EmojiGroups;

updates.getState#edd4882a = updates.State;

updates.getDifference#19c2f763 flags:# pts:int pts_limit:flags.1?int pts_total_limit:flags.0?int date:int qts:int qts_limit:flags.2?int = updates.Difference;
Expand Down
215 changes: 215 additions & 0 deletions tg/tl_broadcast_revenue_balances_gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

35 changes: 35 additions & 0 deletions tg/tl_broadcast_revenue_balances_slices_gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading