Skip to main content

message_json

Function message_json 

Source
pub fn message_json(m: &Message, otp: Option<&str>) -> Value
Expand description

The one shape a message takes on the wire: .../messages/{id}, wait, SSE and webhook payloads alike.