Developers » API methods » Groups » groups.getLongPollServer
Groupsgroups.getLongPollServer
Returns data for Bots Long Poll API connection.
This method can be called with a user token received in Standalone-app via Implicit Flow. Access rights required: groups.
This method can be called with a community token. Access rights required: manage.
Parameters
group_idCommunity ID.
positive number, required parameter
Result
Returns an object with following fields:
  • key (string) key;
  • server (string) server URL;
  • ts (integer) timestamp.
Errors
Global errors can occur while running. See their descriptions on this page.
Version historyShow all
5.85
App object has new values in type field:
  • app social app;
  • game game;
  • site third-party website;
  • standalone standalone app;
  • vk_app VK App
  • community_app community application;
  • html5_game HTML5 game.
is_html5_app field will not be returned.

messages.getConversationMembers method can return new 917 error.

Polls API changes: