This guide describes the first text-chat example. Host applications may place the same chat panel in a product, order or service page. The local Next.js demo uses a development identity chooser; real customers use their host application's login. The standalone workspace also supports email/password sign-in using an account created by its administrator. Your account determines its service; production sign-in asks only for email and password, without a role or service chooser. The server determines the role and service from your account.
Start and find a conversation#
- From the Alzaf Chat homepage, select Sign in or Open workspace to open
/workspace, then sign in with your assigned email and password. In local development only, choose Local demo, then Shope or Nexzan, Customer, Open workspace. - Start a conversation from the seller button on the product, order or service page you care about, then select that conversation in the inbox to open it.
- Select a conversation in the inbox to view its messages.
- Write in Message and press Send. Text is limited to 5,000 characters.
The server decides which providers and conversations you can access. Changing the selected service or guessing a conversation address cannot grant access. The demo starts chats with the subject Customer enquiry. Each inbox row shows the provider/store you are chatting with; if an admin or another provider joins the conversation, the row keeps the same avatar size and shows a +N badge instead of growing.
Messages and read state#
The thread shows each sender's name and role. Messages from an assisting admin are labelled as admin messages; they are not sent under the seller's name. Load earlier messages retrieves older history. Opening a thread records the latest loaded message as read. The inbox can display unread counts; these are not individual delivery receipts. Select Refresh to update the inbox.
If a send fails, an error is shown and your draft is retained. Retry Send. If realtime is unavailable, messages may still save through the API; use Refresh, then reopen the conversation to retrieve saved history. Do not assume a failed network response means the server did not save the message. The shared client uses a retry identifier to prevent duplicate sends.
Sending images and files#
Use the paperclip button in the message box to attach a picture (JPEG, PNG or WebP) or a PDF. You can attach up to five files per message and each file must be at most 8 MB; other file types are refused. A picture appears as a preview in the conversation, and a PDF appears as a named file you can download.
You can send a file on its own, or with a written message. A PDF is always downloaded rather than opened inside the chat page. While an upload is in progress the send button waits, and the staged file shows above the message box with a remove button if you change your mind.
If you select several files, they upload one at a time. Changing conversations stops the remaining selection. Removing a file from the composer does not delete its staged server upload; abandoned uploads can reach a staging limit. Ask the service operator for help if uploads remain blocked after you remove files.
You may keep writing while a message sends. When it finishes, newly edited text stays in the box. Changing conversations also prevents the old response from clearing the new conversation's draft. React Enter does not send while an IME character is being confirmed or while the previous send is pending.
File links are private and temporary: they work for a limited time, so reopening the conversation is what refreshes an old link. Do not copy an attachment link somewhere else and expect it to keep working; download the file instead.
The smiley button beside the message box opens an emoji picker. The chosen emoji is inserted where your cursor is, so you can add one mid-sentence; it is sent as normal text with your message.
Current boundaries#
Images and PDF attachments work, with or without a text body. A customer Request admin help button, typing indicators, push/email notifications and automatic status controls are not implemented in the current UI. Contact the service's existing support route if you need assistance; authorized admins can join a conversation from their own inbox. An open/pending/resolved label is a conversation status, not a promise about response time.
Sign out revokes the current server session and closes the chat connection. Reloading restores your session after server verification and keeps chat history. Remember me on this device keeps login across browser restarts for up to 30 days. Without it, login is saved only in this tab for up to eight hours. If sign-out fails, the UI keeps the session and shows an error so you can retry. There is no public account registration or forgot-password screen; contact your service administrator for access.
বাংলা নির্দেশনা#
নিজের account-এর email ও password দিয়ে Sign in করুন। Role বা service বাছাই করতে হবে না; server আপনার account থেকে এগুলো নির্ধারণ করবে। শুধু local demo-তে Customer বেছে Open workspace চাপুন। পণ্য, অর্ডার বা service পাতার seller button-এ চেপে নতুন কথোপকথন শুরু করুন, তারপর inbox-এ সেটি বেছে নিন। মেসেজ লিখে Send করুন। পাঠানো ব্যর্থ হলে লেখা থাকবে; আবার চেষ্টা করুন। পুরোনো মেসেজ দেখতে Load earlier messages ব্যবহার করুন। Paperclip দিয়ে JPEG, PNG, WebP ছবি বা PDF যোগ করতে পারেন; একাধিক file একে একে upload হয়। Send চলার সময় নতুন খসড়া লিখলে সেটি থাকবে। অন্য কথোপকথনে গেলে বাকি file নির্বাচন upload বন্ধ হয়। Composer থেকে file সরালেও server-এর staged file মুছে যায় না; limit-এর কারণে upload আটকে থাকলে service operator-এর সাহায্য নিন। সরাসরি admin সাহায্য চাওয়ার button এখনও নেই।
Returning to the homepage#
On the sign-in page, enter Email address and Password, then select Sign in. Back to home returns to the public website. The form is presented on its own on small screens. If you need an account, contact your service administrator; the page does not provide public signup or password recovery. Use the distinct email assigned to your account. If an older shared email is rejected, ask the operator to assign distinct account emails; the default form does not support choosing between legacy roles that share an email.