Skip to main content

autumn_plugin_teams/
lib.rs

1//! Microsoft Teams plugin for autumn-web.
2//!
3//! - **Inbound:** a Bot Framework route that checks the Connector JWT.
4//!   Handlers by command, activity type, event name, invoke name, or
5//!   Adaptive Card verb.
6//! - **Outbound:** a Connector REST client with an app token, retry rules,
7//!   and a `serviceUrl` host allowlist. Proactive messages.
8//! - **Operations:** health indicator, Prometheus metrics, drain on shutdown.
9//!
10//! See the README for setup.
11
12pub mod activity;
13pub mod auth;
14mod client;
15pub mod config;
16mod engine;
17mod error;
18mod handlers;
19mod health;
20mod metrics;
21mod plugin;
22pub mod policy;
23mod routes;
24#[cfg(feature = "testing")]
25pub mod testing;
26mod token;
27pub mod transport;
28
29pub use client::TeamsClient;
30pub use config::TeamsConfig;
31pub use error::{HandlerError, HandlerResult, TeamsError};
32pub use handlers::TeamsContext;
33pub use health::TeamsHealth;
34pub use metrics::TeamsMetrics;
35pub use plugin::{DEFAULT_BASE_PATH, PLUGIN_NAME, TeamsPlugin, TeamsRuntime};