Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- exports.handler = function slash(event, context, callback) {
- callback(null, {
- text: 'Hello!',
- attachments: [{
- text: 'Click the button',
- fallback: 'Click the button',
- callback_id: 'clicky',
- color: '#eheheh',
- actions: [{
- name: 'hello',
- text: 'hello',
- type: 'button',
- value: 'eh'
- }]
- }]
- })
- }
Add Comment
Please, Sign In to add comment