Skip to main content

send_turn_event

Function send_turn_event 

Source
pub fn send_turn_event(channel: &str, chat_id: i64, event: AgentEvent) -> bool
Expand description

Send an event into the live turn for (channel, chat_id) if one is running with an event consumer attached. Returns true when delivered.