From eaea2d051a3f4ae8624d263da7d803d81ea9f457 Mon Sep 17 00:00:00 2001
From: Wizou <11647984+wiz0u@users.noreply.github.com>
Date: Sun, 20 Apr 2025 03:23:43 +0200
Subject: [PATCH] API Layer 201.2: business bot stars
---
src/TL.Schema.cs | 8 ++++++++
src/TL.Table.cs | 3 ++-
2 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/src/TL.Schema.cs b/src/TL.Schema.cs
index 9a1af73..424006f 100644
--- a/src/TL.Schema.cs
+++ b/src/TL.Schema.cs
@@ -15946,6 +15946,13 @@ namespace TL
has_message = 0x1,
}
}
+ /// See
+ [TLDef(0xF4997E42)]
+ public sealed partial class InputInvoiceBusinessBotTransferStars : InputInvoice
+ {
+ public InputUserBase bot;
+ public long stars;
+ }
/// Exported invoice deep link See
[TLDef(0xAED0CBD9)]
@@ -19510,6 +19517,7 @@ namespace TL
has_paid_messages = 0x80000,
/// Field has a value
has_premium_gift_months = 0x100000,
+ business_transfer = 0x200000,
}
}
diff --git a/src/TL.Table.cs b/src/TL.Table.cs
index e441650..36011aa 100644
--- a/src/TL.Table.cs
+++ b/src/TL.Table.cs
@@ -6,7 +6,7 @@ namespace TL
{
public static partial class Layer
{
- public const int Version = 201; // fetched 26/03/2025 23:35:58
+ public const int Version = 201; // fetched 20/04/2025 01:20:15
internal const int SecretChats = 144;
internal const int MTProto2 = 73;
internal const uint VectorCtor = 0x1CB5C415;
@@ -1111,6 +1111,7 @@ namespace TL
[0x4D818D5D] = typeof(InputInvoiceStarGiftUpgrade),
[0x4A5F5BD9] = typeof(InputInvoiceStarGiftTransfer),
[0xDABAB2EF] = typeof(InputInvoicePremiumGiftStars),
+ [0xF4997E42] = typeof(InputInvoiceBusinessBotTransferStars),
[0xAED0CBD9] = typeof(Payments_ExportedInvoice),
[0xCFB9D957] = typeof(Messages_TranscribedAudio),
[0x5334759C] = typeof(Help_PremiumPromo),