cd C:\Users\User\telegram-bot-api\bin
.\telegram-bot-api --api-id=53339 --api-hash=c303ed7b960c9aecaeb525bfb6022446 --local
http://localhost:8081/bot7175829217:AAFcckDoLmmPp7ZkOD-GpBQ9FxCh-raipho/getwebhookinfo
dev bot
http://t.me/testfastfood123bot
token: 7175829217:AAFcckDoLmmPp7ZkOD-GpBQ9FxCh-raipho
http://frontend.yii2tgbot.lc/telegram/webhook
live bot
https://t.me/sj_market_bot
token: 7773840674:AAF-QJxacj1yZmdOx2ExxzPWJ5aFnQCjM7A
webhook: https://demo.tgbot.uz/telegram/webhook
https://api.telegram.org/bot7773840674:AAF-QJxacj1yZmdOx2ExxzPWJ5aFnQCjM7A/getwebhookinfo
http://backend.yii2tgbot.lc/
http://frontend.yii2tgbot.lc/
- admin url - http://backend.yii2tgbot.lc/category
php yii script/create-admin - create admin script
admin password
admin
123
import emoji script
'charset' => 'utf8mb4', //main-local.php
php yii script/import-emoji
php yii script/set-translation-shortcodes - translation shortcodes loader
php yii script/set-ru-shortcodes - russian shortcodes loaded done
php yii script/set-uz-shortcodes - uzbek shortcodes loaded done
php yii script/set-en-shortcodes - english shortcodes loaded done
php yii script/generate-all-translations - generate translations from database
php yii script/generate-all-translations
//create default payment methods
php yii script/create-payment-methods
//Add next commands to bot with @BotFather
home - 🏡 Bosh sahifa / Главная
search - 🔎 Qidirish / Поиск
catalog - 🛍 Katalog / Каталог
cart - 🛒 Savatcha /Корзина
change_lang - 🌐 Tilni tanlash / Выбрать язык
create dir frontend/web/upload
create file common\config\paycom
/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {...}
/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {...}
/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {...}
/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {...}
/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {...}