MessageActionsPayloadAttachment Constructors
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.
Overloads
MessageActionsPayloadAttachment() |
Initializes a new instance of the MessageActionsPayloadAttachment class. |
MessageActionsPayloadAttachment(String, String, String, Object, String, String) |
Initializes a new instance of the MessageActionsPayloadAttachment class. |
MessageActionsPayloadAttachment()
Initializes a new instance of the MessageActionsPayloadAttachment class.
public MessageActionsPayloadAttachment ();
Public Sub New ()
Applies to
MessageActionsPayloadAttachment(String, String, String, Object, String, String)
Initializes a new instance of the MessageActionsPayloadAttachment class.
public MessageActionsPayloadAttachment (string id = default, string contentType = default, string contentUrl = default, object content = default, string name = default, string thumbnailUrl = default);
new Microsoft.Bot.Schema.Teams.MessageActionsPayloadAttachment : string * string * string * obj * string * string -> Microsoft.Bot.Schema.Teams.MessageActionsPayloadAttachment
Public Sub New (Optional id As String = Nothing, Optional contentType As String = Nothing, Optional contentUrl As String = Nothing, Optional content As Object = Nothing, Optional name As String = Nothing, Optional thumbnailUrl As String = Nothing)
Parameters
- id
- String
The id of the attachment.
- contentType
- String
The type of the attachment.
- contentUrl
- String
The url of the attachment, in case of an external link.
- content
- Object
The content of the attachment, in case of a code snippet, email, or file.
- name
- String
The plaintext display name of the attachment.
- thumbnailUrl
- String
The url of a thumbnail image that might be embedded in the attachment, in case of a card.