I'm using this and works. But how to put a button blew the message? I tried a lot and still got no idea.
Sorry i forgot to tell it's about Telegram bot api. I want to send a message with button blew.
function sendadmin(){
if [ "$admin_id" -ne "$chat_id" ]; then
curl -s \
-d parse_mode="MarkdownV2" \
-d text="$stext" \
-d chat_id="$admin_id" \
-d -sendChatAction="videos" \
-d reply_markup="" \
https://api.telegram.org/bot$bot_token/sendMessage
fi
}
stext="||Hello darling||"
sendadmin
I tried solution of this. And it's return Bad Request: can't parse reply keyboard markup JSON object
error.