Вопрос решен, вот так вот, мдаimport vk_api
from vk_api.bot_longpoll import VkBotEventType, VkBotLongPoll
import json
vk = vk_api.VkApi(token="токен")
vk._auth_token()
vk.get_api()
keyboard = {
"one_time": False,
"buttons": [
[{
"action": {
"type": "text",
"payload": "{\"button\": \"1\"}",
"label": "верхняя левая кнопка"
},
"color": "negative"
},
{
"action": {
"type": "text",
"payload": "{\"button\": \"1\"}",
"label": "верхняя правая кнопка"
},
"color": "positive"
},
],[
{
"action": {
"type": "text",
"payload": "{\"button\": \"2\"}",
"label": "нижняя левая кнопка"
},
"color": "primary"
},
{
"action": {
"type": "text",
"payload": "{\"button\": \"3\"}",
"label": "Нижняя правая"
},
"color": "secondary"
}
]
]
}
keyboard = json.dumps(keyboard, ensure_ascii=False).encode('utf-8')
keyboard = str(keyboard.decode('utf-8'))
longpoll = VkBotLongPoll(vk, айди сообщ-ва)
while True: