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

namespace MyTelegram.Schema.Help;

///<summary>
/// Returns information on update availability for the current application.
/// See <a href="https://corefork.telegram.org/method/help.getAppUpdate" />
///</summary>
[TlObject(0x522d5a7d)]
public sealed class RequestGetAppUpdate : IRequest<MyTelegram.Schema.Help.IAppUpdate>
{
    public uint ConstructorId => 0x522d5a7d;
    ///<summary>
    /// Source
    ///</summary>
    public string Source { get; set; }

    public void ComputeFlag()
    {

    }

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

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