Skip to main content

inject_from_bridge

Function inject_from_bridge 

Source
pub(crate) fn inject_from_bridge(
    req: InjectionRequest,
    raw_text: &str,
) -> InjectionResponse
Expand description

Delivers a message a chat bridge (Slack, Discord, Telegram, WhatsApp) received, with its transcript-request fields resolved against this channel’s store first. raw_text is the sender’s own text, before the bridge’s [Platform @user]: envelope in req.message.