// <auto-generated/>
using System;

namespace Telegram.Api.TL.Messages.Methods
{
	/// <summary>
	/// RCP method messages.receivedMessages.
	/// Returns <see cref="Telegram.Api.TL.TLVector<TLReceivedNotifyMessage>"/>
	/// </summary>
	public partial class TLMessagesReceivedMessages : TLObject
	{
		public Int32 MaxId { get; set; }

		public TLMessagesReceivedMessages() { }
		public TLMessagesReceivedMessages(TLBinaryReader from)
		{
			Read(from);
		}

		public override TLType TypeId { get { return TLType.MessagesReceivedMessages; } }

		public override void Read(TLBinaryReader from)
		{
			MaxId = from.ReadInt32();
		}

		public override void Write(TLBinaryWriter to)
		{
			to.Write(0x5A954C0);
			to.Write(MaxId);
		}
	}
}