M
M
Maxim Recipient2019-10-19 19:15:46
API
Maxim Recipient, 2019-10-19 19:15:46

How to invite a community to a conversation via VK.API?

Is there a method that, through a user key, adds a community to a conversation?
Found only messages.addChatUser , which adds only users.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Stockholm Syndrome, 2019-10-19
@ms_toster

there is a hidden section of bot methods that has no documentation and to use which you need to get a token from the Bot Pod application
get the token
parameters of the bot.addBotToChat method you need :

  • peer_id - conversation ID
  • bot_id - community ID with a minus sign

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question