如何在 Facebook 聊天机器人快速回复上删除空格或设置宽度

How remove whitespace or set width on facebook chatbot quickreplies

我正在为 Facebook Messenger 创建一个评级聊天机器人。

不幸的是,我在 android 和 iOS 上得到了不同的结果。

在 iOS 和网络上,我收到了这样的快速回复:

在 Android 我得到一个带滚动条的大按钮。

我可以删除 android 上数字后的前导 space 或设置最小宽度吗??

我使用的代码是:

quick_replies: [ 
        { content_type: 'text', title: '0',  payload: `0-${key}` },
        { content_type: 'text', title: '1',  payload: `1-${key}` },
        { content_type: 'text', title: '2',  payload: `2-${key}` },
        { content_type: 'text', title: '3',  payload: `3-${key}` },
        { content_type: 'text', title: '4',  payload: `4-${key}` },
        { content_type: 'text', title: '5',  payload: `5-${key}` },
        { content_type: 'text', title: '6',  payload: `6-${key}` },
        { content_type: 'text', title: '7',  payload: `7-${key}` },
        { content_type: 'text', title: '8',  payload: `8-${key}` },
        { content_type: 'text', title: '9',  payload: `9-${key}` },
        { content_type: 'text', title: '10', payload: `1-|${key}` }
    ]

目前不支持此功能,但请在 android 上打开有关意外空白的错误报告:

https://developers.facebook.com/support/bugs/