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.