Can I send slash commands by Google Chat API REST?

55 views Asked by At

I would like to know if it is possible to send slash commands through the Google Chat REST API. When I send for example /random pokemon to the Giphy app, the command /random is interpreted as a plain text and doesnt trigger any action back from the app.

I'm trying to create the message using the endpoint from official documentation `POST https://chat.googleapis.com/v1/{parent=spaces/*}/messages

Am I missing something or is there no option to send these commands through the API? The thing is, if commands can't be sent, I don't know how to interact with my implementation...

That's all. Thanks in advance!

0

There are 0 answers