A number of commands are provided to control the application from Telegram. They are sent as messages on your store page.
Command Commands== displays a list of all commands. This is the only command that is not translated into other languages and is written only as Commands==.
--------------------
The command <password>Host chat== binds the application to your Telegram as the host. (Take the password from the application settings. For example 555555Host chat ==)
After entering this command, messages from buyers will be redirected to your Telegram. And you will be able to enter other commands from your Telegram.
---------------------
The command Upload a products database== outputs a database file of all products for backup storage
The command Enter the products database== loads the product database from a file into the application
---------------------
The command Upload orders database== outputs a database file of all orders for backup storage
The command Enter orders database== loads the order database from a file into the application
---------------------
The Get pictures== command produces an archive file of pictures of all products for backup storage.
The Enter pictures== command loads pictures into the application from an archive file. (Attention! When this command is executed in the application, the entire folder of pictures is cleared and pictures from the sent archive are loaded into it.)
---------------------
The command Change storefront== in the text of a message with a photo will make this photo the showcase of your store.
---------------------
Command with parameters: (parameter values are specified between the signs == ==)
Product==7 ==
name== Volvo ==
category== cars==
properties== blue, automatic transmission, 6 years, negotiable ==
price== 300000 ==
description== in good condition, mileage 100,000 km. ==
This command will change the filled fields in the product with the specified number.
If you do not specify the number Product== ==, then a new product will be created with the fields filled in.
You can send this command with any number of parameters.
And even without parameters, a new “empty” product will be created in the application.
If you send this command with a photo, a photo of the product will also be loaded.
-----------------------
The Get input template== command returns the text of the previous command so that you can copy it instead of typing it manually.
-----------------------
The Upload translation== command displays the texts of store dialogues for translation into any language. It is necessary to translate all words, phrases and the text of the buyer's instructions. Then send it to the application with the following command.
The Enter translation== command will enter the translated texts of the store dialogues into the application.
After entering it, you must restart the application for the new translation settings to take effect.