1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
//! The [`Client`] manages your registered event handlers and provides them with
//! up-to-date access to the api connection.
//!
//! The act of dispatching events to configured handlers is also handled
//! directly via the [`Client`]. In addition, the [`api`] and [`framework`]
//! modules are also automatically handled by the [`Client`] for you.
//!
//! A [`Context`] is provided for every handler, providing them with access to
//! the api connection and any shared data you have set.
//!
//! See [here][examples] for some examples on how to use the [`Client`].
//!
//! [examples]: struct.Client.html#Examples
//! [`api`]: ../api/index.html
//! [`framework`]: ../framework/index.html
//! [`Context`]: struct.Context.html
//! [`Client`]: struct.Client.html
use crateAPI;
use Future;
use Pin;
pub use ClientBuilder;
pub use Client;
pub use Context;
pub use ;
pub use UpdatesStream;
pub use ;
type APIConnector = dyn API + Send;
pub type FutureOutcome = ;