Answer the question
In order to leave comments, you need to log in
What method can I get the name of a conversation on VKontakte?
I'm making a VK bot on the VK-IO library and ran into a problem, I can't get the name of the conversation. Did it like this:
const MultiChat = await vk.api.messages.getConversationsById({
peer_ids: msg.peerId
});
const ChatName = MultiChat.response.items.chat_settings.title;
Answer the question
In order to leave comments, you need to log in
const ChatName = MultiChat.items[0].chat_settings.title;
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question