Language

FacebookMessage コンストラクター

定義

FacebookMessage クラスの新しいインスタンスを初期化します。

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)

パラメーター

recipientId
String

受信者IDフィールドの内容。

message
Message

メッセージ欄の内容。

messagingType
String

ウェブフックイベントの種類。 詳細はFacebook のWebhookイベント一覧をご覧ください。

tag
String

オプションのメッセージタグ文字列。 https://developers.facebook.com/docs/messenger-platform/send-messages/message-tagsを参照してください。

notificationType
String

オプションの通知タイプは、REGULAR(デフォルト値)、SILENT_PUSH、NO_PUSH。

personaId
String

ペルソナID。

senderAction
String

ユーザーに表示するメッセージ状態:typing_on、typing_off、mark_seen。 「メッセージ」と一緒に送ることはできません。 使用する場合、「受信者」はリクエスト内で設定される唯一の他のプロパティであるべきです。

senderId
String

差出人IDです。

適用対象