Udostępnij przez


AttachmentPayload Klasa

Definicja

Przestroga

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.

Wewnętrzny ładunek załącznika serwisu Facebook, który można wysłać w ramach załącznika serwisu Facebook w wiadomości na Facebooku.

[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
Dziedziczenie
AttachmentPayload
Atrybuty

Konstruktory

AttachmentPayload()
Przestarzałe.

Wewnętrzny ładunek załącznika serwisu Facebook, który można wysłać w ramach załącznika serwisu Facebook w wiadomości na Facebooku.

Właściwości

AttachmentId
Przestarzałe.

Pobiera lub ustawia identyfikator załącznika (dla załączników wielokrotnego użytku).

Buttons
Przestarzałe.

Pobiera listę przycisków szablonu.

Elements
Przestarzałe.

Pobiera listę elementów multimedialnych szablonu.

IsReusable
Przestarzałe.

Pobiera lub ustawia wartość wskazującą, czy załącznik jest wielokrotnego użytku, czy nie. Wartość domyślna false.

TemplateType
Przestarzałe.

Pobiera lub ustawia typ dołączonego szablonu.

Text
Przestarzałe.

Pobiera lub ustawia tekst szablonu.

Url
Przestarzałe.

Pobiera lub ustawia adres URL załącznika.

Metody

ShouldSerializeButtons()
Przestarzałe.

Metoda Newtonsoft JSON do warunkowego serializowania Buttons właściwości.

ShouldSerializeElements()
Przestarzałe.

Metoda Newtonsoft JSON do warunkowego serializowania Elements właściwości.

ShouldSerializeIsReusable()
Przestarzałe.

Metoda Newtonsoft JSON do warunkowego serializowania IsReusable właściwości.

Dotyczy