dialogflow-es - DialogFlow - send custom payload for telegram such as video
问题描述
Folks.
I need to send video file from dialog flow as URI to telegram user.
Tried:
{
"telegram": {
"video": "https://"
}
}
Tried to guess JSON format for fulfillment message via "payload" but nothing works.
And I could not find documentation about the required format.
How to do it ?
解决方案
所以显然你不能在 Telegram 中发送视频。根据doc,唯一支持的富响应是图像、卡片、快速回放和自定义有效负载(包括文本和超链接)。如果您想发送链接,这里是自定义响应的格式:
{
"telegram": {
"text": "You can read about *entities* [here](/docs/concept-entities).",
"parse_mode": "Markdown"
}
}
推荐阅读
- julia - 两个数组的朱莉娅乘法
- parsing - PLY yacc 解析器:如何为解析矩阵创建递归规则?
- javascript - 在 Cucumber HTML 报告器中捕获屏幕截图
- node.js - Netlify 在终端中未被识别
- python - 在敏感网站上隐藏用户名和密码文本----(Selenium Python/Pytest)
- python - python Speech_recognition 让我的电脑出现问题
- .htaccess - .htaccess 只允许包含特定单词的用户代理
- mysql - Laravel 5.8 BIT(1) 数据类型问题
- vba - Microsoft 是否推送了将区分大小写的更新返回到 Access accdb 的更新?
- php - 循环浏览有和没有孩子的帖子