doutuo3899 2015-08-11 10:04
浏览 377
已采纳

Telegram bot:将全文显示为ReplyKeyboardMarkup按钮

I'm working on a Poll-like Bot where I want to show the choices as buttons. Some choices consist of 10 or more words. When I but that text in as a button, the middle words converted to dots. i.e: "We have the capacity to receive messages from the stars and the songs of the night winds."

When I put this as a button, it will show like this: "We have the capacity to ... of the night winds".

Is there any workaround?

  • 写回答

1条回答 默认 最新

  • dongmao7195 2015-08-12 03:51
    关注

    i suggest you; using of command instead of reply keyboard. you can easily add slash and number to beginning of your choices, so user can click on it:

    /1 We have the capacity to receive messages from the stars and the songs of the night winds.
    /2 We have not the capacity to receive messages from the stars and the songs of the night winds.
    /3 test test test
    /4 example example example
    

    the /1, /2, /3 and /4 will convert to link and convert to clickable text.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥20 wireshark抓不到vlan
  • ¥20 关于#stm32#的问题:需要指导自动酸碱滴定仪的原理图程序代码及仿真
  • ¥20 设计一款异域新娘的视频相亲软件需要哪些技术支持
  • ¥15 stata安慰剂检验作图但是真实值不出现在图上
  • ¥15 c程序不知道为什么得不到结果
  • ¥40 复杂的限制性的商函数处理
  • ¥15 程序不包含适用于入口点的静态Main方法
  • ¥15 素材场景中光线烘焙后灯光失效
  • ¥15 请教一下各位,为什么我这个没有实现模拟点击
  • ¥15 执行 virtuoso 命令后,界面没有,cadence 启动不起来