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

namespace MyTelegram.Schema;

///<summary>
/// Unknown t.me url
/// See <a href="https://corefork.telegram.org/constructor/recentMeUrlUnknown" />
///</summary>
[TlObject(0x46e1d13d)]
public sealed class TRecentMeUrlUnknown : IRecentMeUrl
{
    public uint ConstructorId => 0x46e1d13d;
    ///<summary>
    /// URL
    ///</summary>
    public string Url { get; set; }

    public void ComputeFlag()
    {

    }

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

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