# Function: offeredActions()

```ts
function offeredActions(as?): NodeAction[];
```

Defined in: [packages/core/src/node/actions.ts:1070](https://github.com/leifriksheim/minca/blob/main/core/src/node/actions.ts#L1070)

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

| Parameter | Type |
| ------ | ------ |
| `as?` | \{ `agent?`: `boolean`; `bot?`: `boolean`; \} |
| `as.agent?` | `boolean` |
| `as.bot?` | `boolean` |

## Returns

[`NodeAction`](https://minca.dev/api/core/interfaces/NodeAction.md)[]
