Created
January 5, 2018 16:41
-
-
Save alvarezgarcia/fb7d65afeaac09cacad7bbbc7557abad 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
{ | |
"response_type":"ephemeral", | |
"replace_original":true, | |
"attachments":[ | |
{ | |
"pretext":"\n*Open tasks:*\n", | |
"text":"✅ *<http://sinople.dev.com:9000/task/5df2fb4a528464beb09585fc67f5a272?ref=task_id|TL1Z>:* Task 5", | |
"attachment_type":"default", | |
"mrkdwn_in":[ | |
"text", | |
"pretext", | |
"fields" | |
] | |
}, | |
{ | |
"pretext":"_Select a task to mark as completed:_", | |
"callback_id":"todo_list", | |
"actions":[ | |
{ | |
"name":"done_from_list", | |
"text":"Select a task...", | |
"type":"select", | |
"option_groups":[ | |
{ | |
"text":"Open tasks", | |
"options":[ | |
] | |
} | |
] | |
} | |
], | |
"mrkdwn_in":[ | |
"text", | |
"pretext", | |
"fields" | |
] | |
}, | |
{ | |
"callback_id":"todo_list", | |
"actions":[ | |
{ | |
"name":"dismiss", | |
"text":"Dismiss", | |
"type":"button", | |
"value":"" | |
}, | |
{ | |
"url":"http://sinople.dev.com:9000/list/5a4c08237d2c79448a96a195?ref=todo_list", | |
"name":"view_in_workast", | |
"text":"⎋ Open in Workast", | |
"value":"", | |
"style":"default", | |
"type":"button" | |
}, | |
{ | |
"name":"list_todo_done", | |
"text":"Show completed", | |
"value":"", | |
"style":"default", | |
"type":"button" | |
}, | |
{ | |
"name":"share_list", | |
"text":"⎋ Share", | |
"value":"", | |
"style":"primary", | |
"type":"button" | |
} | |
], | |
"mrkdwn_in":[ | |
"text", | |
"pretext", | |
"fields" | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment