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

namespace MyTelegram.Schema;

///<summary>
/// Info about or the order of <a href="https://corefork.telegram.org/api/business#quick-reply-shortcuts">quick reply shortcuts »</a> was changed.
/// See <a href="https://corefork.telegram.org/constructor/updateQuickReplies" />
///</summary>
[TlObject(0xf9470ab2)]
public sealed class TUpdateQuickReplies : IUpdate
{
    public uint ConstructorId => 0xf9470ab2;
    ///<summary>
    /// New quick reply shortcut order and information.
    ///</summary>
    public TVector<MyTelegram.Schema.IQuickReply> QuickReplies { get; set; }

    public void ComputeFlag()
    {

    }

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

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