Struct yobot::yobot::Yobot [] [src]

pub struct Yobot { /* fields omitted */ }

Methods

impl Yobot
[src]

[src]

Create a new yobot instance.

[src]

Connect slack Real Time API socket.

Once the socket is connected, messages will be directed to the listener.

[src]

Add a MessageListener to the bot

The more listeners you have the more useful your bot becomes (for potentially loose definitions of useful :P).