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

namespace MyTelegram.Schema;

///<summary>
/// See <a href="https://corefork.telegram.org/constructor/phoneCallDiscardReasonMigrateConferenceCall" />
///</summary>
[TlObject(0x9fbbf1f7)]
public sealed class TPhoneCallDiscardReasonMigrateConferenceCall : IPhoneCallDiscardReason
{
    public uint ConstructorId => 0x9fbbf1f7;
    public string Slug { get; set; }

    public void ComputeFlag()
    {

    }

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

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