pub async fn send_msg(
context: &Context,
chat_id: ChatId,
msg: &mut Message,
) -> Result<MsgId>
Expand description
Sends a message object to a chat.
Sends the event #DC_EVENT_MSGS_CHANGED on success. However, this does not imply, the message really reached the recipient - sending may be delayed eg. due to network problems. However, from your view, you’re done with the message. Sooner or later it will find its way.