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

namespace MyTelegram.Schema;

///<summary>
/// Describes a <a href="https://corefork.telegram.org/api/stars">Telegram Star</a> transaction with <a href="https://fragment.com/">Fragment</a>, used when purchasing Telegram Stars through <a href="https://fragment.com/">Fragment</a>.
/// See <a href="https://corefork.telegram.org/constructor/starsTransactionPeerFragment" />
///</summary>
[TlObject(0xe92fd902)]
public sealed class TStarsTransactionPeerFragment : IStarsTransactionPeer
{
    public uint ConstructorId => 0xe92fd902;


    public void ComputeFlag()
    {

    }

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

    }

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

    }
}