Skip to main content

send

Function send 

Source
pub async fn send(message: &str, target: Option<&str>) -> Result<()>
Expand description

Send a Telegram notification message.

§Arguments

  • message — the text to send
  • target — optional chat_id override; falls back to channels.telegram.chat_id