Share via


MessageActionsPayload Constructors

Definition

Overloads

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.

MessageActionsPayload()

Initializes a new instance of the MessageActionsPayload class.

public MessageActionsPayload ();
Public Sub New ()

Applies to

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.

public MessageActionsPayload (string id = default, string replyToId = default, string messageType = default, string createdDateTime = default, string lastModifiedDateTime = default, bool? deleted = default, string subject = default, string summary = default, string importance = default, string locale = default, Microsoft.Bot.Schema.Teams.MessageActionsPayloadFrom from = default, Microsoft.Bot.Schema.Teams.MessageActionsPayloadBody body = default, string attachmentLayout = default, System.Collections.Generic.IList<Microsoft.Bot.Schema.Teams.MessageActionsPayloadAttachment> attachments = default, System.Collections.Generic.IList<Microsoft.Bot.Schema.Teams.MessageActionsPayloadMention> mentions = default, System.Collections.Generic.IList<Microsoft.Bot.Schema.Teams.MessageActionsPayloadReaction> reactions = default);
new Microsoft.Bot.Schema.Teams.MessageActionsPayload : string * string * string * string * string * Nullable<bool> * string * string * string * string * Microsoft.Bot.Schema.Teams.MessageActionsPayloadFrom * Microsoft.Bot.Schema.Teams.MessageActionsPayloadBody * string * System.Collections.Generic.IList<Microsoft.Bot.Schema.Teams.MessageActionsPayloadAttachment> * System.Collections.Generic.IList<Microsoft.Bot.Schema.Teams.MessageActionsPayloadMention> * System.Collections.Generic.IList<Microsoft.Bot.Schema.Teams.MessageActionsPayloadReaction> -> Microsoft.Bot.Schema.Teams.MessageActionsPayload
Public Sub New (Optional id As String = Nothing, Optional replyToId As String = Nothing, Optional messageType As String = Nothing, Optional createdDateTime As String = Nothing, Optional lastModifiedDateTime As String = Nothing, Optional deleted As Nullable(Of Boolean) = Nothing, Optional subject As String = Nothing, Optional summary As String = Nothing, Optional importance As String = Nothing, Optional locale As String = Nothing, Optional from As MessageActionsPayloadFrom = Nothing, Optional body As MessageActionsPayloadBody = Nothing, Optional attachmentLayout As String = Nothing, Optional attachments As IList(Of MessageActionsPayloadAttachment) = Nothing, Optional mentions As IList(Of MessageActionsPayloadMention) = Nothing, Optional reactions As IList(Of MessageActionsPayloadReaction) = Nothing)

Parameters

id
String

Unique id of the message.

replyToId
String

Id of the parent/root message of the thread.

messageType
String

Type of message - automatically set to message. Possible values include: 'message'.

createdDateTime
String

Timestamp of when the message was created.

lastModifiedDateTime
String

Timestamp of when the message was edited or updated.

deleted
Nullable<Boolean>

Indicates whether a message has been soft deleted.

subject
String

Subject line of the message.

summary
String

Summary text of the message that could be used for notifications.

importance
String

The importance of the message. Possible values include: 'normal', 'high', 'urgent'.

locale
String

Locale of the message set by the client.

from
MessageActionsPayloadFrom

Sender of the message.

body
MessageActionsPayloadBody

Plaintext/HTML representation of the content of the message.

attachmentLayout
String

How the attachment(s) are displayed in the message.

attachments
IList<MessageActionsPayloadAttachment>

Attachments in the message - card, image, file, etc.

mentions
IList<MessageActionsPayloadMention>

List of entities mentioned in the message.

reactions
IList<MessageActionsPayloadReaction>

Reactions for the message.

Applies to