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

namespace MyTelegram.Schema.Contacts;

///<summary>
/// See <a href="https://corefork.telegram.org/method/contacts.getSponsoredPeers" />
///</summary>
[TlObject(0xb6c8c393)]
public sealed class RequestGetSponsoredPeers : IRequest<MyTelegram.Schema.Contacts.ISponsoredPeers>
{
    public uint ConstructorId => 0xb6c8c393;
    public string Q { get; set; }

    public void ComputeFlag()
    {

    }

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

    public void Deserialize(ref ReadOnlyMemory<byte> buffer)
    {
        Q = buffer.ReadString();
    }
}
