Avatar ·

为什么编辑消息时不显示内联键盘?

📁 python, Python2 - 关于Python 2.x的遗留问题, Python 版本讨论:Python 3.x 最新动态

我有一个用Python编写的代码,用于发送消息并随后进行编辑。
但是,当现有消息中的文本和按钮发生变化时,文本会改变,但按钮会消失。Class = "" Data-Highlighted = ""> if call.data == : python_markup = Telebot.types.InlineKeyboardMarkup(row_width = 3 ) counter_chapters = 0 for for chapter in python_chapters_true: counter_chapters += 1 if len (chapter) & gt; = 33 : chapter_true = f "" {chapter [: 33 ]} "" chapter = chapter_true chapter_true = f "" {chapter_true} .. "" else : character_true = f ""