Adds info message with a given text and `timestamp` to the chat.
(context: &Context, chat_id: ChatId, text: &str)
| 5014 | |
| 5015 | /// Adds info message with a given text and `timestamp` to the chat. |
| 5016 | pub(crate) async fn add_info_msg(context: &Context, chat_id: ChatId, text: &str) -> Result<MsgId> { |
| 5017 | add_info_msg_with_cmd( |
| 5018 | context, |
| 5019 | chat_id, |
| 5020 | text, |
| 5021 | SystemMessage::Unknown, |
| 5022 | None, |
| 5023 | time(), |
| 5024 | None, |
| 5025 | None, |
| 5026 | None, |
| 5027 | ) |
| 5028 | .await |
| 5029 | } |
| 5030 | |
| 5031 | pub(crate) async fn update_msg_text_and_timestamp( |
| 5032 | context: &Context, |