S
S
samperirrrrr2020-05-19 21:17:25
Python
samperirrrrr, 2020-05-19 21:17:25

How to change community name using VK API?

I received a community token, how do I change the community name using only the VK API?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Daniil Lebedinsky, 2020-05-20
@samperirrrrr

Shalom
Here is an example:

vk.method("groups.edit", {"group_id": "id группы", "title": "название сообщества"})

PS If I'm not mistaken, it may be necessary to transfer some other parameters. But it seems so.

M
MixLtv, 2020-05-19
@MixLtv

You check what the token has access to, then if you have access to messages, send a message to an existing person and check the peer_id using the GetHystory method of the last message.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question