Skip to main content

send_message

Function send_message 

Source
pub async fn send_message(
    http: &Client,
    token: &str,
    chat_id: i64,
    text: &str,
) -> Result<Message, TelegramApiError>
Expand description

POST /bot{token}/sendMessage