public static class MSTeamsChannel.Builder extends Object
Constructor and Description |
---|
Builder() |
public MSTeamsChannel.Builder id(String id)
public MSTeamsChannel.Builder name(String name)
public MSTeamsChannel.Builder description(String description)
public MSTeamsChannel.Builder category(ChannelCategory category)
public MSTeamsChannel.Builder sessionExpiryDurationInMilliseconds(Long sessionExpiryDurationInMilliseconds)
public MSTeamsChannel.Builder lifecycleState(LifecycleState lifecycleState)
public MSTeamsChannel.Builder timeCreated(Date timeCreated)
public MSTeamsChannel.Builder timeUpdated(Date timeUpdated)
public MSTeamsChannel.Builder freeformTags(Map<String,String> freeformTags)
public MSTeamsChannel.Builder msaAppId(String msaAppId)
The Microsoft App ID that you obtained when you created your bot registration in Azure.
msaAppId
- the value to setpublic MSTeamsChannel.Builder botId(String botId)
The ID of the Skill or Digital Assistant that the Channel is routed to.
botId
- the value to setpublic MSTeamsChannel.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 MSTeamsChannel build()
public MSTeamsChannel.Builder copy(MSTeamsChannel model)
Copyright © 2016–2024. All rights reserved.