social / pragma.account / AccountService / createPlayerGroupServiceV1 /

createPlayerGroupServiceV1 #

suspend fun createPlayerGroupServiceV1(serviceSession: ServiceSession, request: AccountRpc.CreatePlayerGroupServiceV1Request): AccountRpc.CreatePlayerGroupServiceV1Response

Creates a new PlayerGroup.

PragmaApplicationErrors

  • pragma.ValidationFailedApplicationError when group name is empty.
  • AccountRpc.GroupAlreadyExistsApplicationError when name is already in use.