Developers » API methods » Messages » messages.getInviteLink
Receives a link to invite a user to the chat.
This method can be called with a user token received in Standalone-app via Implicit Flow. Access rights required: messages.
This method can be called with a community token. Access rights required: messages.
peer_idDestination ID.

For multichat:
2000000000 + chat id.

positive number, required parameter
reset1 Ś to generate new link (revoke previous), 0 Ś to return previous link.
flag, either 1 or 0, default
positive number
Returns an objects with the only field link (string) containing the link for inviting.
919You can't see invite link for this chat
931You can't change invite link for this chat
Global errors can occur while running. See their descriptions on this page.