ArmBotServiceModelFactory.FacebookChannelProperties Method

Definition

Initializes a new instance of FacebookChannelProperties.

public static Azure.ResourceManager.BotService.Models.FacebookChannelProperties FacebookChannelProperties (string verifyToken = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.BotService.Models.FacebookPage> pages = default, string appId = default, string appSecret = default, Uri callbackUri = default, bool isEnabled = false);
static member FacebookChannelProperties : string * seq<Azure.ResourceManager.BotService.Models.FacebookPage> * string * string * Uri * bool -> Azure.ResourceManager.BotService.Models.FacebookChannelProperties
Public Shared Function FacebookChannelProperties (Optional verifyToken As String = Nothing, Optional pages As IEnumerable(Of FacebookPage) = Nothing, Optional appId As String = Nothing, Optional appSecret As String = Nothing, Optional callbackUri As Uri = Nothing, Optional isEnabled As Boolean = false) As FacebookChannelProperties

Parameters

verifyToken
String

Verify token. Value only returned through POST to the action Channel List API, otherwise empty.

pages
IEnumerable<FacebookPage>

The list of Facebook pages.

appId
String

Facebook application id.

appSecret
String

Facebook application secret. Value only returned through POST to the action Channel List API, otherwise empty.

callbackUri
Uri

Callback Url.

isEnabled
Boolean

Whether this channel is enabled for the bot.

Returns

A new FacebookChannelProperties instance for mocking.

Applies to