---
Product: Aspose.PDF
Platform: go
Page Type: reference
Canonical URL: https://reference.aspose.org/pdf/go/message
---

# Message

## Overview

`Message` is a type in Aspose.PDF FOSS for Go.

Message is a single chat message.

Properties: `Images`, `Role`, `Text`.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `Role` | `string` | Read/Write | Gets the role. |
| `Text` | `string` | Read/Write | Gets the text. |
| `Images` | `[]MessageImage` | Read/Write | Gets the images. |

## See Also

- [Aspose.PDF — Enterprise API Reference](https://reference.aspose.com/pdf/)