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

namespace MyTelegram.Schema;

///<summary>
/// Apple ID email verification token
/// See <a href="https://corefork.telegram.org/constructor/emailVerificationApple" />
///</summary>
[TlObject(0x96d074fd)]
public sealed class TEmailVerificationApple : IEmailVerification
{
    public uint ConstructorId => 0x96d074fd;
    ///<summary>
    /// Token
    ///</summary>
    public string Token { get; set; }

    public void ComputeFlag()
    {

    }

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

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