arrows.py 文件源码

python
阅读 19 收藏 0 点赞 0 评论 0

项目:telegram_robot 作者: uts-magic-lab 项目源码 文件源码
def start(self, bot, update):
        keyboardStr = [
            ["-", "?", "+"],
            ["?", " ", "?"],
            ["?", "?", "?"],
            ["STOP"],
        ]

        headKeyboard = [
            [" ", "?", " "],
            ["?", " ", "?"],
            [" ", "?", " "],
            ["Paparazzi"],
        ]

        gripperKeyboard = [
            ["Open Left", "Open Right"],
            ["Close Half Left", "Close Half Right"],
            ["Close Left", "Close Right"]
        ]

        keyboard = self.createKeyboard(keyboardStr)

        reply_markup = ReplyKeyboardMarkup(keyboard)

        update.message.reply_text(
            'Tap the arrows to move the PR2:', reply_markup=reply_markup)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号