Taal

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 ontvanger-ID-veld.

message
Message

Inhoud van het berichtveld.

messagingType
String

Het type webhook-evenement. Voor meer informatie, zie de Facebook-lijst van Webhook-evenementen.

notificationType
String

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

personaId
String

De persona ID.

senderAction
String

Berichtstatus om aan de gebruiker te tonen: typing_on, typing_off, mark_seen. Kan niet worden verzonden met 'bericht'. Wanneer het wordt gebruikt, zou 'ontvanger' de enige andere eigenschap moeten zijn die in het verzoek wordt ingesteld.

senderId
String

De afzender-ID.

Van toepassing op