incoming webhook ============== An incoming webhook maubot based on the maugitea plugin WARNING: This bot is still under development, so things may change, break, or even work properly. Install & Run ------------ icoming_webhook: just a regular plugin, zip it and upload it. Webhooks ------------ url: `https://fancy.domain/_matrix/maubot/plugin//webhook/r0?room=` Add the secret to base-config.yaml * webhook-secret: "your secret here" Bot usage ------------ Add the bot to the room and then when you POST a message to the webhook URL the bot will post the message to the room. Example: ``` $web_hook_secret, 'message' => "Here is a test message "))); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt( $ch, CURLOPT_HTTPHEADER, array('Content-Type:application/json')); $result = curl_exec($ch); curl_close($ch); ?> ```