Message 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.
Obiekt wiadomości na Facebooku używany podczas wysyłania wiadomości przez API Facebooka.
[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 Message
[<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 Message = class
Public Class Message
- Dziedziczenie
-
Message
- Atrybuty
Konstruktory
| Nazwa | Opis |
|---|---|
| Message() |
Przestarzałe.
Obiekt wiadomości na Facebooku używany podczas wysyłania wiadomości przez API Facebooka. |
Właściwości
| Nazwa | Opis |
|---|---|
| Attachment |
Przestarzałe.
Dostaje lub ustawia przyłącznik. |
| Attachments |
Przestarzałe.
Dostaje listę dodatków. |
| IsEcho |
Przestarzałe.
Otrzymuje lub ustawia wartość wskazującą, czy wiadomość została wysłana bezpośrednio ze strony. |
| Metadata |
Przestarzałe.
Pobiera lub ustawia metadane. |
| Mid |
Przestarzałe.
Pobiera lub ustawia identyfikator komunikatu. |
| QuickReplies |
Przestarzałe.
Dostaje szybkie odpowiedzi. |
| StickerId |
Przestarzałe.
Dostaje lub ustawia identyfikator naklejki. |
| Text |
Przestarzałe.
Odbiera lub ustawia tekst wiadomości. |
Metody
| Nazwa | Opis |
|---|---|
| ShouldSerializeAttachments() |
Przestarzałe.
Metoda Newtonsoft JSON do warunkowej serializacji Attachments właściwości. |
| ShouldSerializeIsEcho() |
Przestarzałe.
Metoda Newtonsoft JSON do warunkowej serializacji IsEcho właściwości. |
| ShouldSerializeQuickReplies() |
Przestarzałe.
Metoda Newtonsoft JSON do warunkowej serializacji QuickReplies właściwości. |