AttachmentPayload Classe
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Cuidado
The Bot Framework Adapters will be deprecated in the next version of the Bot Framework SDK and moved to https://github.com/BotBuilderCommunity/botbuilder-community-dotnet. Please refer to their new location for all future work.
Carga útil interna de anexo do Facebook que pode ser enviada como parte de um anexo do Facebook em uma mensagem do Facebook.
[System.Obsolete("The Bot Framework Adapters will be deprecated in the next version of the Bot Framework SDK and moved to https://github.com/BotBuilderCommunity/botbuilder-community-dotnet. Please refer to their new location for all future work.")]
public class AttachmentPayload
[<System.Obsolete("The Bot Framework Adapters will be deprecated in the next version of the Bot Framework SDK and moved to https://github.com/BotBuilderCommunity/botbuilder-community-dotnet. Please refer to their new location for all future work.")>]
type AttachmentPayload = class
Public Class AttachmentPayload
- Herança
-
AttachmentPayload
- Atributos
Construtores
| Nome | Description |
|---|---|
| AttachmentPayload() |
Obsoleto.
Carga útil interna de anexo do Facebook que pode ser enviada como parte de um anexo do Facebook em uma mensagem do Facebook. |
Propriedades
| Nome | Description |
|---|---|
| AttachmentId |
Obsoleto.
Obtém ou define o ID do acessório (para acessórios reutilizáveis). |
| Buttons |
Obsoleto.
Recebe uma lista de botões do modelo. |
| Elements |
Obsoleto.
Recebe uma lista de elementos de mídia do modelo. |
| IsReusable |
Obsoleto.
Recebe ou define um valor indicando se o acessório é reutilizável ou não. Falso padrão. |
| TemplateType |
Obsoleto.
Obtém ou define o tipo do modelo anexado. |
| Text |
Obsoleto.
Obtém ou define o texto do modelo. |
| Url |
Obsoleto.
Obtém ou define a URL do anexo. |
Métodos
| Nome | Description |
|---|---|
| ShouldSerializeButtons() |
Obsoleto.
Método JSON Newtonsoft para serializar condicionalmente a Buttons propriedade. |
| ShouldSerializeElements() |
Obsoleto.
Método JSON Newtonsoft para serializar condicionalmente a Elements propriedade. |
| ShouldSerializeIsReusable() |
Obsoleto.
Método JSON Newtonsoft para serializar condicionalmente a IsReusable propriedade. |