Created
August 9, 2016 13:19
-
-
Save DominicImhof/3b75a13f9bef30d07d05744aacbda691 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$roomPrefix = 'doems'; | |
header('Content-type: application/json'); | |
$response = array( | |
'response_type' => 'in_channel', | |
'text' => 'https://talky.io/' . uniqid($roomPrefix . '-') | |
); | |
echo json_encode($response); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment