Pergunta de entrevista da empresa Slack

Slack has an @ feature where you can tag users. If you were to design an API for it, what parameters would it accept? What would the reponse data look like?