Element Klasa
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.
Uwaga
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.
Reprezentuje element szablonowej wiadomości.
[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 Element
[<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 Element = class
Public Class Element
- Dziedziczenie
-
Element
- Atrybuty
Konstruktory
| Nazwa | Opis |
|---|---|
| Element() |
Przestarzałe.
Reprezentuje element szablonowej wiadomości. |
Właściwości
| Nazwa | Opis |
|---|---|
| Buttons |
Przestarzałe.
Dostaje listę przycisków dla elementu. |
| DefaultAction |
Przestarzałe.
Otrzymuje lub ustawia domyślną akcję dla elementu. |
| ImageUrl |
Przestarzałe.
Pobiera lub ustawia adres URL obrazu. |
| MediaType |
Przestarzałe.
Określa lub ustala typ elementu medialnego. |
| Subtitle |
Przestarzałe.
Pobiera lub ustawia tekst napisów elementu. |
| Title |
Przestarzałe.
Otrzymuje lub ustawia tytuł elementu. |
| Url |
Przestarzałe.
Otrzymuje lub ustawia adres URL elementu multimedialnego. |
Metody
| Nazwa | Opis |
|---|---|
| ShouldSerializeButtons() |
Przestarzałe.
Metoda Newtonsoft JSON do warunkowej serializacji Buttons właściwości. |