ChatMessage 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.
Response for When a new channel message is added
public class ChatMessage
type ChatMessage = class
Public Class ChatMessage
- Inheritance
-
ChatMessage
Constructors
| Name | Description |
|---|---|
| ChatMessage() | |
Properties
| Name | Description |
|---|---|
| Attachments |
attachments |
| Body |
Plaintext representation of the content of the message |
| CreationTimestamp |
Timestamp of when the chat message was created |
| Deleted |
deleted |
| Etag |
Version number of the chat message. |
| From |
The message sender |
| Id |
Unique ID of the message |
| Importance |
The importance of the message. The possible values are: normal, high, urgent. |
| LastModifiedTimestamp |
Timestamp when the chat message is created (initial setting) or modified, including when a reaction is added or removed |
| Locale |
Locale of the chat message set by the client. |
| Mentions |
List of entities mentioned in the chat message. Supported entities are: user, bot, team, and channel. |
| MessageType |
The type of chat message |
| Reactions |
Reactions for this chat message (for example, Like) |
| ReplyToId |
ID of the parent message of the thread |
| Subject |
The subject of the chat message, optional |
| Summary |
Summary text of the message that could be used for push notifications and summary views or fall back views |