We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vk.messages.send(message: 'message')
Выдаёт
TypeError: {:message=>"message"} is not a symbol
Так понимаю, что проблема в том, что вызывается стандартный метод send, а не метод 'send' из api vkontakte
Прошу подсказать простой хак)
The text was updated successfully, but these errors were encountered:
Да, дело именно в этом. Наверно, в будущих версиях vkontakte_api это будет исправлено.
vkontakte_api
Хак для нынешней версии:
vk = VkontakteApi::Client.new VkontakteApi::Method.new('send', resolver: vk.messages).call(message: 'message')
Sorry, something went wrong.
No branches or pull requests
Выдаёт
Так понимаю, что проблема в том, что вызывается стандартный метод send, а не метод 'send' из api vkontakte
Прошу подсказать простой хак)
The text was updated successfully, but these errors were encountered: