Share via


MessageActionsPayload Class

Definition

Represents the individual message within a chat or channel where a message actions is taken.

public class MessageActionsPayload
type MessageActionsPayload = class
Public Class MessageActionsPayload
Inheritance
MessageActionsPayload

Constructors

MessageActionsPayload()

Initializes a new instance of the MessageActionsPayload class.

MessageActionsPayload(String, String, String, String, String, Nullable<Boolean>, String, String, String, String, MessageActionsPayloadFrom, MessageActionsPayloadBody, String, IList<MessageActionsPayloadAttachment>, IList<MessageActionsPayloadMention>, IList<MessageActionsPayloadReaction>)

Initializes a new instance of the MessageActionsPayload class.

Properties

AttachmentLayout

Gets or sets how the attachment(s) are displayed in the message.

Attachments

Gets or sets attachments in the message - card, image, file, etc.

Body

Gets or sets plaintext/HTML representation of the content of the message.

CreatedDateTime

Gets or sets timestamp of when the message was created.

Deleted

Gets or sets indicates whether a message has been soft deleted.

From

Gets or sets sender of the message.

Id

Gets or sets unique id of the message.

Importance

Gets or sets the importance of the message. Possible values include: 'normal', 'high', 'urgent'.

LastModifiedDateTime

Gets or sets timestamp of when the message was edited or updated.

LinkToMessage

Gets or sets the link back to the message.

Locale

Gets or sets locale of the message set by the client.

Mentions

Gets or sets list of entities mentioned in the message.

MessageType

Gets or sets type of message - automatically set to message. Possible values include: 'message'.

Reactions

Gets or sets reactions for the message.

ReplyToId

Gets or sets id of the parent/root message of the thread.

Subject

Gets or sets subject line of the message.

Summary

Gets or sets summary text of the message that could be used for notifications.

Applies to