Answer the question
In order to leave comments, you need to log in
How to implement button click in user LongPoll vk api?
There is a code:
#! /usr/bin/env python
# -*- coding: utf-8 -*-
import vk
from time import sleep
user_id = 381994701
vk_api_access_token = '7ebe46e049ff01d5f66411a730cad9384de39f1a8514dd2'
vk_api_version = '5.103'
session = vk.AuthSession(access_token = vk_api_access_token)
api = vk.API(session, v = vk_api_version)
Answer the question
In order to leave comments, you need to log in
What does it mean? Do you want to press it for the user? Or do you want to edit?
The user cannot be clicked. You can, as it were, simply at the moment you need to "estimate" that the user pressed it. And do an action by sending an additional message with a new keyboard (or empty).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question