Skip to main content

chat_payload

Function chat_payload 

Source
pub fn chat_payload(
    instance: &str,
    title: &str,
    body: &str,
    url: &str,
    user: &str,
    direct: bool,
) -> Value
Expand description

Mattermost webhook payload: a mention in the channel or a direct message.