change bot message text
This commit is contained in:
@@ -10,8 +10,8 @@ token = env.str("BOT_TOKEN")
|
|||||||
def send_orders_to_tg_bot(chat_id, product_name, quantity):
|
def send_orders_to_tg_bot(chat_id, product_name, quantity):
|
||||||
url = f"https://api.telegram.org/bot{token}/sendMessage"
|
url = f"https://api.telegram.org/bot{token}/sendMessage"
|
||||||
message = (
|
message = (
|
||||||
f"📦 Mahsulot nomi: {product_name}\n"
|
f"✅ Товар: {product_name}\n"
|
||||||
f"🔢 Mahsulot soni: {quantity}\n"
|
f"🔢 Кол-во: {quantity}\n"
|
||||||
)
|
)
|
||||||
payload = {
|
payload = {
|
||||||
"chat_id": chat_id,
|
"chat_id": chat_id,
|
||||||
|
|||||||
Reference in New Issue
Block a user