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

namespace MyTelegram.Schema.Account;

///<summary>
/// Get info about multiple <a href="https://corefork.telegram.org/api/wallpapers">wallpapers</a>
/// <para>Possible errors</para>
/// Code Type Description
/// 400 WALLPAPER_INVALID The specified wallpaper is invalid.
/// See <a href="https://corefork.telegram.org/method/account.getMultiWallPapers" />
///</summary>
[TlObject(0x65ad71dc)]
public sealed class RequestGetMultiWallPapers : IRequest<TVector<MyTelegram.Schema.IWallPaper>>
{
    public uint ConstructorId => 0x65ad71dc;
    ///<summary>
    /// <a href="https://corefork.telegram.org/api/wallpapers">Wallpapers</a> to fetch info about
    ///</summary>
    public TVector<MyTelegram.Schema.IInputWallPaper> Wallpapers { get; set; }

    public void ComputeFlag()
    {

    }

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

    public void Deserialize(ref ReadOnlyMemory<byte> buffer)
    {
        Wallpapers = buffer.Read<TVector<MyTelegram.Schema.IInputWallPaper>>();
    }
}
