Answer the question
In order to leave comments, you need to log in
Why is the post made on behalf of the user and not the VK API group?
Why is the post made on behalf of the user and not the VK API group?
vk_session = vk_api.VkApi('+791111111', '1')
vk_session.auth()
vk = vk_session.get_api()
@client.on(events.NewMessage(chats=('chat')))
async def normal_handler(event):
message = event.message
client = event.client
media = event.message.media
await vk.wall.post(owner_id='id', message=event.raw_text) #Отправляем сообщение
client.start()
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question