VkBottle - асинхронная библиотека ВК

Возникает ошибка: [VKBottle] While parent_processor was handling error occurred

pydantic.error_wrappers.ValidationError: 2 validation errors for Message
client_info -> button_actions -> 5
  value is not a valid enumeration member; permitted: 'text', 'location', 'vkpay', 'open_app', 'open_link', 'open_photo', 'callback' (type=type_error.enum; enum_values=[<ButtonActions.text: 'text'>, <ButtonActions.location: 'location'>, <ButtonActions.vkpay: 'vkpay'>, <ButtonActions.open_app: 'open_app'>, <ButtonActions.open_link: 'open_link'>, <ButtonActions.open_photo: 'open_photo'>, <ButtonActions.callback: 'callback'>])
client_info -> button_actions -> 6
  value is not a valid enumeration member; permitted: 'text', 'location', 'vkpay', 'open_app', 'open_link', 'open_photo', 'callback' (type=type_error.enum; enum_values=[<ButtonActions.text: 'text'>, <ButtonActions.location: 'location'>, <ButtonActions.vkpay: 'vkpay'>, <ButtonActions.open_app: 'open_app'>, <ButtonActions.open_link: 'open_link'>, <ButtonActions.open_photo: 'open_photo'>, <ButtonActions.callback: 'callback'>])

Код:

from vkbottle import Bot, Message
import os


TOKEN = os.getenv("token")


bot = Bot(TOKEN)


@bot.on.message(text="Привет")
async def start(answer: Message):
    await answer(f"Здравствуй!")


if __name__ == "__main__":
    bot.run_polling()


Ответы (0 шт):