ArmBotServiceModelFactory.FacebookChannelProperties Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.