Struct yobot::slackhandler::SlackHandler [] [src]

pub struct SlackHandler<F> { /* fields omitted */ }

Methods

impl<F> SlackHandler<F> where
    F: Fn(&Message, &RtmClient), 
[src]

[src]

[src]

Trait Implementations

impl<F> EventHandler for SlackHandler<F> where
    F: Fn(&Message, &RtmClient), 
[src]

[src]

When a message is received this will be called with self, the slack client, and the Event received. Read more

[src]

Called when the connection is opened.

[src]

Called when the connection is closed for any reason.