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

namespace MyTelegram.Schema.Phone;

///<summary>
/// See <a href="https://corefork.telegram.org/method/phone.sendConferenceCallBroadcast" />
///</summary>
[TlObject(0xc6701900)]
public sealed class RequestSendConferenceCallBroadcast : IRequest<MyTelegram.Schema.IUpdates>
{
    public uint ConstructorId => 0xc6701900;
    public MyTelegram.Schema.IInputGroupCall Call { get; set; }
    public ReadOnlyMemory<byte> Block { get; set; }

    public void ComputeFlag()
    {

    }

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

    public void Deserialize(ref ReadOnlyMemory<byte> buffer)
    {
        Call = buffer.Read<MyTelegram.Schema.IInputGroupCall>();
        Block = buffer.ReadBytes();
    }
}
