Attachment Construtores
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
Sobrecargas
| Attachment() |
Inicializa uma nova instância da Attachment classe . |
| Attachment(String, String, Object, String, String) |
Inicializa uma nova instância da Attachment classe . |
Attachment()
Inicializa uma nova instância da Attachment classe .
public Attachment();
Public Sub New ()
Aplica-se a
Attachment(String, String, Object, String, String)
Inicializa uma nova instância da Attachment classe .
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)
Parâmetros
- contentType
- String
mimetype/Contenttype para o ficheiro.
- contentUrl
- String
URL de Conteúdo.
- content
- Object
Conteúdo incorporado.
- name
- String
(OPCIONAL) O nome do anexo.
- thumbnailUrl
- String
(OPCIONAL) Miniatura associada ao anexo.