> ## Documentation Index
> Fetch the complete documentation index at: https://docs.photon.codes/docs/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Use Stable documentation by default. Honor an explicit Beta request or a URL under /docs/beta/. If the requested version conflicts with the installed CLI package or API origin, clarify the target before writing integration code.
> Pages under /docs/beta/ document Beta; other product pages document Stable. Keep the CLI package, commands, API origin, and credentials within the selected version. State the documentation version in your answer.
> For MCP search, always pass version: Stable or version: Beta. Unfiltered search mixes both versions. For filesystem reads, keep Beta queries under /beta/ and exclude /beta/ from Stable queries; discover paths before reading them.
> The public docs base is https://photon.codes/docs. Convert MCP page paths to public URLs under that base, preserving /beta/ when present. Read https://photon.codes/docs/skill.md for version selection and https://photon.codes/docs/llms.txt for the version indexes.

# Message

> Published @photon-ai/imessage-kit type reference.

Message object

Represents a complete iMessage/SMS message

## Properties

**associatedMessageGuid** `string | null` *required*

GUID of the message this reaction is associated with (null if not a reaction)

**attachments** `readonly Attachment[]` *required*

**Type:** `readonly Attachment[]`

List of attachments (readonly array)

**chatId** `string` *required*

ID of the chat this message belongs to

**date** `Date` *required*

Message sent/received time

**guid** `string` *required*

Globally unique identifier for the message

**id** `string` *required*

Unique ID of the message in database

**isFromMe** `boolean` *required*

Whether the message is sent by me

**isGroupChat** `boolean` *required*

Whether this is a group chat message

**isReaction** `boolean` *required*

Whether this message is a tapback reaction

**isReactionRemoval** `boolean` *required*

Whether this is removing a reaction (vs adding)

**isRead** `boolean` *required*

Whether the message is read

**reactionType** `ReactionType | null` *required*

Type of reaction (null if not a reaction)

**sender** `string` *required*

Sender identifier (phone number or email)

**senderName** `string | null` *required*

Sender display name (may be null)

**service** `ServiceType` *required*

Message service type

**text** `string | null` *required*

Message text content (null for non-text messages)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.