async fn prepare_msg_common( context: &Context, chat_id: ChatId, msg: &mut Message, change_state_to: MessageState, ) -> Result<MsgId>
Prepares a message to be sent out.