User

A MinChat user is a person who uses your app or website. they are represented as a JSON object.

Minchat is designed to prioritize the idea that user data belongs to the user, and we only keep it in order to provide an efficient chat service. This means that: MinChat only collects the data necessary for its functionality, and nothing more.

{
        username: "mercy" ,
        name: "Mercy Wells" ,
        avatar: "urltoavatar.com/mercyavatar.jpg"
}
FieldTypestateDescription

username

string

required

Unique username of the user in your database.

name

string

required

Name of the user. Example: "Joshua"

avatar

string | File

optional

the avatar of the user. A Jpeg, png or webp file, with maximum size of 25mb or a url to an image file

metadata

json object

optional

an optional key value pair for any additional user information such as email, age, or JSON formatted string. accepts string,number and boolean values

lastActive

Date

-

shows the date and time when the user was last

Last updated