Delen via


FacebookMessage Constructor

Definitie

Initialiseert een nieuw exemplaar van de FacebookMessage klasse.

public FacebookMessage(string recipientId, Microsoft.Bot.Builder.Adapters.Facebook.Message message, string messagingType, string tag = default, string notificationType = default, string personaId = default, string senderAction = default, string senderId = default);
new Microsoft.Bot.Builder.Adapters.Facebook.FacebookMessage : string * Microsoft.Bot.Builder.Adapters.Facebook.Message * string * string * string * string * string * string -> Microsoft.Bot.Builder.Adapters.Facebook.FacebookMessage
Public Sub New (recipientId As String, message As Message, messagingType As String, Optional tag As String = Nothing, Optional notificationType As String = Nothing, Optional personaId As String = Nothing, Optional senderAction As String = Nothing, Optional senderId As String = Nothing)

Parameters

recipientId
String

Inhoud van het veld ontvanger-id.

message
Message

Inhoud van het berichtveld.

messagingType
String

Het type webhook-gebeurtenis. Zie de Facebook-lijst met webhook-gebeurtenissen voor meer informatie.

notificationType
String

Het optionele meldingstype: REGULAR (standaardwaarde), SILENT_PUSH, NO_PUSH.

personaId
String

De persona-id.

senderAction
String

Berichtstatus die aan de gebruiker moet worden weergegeven: typing_on, typing_off mark_seen. Kan niet worden verzonden met 'bericht'. Bij gebruik moet 'ontvanger' de enige andere eigenschap zijn die in de aanvraag is ingesteld.

senderId
String

De afzender-id.

Van toepassing op