using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ChatController.Klassen
{
    class UserMessages
    {
        public UserMessageInput Response { get; set; }
        public string Message { get; set; }
        public string Errors { get; set; }
        public bool Success { get; set; }
    }

    public class UserMessageInput
    {
        public string currentPage { get; set; }
        public bool HasMorePages { get; set; }
        public string NextPage { get; set; }
        public int PerPage { get; set; }
        public string PreviousPage { get; set; }
        public Messages[] Messages { get; set; }
    }

    public class Messages
    {
        public long Id { get; set; }
        public string Text { get; set; }
        public string File { get; set; }
        public string Original_Filename { get; set; }
        public string Smaller_Image { get; set; }
        public LastMessageTimeStamp Timestamp { get; set; }
        public long Created_At { get; set; }
        public long UserId { get; set; }
        public string User_Name { get; set; }
        public string UserPicture { get; set; }
        public long GroupId { get; set; }
    }
}
