minca
ApiCoreFunctions

Function: offeredActions()

function offeredActions(as?): NodeAction[];

Defined in: packages/core/src/node/actions.ts:1070

The actions offered to a model: all for the account; for a bot, all but PERSON_ONLY; for an agent, not direct messages either

Parameters

ParameterType
as?{ agent?: boolean; bot?: boolean; }
as.agent?boolean
as.bot?boolean

Returns

NodeAction[]

On this page