// <auto-generated/>
// ReSharper disable All

namespace MyTelegram.Schema;

///<summary>
/// Describes a <a href="https://corefork.telegram.org/api/stars">Telegram Star</a> transaction made using <a href="https://t.me/premiumbot">@PremiumBot</a> (i.e. using the <a href="https://corefork.telegram.org/constructor/inputInvoiceStars">inputInvoiceStars</a> flow described <a href="https://corefork.telegram.org/api/stars#buying-or-gifting-stars">here »</a>).
/// See <a href="https://corefork.telegram.org/constructor/starsTransactionPeerPremiumBot" />
///</summary>
[TlObject(0x250dbaf8)]
public sealed class TStarsTransactionPeerPremiumBot : IStarsTransactionPeer
{
    public uint ConstructorId => 0x250dbaf8;


    public void ComputeFlag()
    {

    }

    public void Serialize(IBufferWriter<byte> writer)
    {
        ComputeFlag();
        writer.Write(ConstructorId);

    }

    public void Deserialize(ref ReadOnlyMemory<byte> buffer)
    {

    }
}