Function deltachat::chat::add_info_msg_with_cmd
source · pub(crate) async fn add_info_msg_with_cmd(
context: &Context,
chat_id: ChatId,
text: &str,
cmd: SystemMessage,
timestamp_sort: i64,
timestamp_sent_rcvd: Option<i64>,
parent: Option<&Message>,
from_id: Option<ContactId>,
) -> Result<MsgId>
Expand description
Adds an informational message to chat.
For example, it can be a message showing that a member was added to a group. Doesn’t fail if the chat doesn’t exist.