...
| Блок кода |
|---|
| language | py |
|---|
| theme | DJango |
|---|
| title | Оставшиеся две строки BPL-кода |
|---|
|
$url = str.join(["https://api.telegram.org/bot", $botId, "/sendMessage?chat_id=", $userId, "&parse_mode=HTML&text=", $text], "")
$response = http.sendRequest($url, "POST", $json, {"accept": "application/json", "Content-Type": "application/json"}) |
Полностью код блока арифметики должен выглядеть так:
| Блок кода |
|---|
| language | py |
|---|
| theme | DJango |
|---|
| title | Полный код блока с BPL |
|---|
|
$json = {"reply_markup": {"keyboard": [["😁","Ты кто?😅","Привет"],["Ой😊","М?", "😜"]],"resize_keyboard": true,"one_time_keyboard": true}}
$url = str.join(["https://api.telegram.org/bot", $botId, "/sendMessage?chat_id=", $userId, "&parse_mode=HTML&text=", $text], "")
$response = http.sendRequest($url, "POST", $json, {"accept": "application/json", "Content-Type": "application/json"}) |
...