API Layer 201.2: business bot stars

This commit is contained in:
Wizou 2025-04-20 03:23:43 +02:00
parent 6d238dc528
commit eaea2d051a
2 changed files with 10 additions and 1 deletions

View file

@ -15946,6 +15946,13 @@ namespace TL
has_message = 0x1,
}
}
/// <summary><para>See <a href="https://corefork.telegram.org/constructor/inputInvoiceBusinessBotTransferStars"/></para></summary>
[TLDef(0xF4997E42)]
public sealed partial class InputInvoiceBusinessBotTransferStars : InputInvoice
{
public InputUserBase bot;
public long stars;
}
/// <summary>Exported <a href="https://corefork.telegram.org/api/links#invoice-links">invoice deep link</a> <para>See <a href="https://corefork.telegram.org/constructor/payments.exportedInvoice"/></para></summary>
[TLDef(0xAED0CBD9)]
@ -19510,6 +19517,7 @@ namespace TL
has_paid_messages = 0x80000,
/// <summary>Field <see cref="premium_gift_months"/> has a value</summary>
has_premium_gift_months = 0x100000,
business_transfer = 0x200000,
}
}

View file

@ -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),