Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

idea: ver la posibilidad de integrar Ephemeral Responses #559

Open
lgaticaq opened this issue Jun 14, 2019 · 1 comment
Open

idea: ver la posibilidad de integrar Ephemeral Responses #559

lgaticaq opened this issue Jun 14, 2019 · 1 comment

Comments

@lgaticaq
Copy link
Member

Mas info en chat.postEphemeral

@lgaticaq
Copy link
Member Author

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
  )
})

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant