# ScheduledMessagesByToken_OcsDataParentReactionsSelf
Get all scheduled messages of a given room and participant
The author and timestamp are automatically set to the current user and time.
Required capability: `scheduled-messages`
## Documentation
The author and timestamp are automatically set to the current user and time.
Required capability: `scheduled-messages`
- Catalog: `Spreed`
- Schema: `Spreed`
This is a read-only table function. The Nextcloud API may not support changing the data or the Invantive UniversalSQL driver for Nextcloud does not cover it. In the latter case, please use the table NativePlatformScalarRequests to upload data to the Nextcloud API.
## Parameters of Table Function
The following parameters can be used to control the behaviour of the table function `ScheduledMessagesByToken_OcsDataParentReactionsSelf`. A value must be provided at all times for required parameters, but optional parameters in general do not need to have a value and the execution will default to a pre-defined behaviour. Values can be specified by position and by name. In both cases, all parameters not specified will be evaluated using their default values.
Value specification by position is done by listing all values from the first to the last needed value. For example: a `select * from table(value1, value2, value3)` on a table with four parameters will use the default value for the fourth parameter and the specified values for the first three.
Value specification by name is done by listing all values that require a value. For example with `select * from table(name1 => value1, name3 => value3)` on the same table will use the default values for the second and fourth parameters and the specified values for the first and third.
| Name | Data Type | Required | Default Value | Documentation |
|---|:---:|:---:|:---:|---|
| `apiVersion` | `` | ☐ | v1 | Values: v1. |
| `token` | `` | ☑ | | |
## Columns of Table Function
The columns of the table function `ScheduledMessagesByToken_OcsDataParentReactionsSelf` are shown below. Each column has an SQL data type.
| Name | Data Type | Label | Required | Documentation |
|---|:---:|---|:---:|---|
| `actorDisplayName` | `varchar2` | | ☐ | |
| `actorId_2` | `varchar2` | | ☐ | |
| `actorId` | `varchar2` | | ☐ | |
| `actorType_2` | `varchar2` | | ☐ | |
| `actorType` | `varchar2` | | ☐ | |
| `createdAt` | `int64` | | ☐ | |
| `deleted` | `char` | | ☐ | |
| `expirationTimestamp` | `int64` | | ☐ | |
| `id_2` | `varchar2` | | ☐ | SnowflakeID |
| `id` | `int64` | | ☐ | |
| `isReplyable` | `char` | | ☐ | |
| `isThread` | `char` | | ☐ | |
| `lastEditActorDisplayName` | `varchar2` | | ☐ | |
| `lastEditActorId` | `varchar2` | | ☐ | |
| `lastEditActorType` | `varchar2` | | ☐ | |
| `lastEditTimestamp` | `int64` | | ☐ | |
| `markdown` | `char` | | ☐ | |
| `messageParameters` | `varchar2` | | ☐ | The JSON text of the nested object. |
| `messageType_2` | `varchar2` | | ☐ | |
| `messageType` | `varchar2` | | ☐ | |
| `message_2` | `varchar2` | | ☐ | |
| `message` | `varchar2` | | ☐ | |
| `metaData_pinnedActorDisplayName` | `varchar2` | | ☐ | Display name of the attendee that pinned the message - Required capability: `pinned-messages` |
| `metaData_pinnedActorId` | `varchar2` | | ☐ | Actor ID of the attendee that pinned the message - Required capability: `pinned-messages` |
| `metaData_pinnedActorType` | `varchar2` | | ☐ | Actor type of the attendee that pinned the message - Required capability: `pinned-messages` |
| `metaData_pinnedAt` | `int64` | | ☐ | Timestamp when the message was pinned - Required capability: `pinned-messages` |
| `metaData_pinnedUntil` | `int64` | | ☐ | Timestamp until when the message is pinned. If missing the message is pinned infinitely - Required capability: `pinned-messages` |
| `metaData_threadId` | `int64` | | ☐ | Set when a thread is created with this message. If missing, no thread creation is associated with this message |
| `metaData_threadTitle` | `varchar2` | | ☐ | Set when a thread is created with this message. If missing, no thread creation is associated with this message |
| `originalSendAt` | `int64` | | ☐ | Set only if sending failed to persist the original timestamp and expose it |
| `reactions` | `varchar2` | | ☐ | The JSON text of the nested object. |
| `referenceId` | `varchar2` | | ☐ | |
| `sendAt` | `int64` | | ☐ | |
| `silent_2` | `char` | | ☐ | |
| `silent` | `char` | | ☐ | |
| `systemMessage` | `varchar2` | | ☐ | |
| `threadId_2` | `int64` | | ☐ | |
| `threadId` | `int64` | | ☐ | |
| `threadReplies` | `int64` | | ☐ | |
| `threadTitle_2` | `varchar2` | | ☐ | |
| `threadTitle` | `varchar2` | | ☐ | |
| `timestamp` | `int64` | | ☐ | |
| `token` | `varchar2` | | ☐ | |
| `value` | `varchar2` | | ☐ | |