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

namespace MyTelegram.Schema;

///<summary>
/// See <a href="https://corefork.telegram.org/constructor/inputGroupCallInviteMessage" />
///</summary>
[TlObject(0x8c10603f)]
public sealed class TInputGroupCallInviteMessage : IInputGroupCall
{
    public uint ConstructorId => 0x8c10603f;
    public int MsgId { get; set; }

    public void ComputeFlag()
    {

    }

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

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