---
title: init()
framework: messages
role: symbol
role_heading: Initializer
path: messages/msmessage/init()
---

# init()

Initializes a new message that is not part of a session.

## Declaration

```swift
init()
```

## Return Value

Return Value A newly initialized message.

## Discussion

Discussion Use this initializer to create a new message that transmits app data, but is not updatable. When the recipient selects the message, the recipient’s app extension launches and receives the message object, but it cannot update the message.

## See Also

### Creating Messages

- [init(session:)](messages/msmessage/init(session:).md)
