story-kit: merge 322_story_whatsapp_24_hour_messaging_window_and_template_support

This commit is contained in:
Dave
2026-03-19 23:58:31 +00:00
parent e3ade4cca5
commit 02947700ba
6 changed files with 496 additions and 16 deletions

View File

@@ -80,6 +80,13 @@ pub struct BotConfig {
/// and configure it in the Meta webhook settings).
#[serde(default)]
pub whatsapp_verify_token: Option<String>,
/// Name of the approved Meta message template used for pipeline
/// notifications when the 24-hour messaging window has expired.
///
/// The template must be registered in the Meta Business Manager before
/// use. Defaults to `"pipeline_notification"`.
#[serde(default)]
pub whatsapp_notification_template: Option<String>,
}
fn default_transport() -> String {