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

namespace MyTelegram.Schema;

///<summary>
/// A group call was started
/// See <a href="https://corefork.telegram.org/constructor/channelAdminLogEventActionStartGroupCall" />
///</summary>
[TlObject(0x23209745)]
public sealed class TChannelAdminLogEventActionStartGroupCall : IChannelAdminLogEventAction
{
    public uint ConstructorId => 0x23209745;
    ///<summary>
    /// Group call
    /// See <a href="https://corefork.telegram.org/type/InputGroupCall" />
    ///</summary>
    public MyTelegram.Schema.IInputGroupCall Call { get; set; }

    public void ComputeFlag()
    {

    }

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

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