Trigger buttons in messages through API

Description

Is it possible to post messages containing trigger buttons (like the attached screenshot from Telegram) into a RocketChat channel through the REST API?

Server Setup Information

  • Version of Rocket.Chat Server:
  • Operating System:
  • Deployment Method:
  • Number of Running Instances:
  • DB Replicaset Oplog:
  • NodeJS Version:
  • MongoDB Version:
  • Proxy:
  • Firewalls involved:

Any additional Information

Hi! Welcome to our community :slight_smile:

You can post messages using our robust REST API, for example using this endpoint:

However, it’s limited to the specifications you can check on this link.

Whenever you want to do more (opening modals, buttons, dropdown and what not), the way to go is to develop an APP that can handle it.

A Rocket.Chat App can leverage our UI kit and use it.

As a coincidence, we are having a Community Open Call next week, where we’ll have out Front End Engineers talking about this subject: Rocket.Chat's Community Open Call | Rocket.Chat

1 Like