N
N
nnikolyaa2020-06-27 00:32:15
Python
nnikolyaa, 2020-06-27 00:32:15

Error adding participant to conversation Group authorization failed: method is unavailable with group auth?

When trying to add a user, it throws the error vk_api.exceptions.ApiError: [27] Group authorization failed: method is unavailable with group auth . How to solve it?
Initial code:

vk.messages.addChatUser(chat_id=peid, user_id='***********', visible_messages_count=1000)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
soremix, 2020-06-27
@SoreMix

Have you tried google translate? It is written that the addchatuser method does not work through the group token.
Well, look what you need for the method, there is not a word about working through the group
https://vk.com/dev/messages.addChatUser

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question