You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: get_preview_enabled.rs
    path of file: ./repos/el_monitorro/src/bot/commands
    
    the code of the file until where you have to start completion: use super::Command;
use super::Message;
use super::Response;
use crate::db::telegram;
use diesel::PgConnection;
use typed_builder::TypedBuilder;

static 
    
    fn get_preview_enabled(&self, db_connection: &mut PgConnection) -> String {
        match telegram::find_chat(db_connection, self.message.chat.id) {
            None => "You don't have any subscriptions".to_string(),
            Some(chat) => {
                if chat.preview_enabled {
                    "Previews are enabled in this chat".to_string()
                } else {
                    "Previews are disabled in this chat".to_string()
                }
            }
        }
    }