MessagePayload Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents the individual message within a chat or channel where a message action is taken.
public class MessagePayload
type MessagePayload = class
Public Class MessagePayload
- Inheritance
-
MessagePayload
Constructors
| Name | Description |
|---|---|
| MessagePayload() | |
Properties
| Name | Description |
|---|---|
| AttachmentLayout |
How the attachment(s) are displayed in the message. |
| Attachments |
Attachments in the message - card, image, file, etc. |
| Body |
Plaintext/HTML representation of the content of the message. |
| CreatedDateTime |
Timestamp of when the message was created. |
| Deleted |
Indicates whether a message has been soft deleted. |
| From |
Sender of the message. |
| Id |
Unique id of the message. |
| Importance |
The importance of the message. |
| LinkToMessage |
Link back to the message. |
| Locale |
Locale of the message set by the client. |
| Mentions |
List of entities mentioned in the message. |
| Reactions |
Reactions for the message. |
| Subject |
Subject line of the message. |