huemul
huemul copied to clipboard
idea: ver la posibilidad de integrar Ephemeral Responses
Mas info en chat.postEphemeral
RESOLVED
robot.respond(/ephemeral/i, res => {
const options = {
link_names: true,
attachments: [{ text: 'Hola Mundo' }],
as_user: true
}
robot.adapter.client.web.chat.postEphemeral(
res.message.room, null, res.message.user.id, options
)
})