Creating an Account

1

Choose your identity method

On the Register tab, enter your email address or phone number. You can optionally set a password or use OTP-only login.

2

Enter your display name

Choose a display name (minimum 2 characters) that other users will see in conversations.

3

Verify with OTP

A 6-digit verification code will be sent to your email or phone. Enter the code within 5 minutes to verify your identity.

4

Set a password (optional)

You may provide a password (minimum 6 characters) for password-based login as an alternative to OTP every time.

Logging In

NexChat supports two login methods:

After successful login, you will receive an access token (valid 15 minutes) and a refresh token (valid 30 days). The refresh token is automatically used to obtain new access tokens without requiring re-login.

Starting a Direct Conversation

1

Open the New Chat modal

Click the "New Chat" button (or pencil icon) in the sidebar to open the search modal.

2

Search for a user

Type a name, email, or phone number in the search bar. Results update in real-time showing matching users with their online status.

3

Select the user

Click on a user to create or open an existing direct conversation. If a conversation already exists, you will be taken to it directly.

Creating a Group

1

Open New Group modal

Click the "New Group" option from the sidebar menu.

2

Add participants

Search and select users to add to the group. You can add multiple participants.

3

Set group name and avatar

Give your group a name and optionally set a group avatar image.

The creator of the group is automatically assigned the ADMIN role. All other participants are MEMBERS. Admin roles allow managing the group.

Sending Messages

To send a message, type your text in the input bar at the bottom of the chat window and press Enter or click the send button.

Sharing Media & Files

NexChat supports sharing images, videos, audio files, and documents:

1

Click the attachment button

In the message input area, click the attachment icon to open the file picker.

2

Select your file

Choose an image, video, audio file, or document from your device.

3

Wait for upload

The file is uploaded with a visible progress bar. Once complete, the message is sent automatically with the media attached.

Replying to Messages

To reply to a specific message:

Message Status & Read Receipts

Each message goes through the following status progression:

When you open a conversation, all unread messages are automatically marked as read and the sender receives a real-time update via Socket.IO. The unread count on the conversation list is updated instantly.

Blocking & Unblocking Users

To block or unblock a user:

Note: You cannot send messages to someone you have blocked. Unblock them first if you wish to communicate again.

Managing Your Profile

Click on your avatar or name in the sidebar header to open your profile modal. From there you can:

Setting Up Encryption Keys

For end-to-end encrypted messaging, you can register your public key:

Security Tips