deltachat::chat

Function send_text_msg

source
pub async fn send_text_msg(
    context: &Context,
    chat_id: ChatId,
    text_to_send: String,
) -> Result<MsgId>
Expand description

Sends a text message to the given chat.

Returns database ID of the sent message.