我想构建一个机器人,其中调用用户首先需要从第一个 Bot 响应中选择一个选项,因此所选选项确实将其发布到房间。
一个简单的例子来解释用例:
User "Mr.X" is in room "RoomX".
Mr.X sends the following message to the room "@MyBot greet".
MyBot bot responds with an interactive card saying (this card is only visible to Mr.X):
"Select the type of greet you'll would like to use:"
Kind greet
Rude greet
Mr.X clicks "Kind greet" option in the interactive card.
MyBot sends the following message to RoomX (visible to all in the room):
"Greeting everyone, I hope you have a good day!"
我对 Slack 机器人有一点经验,可以指定机器人响应只能对调用者可见。
除了将 DM 中的私密部分“回复”给用户之外,还有其他类似的方法可以在 Hangouts Chat 中实现此用例吗?