【发布时间】:2016-03-22 19:27:56
【问题描述】:
我对 Telegram Bot Api 和“ReplyKeyboard”有疑问。我正在使用 Python 2.7 并发送发布请求:
TelegramAPI.post(TELEGRAM_URL + "sendMessage", data=dict(chat_id=CHAT_ID, text="", keyboard={'keyboard': keyboard, 'one_time_keyboard': False, 'resize_keyboard': True})
这种格式的键盘:
[["A button"], ["B button"]]
但在 Telegram 中我看不到键盘。可能是什么问题?
【问题讨论】:
-
您使用的是什么包装器?你能分享
TelegramAPI的文档吗?
标签: python tornado telegram telegram-bot python-telegram-bot