public static class FacebookChannel.Builder extends Object
Constructor and Description |
---|
Builder() |
public FacebookChannel.Builder id(String id)
public FacebookChannel.Builder name(String name)
public FacebookChannel.Builder description(String description)
public FacebookChannel.Builder category(ChannelCategory category)
public FacebookChannel.Builder sessionExpiryDurationInMilliseconds(Long sessionExpiryDurationInMilliseconds)
public FacebookChannel.Builder lifecycleState(LifecycleState lifecycleState)
public FacebookChannel.Builder timeCreated(Date timeCreated)
public FacebookChannel.Builder timeUpdated(Date timeUpdated)
public FacebookChannel.Builder freeformTags(Map<String,String> freeformTags)
public FacebookChannel.Builder botId(String botId)
The ID of the Skill or Digital Assistant that the Channel is routed to.
botId
- the value to setpublic FacebookChannel.Builder webhookUrl(String webhookUrl)
The URL to use to send messages to this channel. This will be generally be used to configure a webhook in a 3rd party messaging system to send messages to this channel.
webhookUrl
- the value to setpublic FacebookChannel build()
public FacebookChannel.Builder copy(FacebookChannel model)
Copyright © 2016–2024. All rights reserved.