Skip to main content

send_telegram_text

Function send_telegram_text 

Source
pub async fn send_telegram_text(
    http: &Client,
    bot_token: &str,
    chat_id: &str,
    text: &str,
) -> Result<(), String>
Expand description

Send a plain-text message via the Telegram Bot API (sendMessage). Returns Ok(()) only on a 2xx so a workflow node can surface a failed send.