如何扩展电报bot的答复限制以及电报bot的答复限制是什么?[我正在使用dialogflow集成] [英] How to extend the limit for reply from telegram bot and what is the limit of reply from telegram bot?[i am using dialogflow integration]

查看:85
本文介绍了如何扩展电报bot的答复限制以及电报bot的答复限制是什么?[我正在使用dialogflow集成]的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用dialogflow集成创建用于电报的机器人。我从机器人那里得到了一些小查询的答复,但是我没有从机器人那里得到了关于机器人期望的更大的多行答案的答复。

I was using dialogflow integration to create bot for telegram.I am getting replies from bot for small queries but i am not getting replies from the bot for larger multi-line answers expected from the bot.

推荐答案

发送4096个字符的消息时报文有限制,您的答案是否比这更长?

Telegram has a limit when sending message of 4096 chars, are your answers longer than this?


400 BAD_REQUEST MESSAGE_TOO_LONG消息太长。当前的最大长度为4096个UTF8字符

400 BAD_REQUEST MESSAGE_TOO_LONG Message was too long. Current maximum length is 4096 UTF8 characters

[参见文档]

这篇关于如何扩展电报bot的答复限制以及电报bot的答复限制是什么?[我正在使用dialogflow集成]的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆