Hs anfibio bot

From HSS
Revision as of 17:56, 20 January 2024 by C0 (talk | contribs)

ESTE CÓDIGO HAY QUE IMPLEMENTARLOOOOO para que tome las variables (corchetes).

#!/bin/sh

#
# aquí se procesa la entrada de info desde el prompt u_u
#

curl --header "Content-Type: application/json" \
  --request POST \
  --data '{"chat_id":"[CHAT-ID]","parse_mode":"Markdown","text":"[TEXTO]"}' \
  https://api.telegram.org/bot[TOKEN]/sendMessage