本文介绍了如何关闭自动回复?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我的机器人程序具有通知"选项.如果点击了通知",我想停止对该用户的自动回复.那可能吗 ?有什么例子吗?
PS:我知道这个问题没有正确提出,但是我不知道从哪里开始.
解决方案
如果要停止在对话中显示用户从一组选项中选择的内容,可以将CardAction
类型设置为PostBack
./p>
例如
CardAction CardButton = new CardAction()
{
Type = ActionTypes.PostBack,
Title = item.ToString(),
Value = item.ToString()
};
My bot has an option "notify".I would like to stop automatic replies for that user if "notify" has been hit.Is that possible ? Any example ?
PS: I know this question is not asked properly, but i don't know where to start.
解决方案
If you want to stop displaying in the conversation what the user selected from a set of options, you can set the CardAction
type to PostBack
.
eg.
CardAction CardButton = new CardAction()
{
Type = ActionTypes.PostBack,
Title = item.ToString(),
Value = item.ToString()
};
这篇关于如何关闭自动回复?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!