diff --git a/.github/dev.yml b/.github/dev.yml index e20f7e3..dd9224a 100644 --- a/.github/dev.yml +++ b/.github/dev.yml @@ -1,7 +1,7 @@ pr: none trigger: [ master ] -name: 3.5.8-dev.$(Rev:r) +name: 3.5.9-dev.$(Rev:r) pool: vmImage: ubuntu-latest diff --git a/src/TL.Schema.cs b/src/TL.Schema.cs index 624c276..25049dd 100644 --- a/src/TL.Schema.cs +++ b/src/TL.Schema.cs @@ -4777,6 +4777,14 @@ namespace TL public int story_id; public Reaction reaction; } + /// See + [TLDef(0x904DD49C)] + public class UpdateBotChatBoost : Update + { + public Peer peer; + public Boost boost; + public int qts; + } /// Updates state. See [TLDef(0xA56C2A3E)] diff --git a/src/TL.SchemaFuncs.cs b/src/TL.SchemaFuncs.cs index e15a205..5ff6817 100644 --- a/src/TL.SchemaFuncs.cs +++ b/src/TL.SchemaFuncs.cs @@ -5981,6 +5981,14 @@ namespace TL { peer = peer, }); + + /// See + public static Task Premium_GetUserBoosts(this Client client, InputPeer peer, InputUserBase user_id) + => client.Invoke(new Premium_GetUserBoosts + { + peer = peer, + user_id = user_id, + }); } } @@ -10896,4 +10904,11 @@ namespace TL.Methods { public InputPeer peer; } + + [TLDef(0x39854D1F)] + public class Premium_GetUserBoosts : IMethod + { + public InputPeer peer; + public InputUserBase user_id; + } } diff --git a/src/TL.Table.cs b/src/TL.Table.cs index 341e32a..1fc5e29 100644 --- a/src/TL.Table.cs +++ b/src/TL.Table.cs @@ -6,7 +6,7 @@ namespace TL { public static class Layer { - public const int Version = 166; // fetched 28/10/2023 21:16:53 + public const int Version = 166; // fetched 06/11/2023 22:51:44 internal const int SecretChats = 144; internal const int MTProto2 = 73; internal const uint VectorCtor = 0x1CB5C415; @@ -384,6 +384,7 @@ namespace TL [0x1BF335B9] = typeof(UpdateStoryID), [0x2C084DC1] = typeof(UpdateStoriesStealthMode), [0x7D627683] = typeof(UpdateSentStoryReaction), + [0x904DD49C] = typeof(UpdateBotChatBoost), [0xA56C2A3E] = typeof(Updates_State), [0x5D75A138] = typeof(Updates_DifferenceEmpty), [0x00F49CA0] = typeof(Updates_Difference),