Creates a new group or event on behalf of the current user.

This method requires the following permissions: groups.

Parameters

name
string

The name of the community.

description
string

The description of the community (HTML).

type
enum

Community type.

Possible values: group, event.

start_date
integer

The unixtime when the event starts (required for type = event).

Result

Returns the identifier of the newly created community.

Errors

Global errors may occur when calling this method.