Attachment Konstruktory
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Przeciążenia
| Attachment() |
Inicjuje nowe wystąpienie klasy Attachment. |
| Attachment(String, String, Object, String, String) |
Inicjuje nowe wystąpienie klasy Attachment. |
Attachment()
Attachment(String, String, Object, String, String)
Inicjuje nowe wystąpienie klasy Attachment.
public Attachment(string contentType = default, string contentUrl = default, object content = default, string name = default, string thumbnailUrl = default);
new Microsoft.Bot.Schema.Attachment : string * string * obj * string * string -> Microsoft.Bot.Schema.Attachment
Public Sub New (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)
Parametry
- contentType
- String
mimetype/Contenttype dla pliku.
- contentUrl
- String
Adres URL zawartości.
- content
- Object
Osadzona zawartość.
- name
- String
(OPCJONALNIE) Nazwa załącznika.
- thumbnailUrl
- String
(OPCJONALNIE) Miniatura skojarzona z załącznikiem.