hytopia
Version:
The HYTOPIA SDK makes it easy for developers to create massively multiplayer games using JavaScript or TypeScript.
58 lines (28 loc) • 884 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [server](./server.md) > [Player](./server.player.md) > [unscheduleNotification](./server.player.unschedulenotification.md)
## Player.unscheduleNotification() method
Unschedules a scheduled notification for the player.
**Signature:**
```typescript
unscheduleNotification(notificationId: string): Promise<boolean>;
```
## Parameters
<table><thead><tr><th>
Parameter
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
notificationId
</td><td>
string
</td><td>
The ID returned from `Player.scheduleNotification`<!-- -->.
</td></tr>
</tbody></table>
**Returns:**
Promise<boolean>
True if the notification was unscheduled, false otherwise.
\*\*Category:\*\* Players