Skip to content

Function: getAvatars() ​

ts
function getAvatars(
   client, 
   parameters, 
   options?
): Promise<{
[key: string]: unknown;
  custom?: object[];
  system?: object[];
}>;

Defined in: src/server/api/avatars.ts:28

Returns a list of all avatars

Parameters ​

ParameterType
clientClient
parameters{ owningObjectId: string; type: string; }
parameters.owningObjectIdstring
parameters.type?string
options?RequestOptions

Returns ​

Promise<{ [key: string]: unknown; custom?: object[]; system?: object[]; }>