pub fn new(name: &str) -> Chatbot {
        Chatbot {
            name: name.to_owned(),
            adapters: Vec::new(),
            handlers: Vec::new(),
            addressed_handlers: Vec::new(),
        }
    }
/// Create a new chatbot instance.
///
/// The name provided here will be used for message filtering and in handlers for whatever they
/// want. You'll want to make your binding mutable so you can call `add_adapter` and
/// `add_handler`.
Create a new chatbot instance.
The name provided here will be used for message filtering and in handlers for whatever they
want. You'll want to make your binding mutable so you can call `add_adapter` and
`add_handler`.
Create a new chatbot instance . The name provided here will be used for message filtering and in handlers for whatever they want . You ' ll want to make your binding mutable so you can call ` add_adapter ` and ` add_handler ` .
pub fn new(name: &str) -> Chatbot {
        Chatbot {
            name: name.to_owned(),
            adapters: Vec::new(),
            handlers: Vec::new(),
            addressed_handlers: Vec::new(),
        }
    }
pub fn new ( name : & str ) -> Chatbot { Chatbot { name : name . to_owned ( ) , adapters : Vec :: new ( ) , handlers : Vec :: new ( ) , addressed_handlers : Vec :: new ( ) , } }
Create a new chatbot instance.
Create a new chatbot instance .
name
&str
name
&str