azure-sdk-for-go: github.com/Azure/azure-sdk-for-go/services/preview/botservice/mgmt/2018-07-12/botservice Index | Files | Directories

package botservice

import "github.com/Azure/azure-sdk-for-go/services/preview/botservice/mgmt/2018-07-12/botservice"

Package botservice implements the Azure ARM Botservice service API version 2018-07-12.

Azure Bot Service is a platform for creating smart conversational agents.

Index

Package Files

botconnection.go bots.go channels.go client.go enterprisechannels.go models.go operations.go version.go

Constants

const (
    // DefaultBaseURI is the default URI used for the service Botservice
    DefaultBaseURI = "https://management.azure.com"
)

func UserAgent Uses

func UserAgent() string

UserAgent returns the UserAgent string to use when sending http.Requests.

func Version Uses

func Version() string

Version returns the semantic version (see http://semver.org) of the client.

type BaseClient Uses

type BaseClient struct {
    autorest.Client
    BaseURI        string
    SubscriptionID string
}

BaseClient is the base client for Botservice.

func New Uses

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI Uses

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client.

type BasicChannel Uses

type BasicChannel interface {
    AsFacebookChannel() (*FacebookChannel, bool)
    AsEmailChannel() (*EmailChannel, bool)
    AsMsTeamsChannel() (*MsTeamsChannel, bool)
    AsSkypeChannel() (*SkypeChannel, bool)
    AsKikChannel() (*KikChannel, bool)
    AsWebChatChannel() (*WebChatChannel, bool)
    AsDirectLineChannel() (*DirectLineChannel, bool)
    AsTelegramChannel() (*TelegramChannel, bool)
    AsSmsChannel() (*SmsChannel, bool)
    AsSlackChannel() (*SlackChannel, bool)
    AsChannel() (*Channel, bool)
}

BasicChannel channel definition

type Bot Uses

type Bot struct {
    autorest.Response `json:"-"`
    // Properties - The set of properties specific to bot resource
    Properties *BotProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; Specifies the resource ID.
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; Specifies the name of the resource.
    Name *string `json:"name,omitempty"`
    // Location - Specifies the location of the resource.
    Location *string `json:"location,omitempty"`
    // Type - READ-ONLY; Specifies the type of the resource.
    Type *string `json:"type,omitempty"`
    // Tags - Contains resource tags defined as key/value pairs.
    Tags map[string]*string `json:"tags"`
    // Sku - Gets or sets the SKU of the resource.
    Sku *Sku `json:"sku,omitempty"`
    // Kind - Required. Gets or sets the Kind of the resource. Possible values include: 'KindSdk', 'KindDesigner', 'KindBot', 'KindFunction'
    Kind Kind `json:"kind,omitempty"`
    // Etag - Entity Tag
    Etag *string `json:"etag,omitempty"`
}

Bot bot resource definition

func (Bot) MarshalJSON Uses

func (b Bot) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Bot.

type BotChannel Uses

type BotChannel struct {
    autorest.Response `json:"-"`
    // Properties - The set of properties specific to bot channel resource
    Properties BasicChannel `json:"properties,omitempty"`
    // ID - READ-ONLY; Specifies the resource ID.
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; Specifies the name of the resource.
    Name *string `json:"name,omitempty"`
    // Location - Specifies the location of the resource.
    Location *string `json:"location,omitempty"`
    // Type - READ-ONLY; Specifies the type of the resource.
    Type *string `json:"type,omitempty"`
    // Tags - Contains resource tags defined as key/value pairs.
    Tags map[string]*string `json:"tags"`
    // Sku - Gets or sets the SKU of the resource.
    Sku *Sku `json:"sku,omitempty"`
    // Kind - Required. Gets or sets the Kind of the resource. Possible values include: 'KindSdk', 'KindDesigner', 'KindBot', 'KindFunction'
    Kind Kind `json:"kind,omitempty"`
    // Etag - Entity Tag
    Etag *string `json:"etag,omitempty"`
}

BotChannel bot channel resource definition

func (BotChannel) MarshalJSON Uses

func (bc BotChannel) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for BotChannel.

func (*BotChannel) UnmarshalJSON Uses

func (bc *BotChannel) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for BotChannel struct.

type BotConnectionClient Uses

type BotConnectionClient struct {
    BaseClient
}

BotConnectionClient is the azure Bot Service is a platform for creating smart conversational agents.

func NewBotConnectionClient Uses

func NewBotConnectionClient(subscriptionID string) BotConnectionClient

NewBotConnectionClient creates an instance of the BotConnectionClient client.

func NewBotConnectionClientWithBaseURI Uses

func NewBotConnectionClientWithBaseURI(baseURI string, subscriptionID string) BotConnectionClient

NewBotConnectionClientWithBaseURI creates an instance of the BotConnectionClient client.

func (BotConnectionClient) Create Uses

func (client BotConnectionClient) Create(ctx context.Context, resourceGroupName string, resourceName string, connectionName string, parameters ConnectionSetting) (result ConnectionSetting, err error)

Create register a new Auth Connection for a Bot Service Parameters: resourceGroupName - the name of the Bot resource group in the user subscription. resourceName - the name of the Bot resource. connectionName - the name of the Bot Service Connection Setting resource parameters - the parameters to provide for creating the Connection Setting.

func (BotConnectionClient) CreatePreparer Uses

func (client BotConnectionClient) CreatePreparer(ctx context.Context, resourceGroupName string, resourceName string, connectionName string, parameters ConnectionSetting) (*http.Request, error)

CreatePreparer prepares the Create request.

func (BotConnectionClient) CreateResponder Uses

func (client BotConnectionClient) CreateResponder(resp *http.Response) (result ConnectionSetting, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (BotConnectionClient) CreateSender Uses

func (client BotConnectionClient) CreateSender(req *http.Request) (*http.Response, error)

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (BotConnectionClient) Delete Uses

func (client BotConnectionClient) Delete(ctx context.Context, resourceGroupName string, resourceName string, connectionName string) (result autorest.Response, err error)

Delete deletes a Connection Setting registration for a Bot Service Parameters: resourceGroupName - the name of the Bot resource group in the user subscription. resourceName - the name of the Bot resource. connectionName - the name of the Bot Service Connection Setting resource

func (BotConnectionClient) DeletePreparer Uses

func (client BotConnectionClient) DeletePreparer(ctx context.Context, resourceGroupName string, resourceName string, connectionName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (BotConnectionClient) DeleteResponder Uses

func (client BotConnectionClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (BotConnectionClient) DeleteSender Uses

func (client BotConnectionClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (BotConnectionClient) Get Uses

func (client BotConnectionClient) Get(ctx context.Context, resourceGroupName string, resourceName string, connectionName string) (result ConnectionSetting, err error)

Get get a Connection Setting registration for a Bot Service Parameters: resourceGroupName - the name of the Bot resource group in the user subscription. resourceName - the name of the Bot resource. connectionName - the name of the Bot Service Connection Setting resource

func (BotConnectionClient) GetPreparer Uses

func (client BotConnectionClient) GetPreparer(ctx context.Context, resourceGroupName string, resourceName string, connectionName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (BotConnectionClient) GetResponder Uses

func (client BotConnectionClient) GetResponder(resp *http.Response) (result ConnectionSetting, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (BotConnectionClient) GetSender Uses

func (client BotConnectionClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (BotConnectionClient) ListByBotService Uses

func (client BotConnectionClient) ListByBotService(ctx context.Context, resourceGroupName string, resourceName string) (result ConnectionSettingResponseListPage, err error)

ListByBotService returns all the Connection Settings registered to a particular BotService resource Parameters: resourceGroupName - the name of the Bot resource group in the user subscription. resourceName - the name of the Bot resource.

func (BotConnectionClient) ListByBotServiceComplete Uses

func (client BotConnectionClient) ListByBotServiceComplete(ctx context.Context, resourceGroupName string, resourceName string) (result ConnectionSettingResponseListIterator, err error)

ListByBotServiceComplete enumerates all values, automatically crossing page boundaries as required.

func (BotConnectionClient) ListByBotServicePreparer Uses

func (client BotConnectionClient) ListByBotServicePreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)

ListByBotServicePreparer prepares the ListByBotService request.

func (BotConnectionClient) ListByBotServiceResponder Uses

func (client BotConnectionClient) ListByBotServiceResponder(resp *http.Response) (result ConnectionSettingResponseList, err error)

ListByBotServiceResponder handles the response to the ListByBotService request. The method always closes the http.Response Body.

func (BotConnectionClient) ListByBotServiceSender Uses

func (client BotConnectionClient) ListByBotServiceSender(req *http.Request) (*http.Response, error)

ListByBotServiceSender sends the ListByBotService request. The method will close the http.Response Body if it receives an error.

func (BotConnectionClient) ListServiceProviders Uses

func (client BotConnectionClient) ListServiceProviders(ctx context.Context) (result ServiceProviderResponseList, err error)

ListServiceProviders lists the available Service Providers for creating Connection Settings

func (BotConnectionClient) ListServiceProvidersPreparer Uses

func (client BotConnectionClient) ListServiceProvidersPreparer(ctx context.Context) (*http.Request, error)

ListServiceProvidersPreparer prepares the ListServiceProviders request.

func (BotConnectionClient) ListServiceProvidersResponder Uses

func (client BotConnectionClient) ListServiceProvidersResponder(resp *http.Response) (result ServiceProviderResponseList, err error)

ListServiceProvidersResponder handles the response to the ListServiceProviders request. The method always closes the http.Response Body.

func (BotConnectionClient) ListServiceProvidersSender Uses

func (client BotConnectionClient) ListServiceProvidersSender(req *http.Request) (*http.Response, error)

ListServiceProvidersSender sends the ListServiceProviders request. The method will close the http.Response Body if it receives an error.

func (BotConnectionClient) ListWithSecrets Uses

func (client BotConnectionClient) ListWithSecrets(ctx context.Context, resourceGroupName string, resourceName string, connectionName string) (result ConnectionSetting, err error)

ListWithSecrets get a Connection Setting registration for a Bot Service Parameters: resourceGroupName - the name of the Bot resource group in the user subscription. resourceName - the name of the Bot resource. connectionName - the name of the Bot Service Connection Setting resource

func (BotConnectionClient) ListWithSecretsPreparer Uses

func (client BotConnectionClient) ListWithSecretsPreparer(ctx context.Context, resourceGroupName string, resourceName string, connectionName string) (*http.Request, error)

ListWithSecretsPreparer prepares the ListWithSecrets request.

func (BotConnectionClient) ListWithSecretsResponder Uses

func (client BotConnectionClient) ListWithSecretsResponder(resp *http.Response) (result ConnectionSetting, err error)

ListWithSecretsResponder handles the response to the ListWithSecrets request. The method always closes the http.Response Body.

func (BotConnectionClient) ListWithSecretsSender Uses

func (client BotConnectionClient) ListWithSecretsSender(req *http.Request) (*http.Response, error)

ListWithSecretsSender sends the ListWithSecrets request. The method will close the http.Response Body if it receives an error.

func (BotConnectionClient) Update Uses

func (client BotConnectionClient) Update(ctx context.Context, resourceGroupName string, resourceName string, connectionName string, parameters ConnectionSetting) (result ConnectionSetting, err error)

Update updates a Connection Setting registration for a Bot Service Parameters: resourceGroupName - the name of the Bot resource group in the user subscription. resourceName - the name of the Bot resource. connectionName - the name of the Bot Service Connection Setting resource parameters - the parameters to provide for updating the Connection Setting.

func (BotConnectionClient) UpdatePreparer Uses

func (client BotConnectionClient) UpdatePreparer(ctx context.Context, resourceGroupName string, resourceName string, connectionName string, parameters ConnectionSetting) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (BotConnectionClient) UpdateResponder Uses

func (client BotConnectionClient) UpdateResponder(resp *http.Response) (result ConnectionSetting, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (BotConnectionClient) UpdateSender Uses

func (client BotConnectionClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type BotProperties Uses

type BotProperties struct {
    // DisplayName - The Name of the bot
    DisplayName *string `json:"displayName,omitempty"`
    // Description - The description of the bot
    Description *string `json:"description,omitempty"`
    // IconURL - The Icon Url of the bot
    IconURL *string `json:"iconUrl,omitempty"`
    // Endpoint - The bot's endpoint
    Endpoint *string `json:"endpoint,omitempty"`
    // EndpointVersion - READ-ONLY; The bot's endpoint version
    EndpointVersion *string `json:"endpointVersion,omitempty"`
    // MsaAppID - Microsoft App Id for the bot
    MsaAppID *string `json:"msaAppId,omitempty"`
    // ConfiguredChannels - READ-ONLY; Collection of channels for which the bot is configured
    ConfiguredChannels *[]string `json:"configuredChannels,omitempty"`
    // EnabledChannels - READ-ONLY; Collection of channels for which the bot is enabled
    EnabledChannels *[]string `json:"enabledChannels,omitempty"`
    // DeveloperAppInsightKey - The Application Insights key
    DeveloperAppInsightKey *string `json:"developerAppInsightKey,omitempty"`
    // DeveloperAppInsightsAPIKey - The Application Insights Api Key
    DeveloperAppInsightsAPIKey *string `json:"developerAppInsightsApiKey,omitempty"`
    // DeveloperAppInsightsApplicationID - The Application Insights App Id
    DeveloperAppInsightsApplicationID *string `json:"developerAppInsightsApplicationId,omitempty"`
    // LuisAppIds - Collection of LUIS App Ids
    LuisAppIds *[]string `json:"luisAppIds,omitempty"`
    // LuisKey - The LUIS Key
    LuisKey *string `json:"luisKey,omitempty"`
}

BotProperties the parameters to provide for the Bot.

type BotResponseList Uses

type BotResponseList struct {
    autorest.Response `json:"-"`
    // NextLink - The link used to get the next page of bot service resources.
    NextLink *string `json:"nextLink,omitempty"`
    // Value - READ-ONLY; Gets the list of bot service results and their properties.
    Value *[]Bot `json:"value,omitempty"`
}

BotResponseList the list of bot service operation response.

func (BotResponseList) IsEmpty Uses

func (brl BotResponseList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type BotResponseListIterator Uses

type BotResponseListIterator struct {
    // contains filtered or unexported fields
}

BotResponseListIterator provides access to a complete listing of Bot values.

func NewBotResponseListIterator Uses

func NewBotResponseListIterator(page BotResponseListPage) BotResponseListIterator

Creates a new instance of the BotResponseListIterator type.

func (*BotResponseListIterator) Next Uses

func (iter *BotResponseListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*BotResponseListIterator) NextWithContext Uses

func (iter *BotResponseListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (BotResponseListIterator) NotDone Uses

func (iter BotResponseListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (BotResponseListIterator) Response Uses

func (iter BotResponseListIterator) Response() BotResponseList

Response returns the raw server response from the last page request.

func (BotResponseListIterator) Value Uses

func (iter BotResponseListIterator) Value() Bot

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type BotResponseListPage Uses

type BotResponseListPage struct {
    // contains filtered or unexported fields
}

BotResponseListPage contains a page of Bot values.

func NewBotResponseListPage Uses

func NewBotResponseListPage(getNextPage func(context.Context, BotResponseList) (BotResponseList, error)) BotResponseListPage

Creates a new instance of the BotResponseListPage type.

func (*BotResponseListPage) Next Uses

func (page *BotResponseListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*BotResponseListPage) NextWithContext Uses

func (page *BotResponseListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (BotResponseListPage) NotDone Uses

func (page BotResponseListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (BotResponseListPage) Response Uses

func (page BotResponseListPage) Response() BotResponseList

Response returns the raw server response from the last page request.

func (BotResponseListPage) Values Uses

func (page BotResponseListPage) Values() []Bot

Values returns the slice of values for the current page or nil if there are no values.

type BotsClient Uses

type BotsClient struct {
    BaseClient
}

BotsClient is the azure Bot Service is a platform for creating smart conversational agents.

func NewBotsClient Uses

func NewBotsClient(subscriptionID string) BotsClient

NewBotsClient creates an instance of the BotsClient client.

func NewBotsClientWithBaseURI Uses

func NewBotsClientWithBaseURI(baseURI string, subscriptionID string) BotsClient

NewBotsClientWithBaseURI creates an instance of the BotsClient client.

func (BotsClient) Create Uses

func (client BotsClient) Create(ctx context.Context, resourceGroupName string, resourceName string, parameters Bot) (result Bot, err error)

Create creates a Bot Service. Bot Service is a resource group wide resource type. Parameters: resourceGroupName - the name of the Bot resource group in the user subscription. resourceName - the name of the Bot resource. parameters - the parameters to provide for the created bot.

func (BotsClient) CreatePreparer Uses

func (client BotsClient) CreatePreparer(ctx context.Context, resourceGroupName string, resourceName string, parameters Bot) (*http.Request, error)

CreatePreparer prepares the Create request.

func (BotsClient) CreateResponder Uses

func (client BotsClient) CreateResponder(resp *http.Response) (result Bot, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (BotsClient) CreateSender Uses

func (client BotsClient) CreateSender(req *http.Request) (*http.Response, error)

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (BotsClient) Delete Uses

func (client BotsClient) Delete(ctx context.Context, resourceGroupName string, resourceName string) (result autorest.Response, err error)

Delete deletes a Bot Service from the resource group. Parameters: resourceGroupName - the name of the Bot resource group in the user subscription. resourceName - the name of the Bot resource.

func (BotsClient) DeletePreparer Uses

func (client BotsClient) DeletePreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (BotsClient) DeleteResponder Uses

func (client BotsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (BotsClient) DeleteSender Uses

func (client BotsClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (BotsClient) Get Uses

func (client BotsClient) Get(ctx context.Context, resourceGroupName string, resourceName string) (result Bot, err error)

Get returns a BotService specified by the parameters. Parameters: resourceGroupName - the name of the Bot resource group in the user subscription. resourceName - the name of the Bot resource.

func (BotsClient) GetCheckNameAvailability Uses

func (client BotsClient) GetCheckNameAvailability(ctx context.Context, parameters CheckNameAvailabilityRequestBody) (result CheckNameAvailabilityResponseBody, err error)

GetCheckNameAvailability check whether a bot name is available. Parameters: parameters - the request body parameters to provide for the check name availability request

func (BotsClient) GetCheckNameAvailabilityPreparer Uses

func (client BotsClient) GetCheckNameAvailabilityPreparer(ctx context.Context, parameters CheckNameAvailabilityRequestBody) (*http.Request, error)

GetCheckNameAvailabilityPreparer prepares the GetCheckNameAvailability request.

func (BotsClient) GetCheckNameAvailabilityResponder Uses

func (client BotsClient) GetCheckNameAvailabilityResponder(resp *http.Response) (result CheckNameAvailabilityResponseBody, err error)

GetCheckNameAvailabilityResponder handles the response to the GetCheckNameAvailability request. The method always closes the http.Response Body.

func (BotsClient) GetCheckNameAvailabilitySender Uses

func (client BotsClient) GetCheckNameAvailabilitySender(req *http.Request) (*http.Response, error)

GetCheckNameAvailabilitySender sends the GetCheckNameAvailability request. The method will close the http.Response Body if it receives an error.

func (BotsClient) GetPreparer Uses

func (client BotsClient) GetPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (BotsClient) GetResponder Uses

func (client BotsClient) GetResponder(resp *http.Response) (result Bot, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (BotsClient) GetSender Uses

func (client BotsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (BotsClient) List Uses

func (client BotsClient) List(ctx context.Context) (result BotResponseListPage, err error)

List returns all the resources of a particular type belonging to a subscription.

func (BotsClient) ListByResourceGroup Uses

func (client BotsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result BotResponseListPage, err error)

ListByResourceGroup returns all the resources of a particular type belonging to a resource group Parameters: resourceGroupName - the name of the Bot resource group in the user subscription.

func (BotsClient) ListByResourceGroupComplete Uses

func (client BotsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result BotResponseListIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (BotsClient) ListByResourceGroupPreparer Uses

func (client BotsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (BotsClient) ListByResourceGroupResponder Uses

func (client BotsClient) ListByResourceGroupResponder(resp *http.Response) (result BotResponseList, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (BotsClient) ListByResourceGroupSender Uses

func (client BotsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.

func (BotsClient) ListComplete Uses

func (client BotsClient) ListComplete(ctx context.Context) (result BotResponseListIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (BotsClient) ListPreparer Uses

func (client BotsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (BotsClient) ListResponder Uses

func (client BotsClient) ListResponder(resp *http.Response) (result BotResponseList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (BotsClient) ListSender Uses

func (client BotsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (BotsClient) Update Uses

func (client BotsClient) Update(ctx context.Context, resourceGroupName string, resourceName string, parameters Bot) (result Bot, err error)

Update updates a Bot Service Parameters: resourceGroupName - the name of the Bot resource group in the user subscription. resourceName - the name of the Bot resource. parameters - the parameters to provide for the created bot.

func (BotsClient) UpdatePreparer Uses

func (client BotsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, resourceName string, parameters Bot) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (BotsClient) UpdateResponder Uses

func (client BotsClient) UpdateResponder(resp *http.Response) (result Bot, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (BotsClient) UpdateSender Uses

func (client BotsClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type Channel Uses

type Channel struct {
    // ChannelName - Possible values include: 'ChannelNameChannel', 'ChannelNameFacebookChannel1', 'ChannelNameEmailChannel1', 'ChannelNameMsTeamsChannel1', 'ChannelNameSkypeChannel1', 'ChannelNameKikChannel1', 'ChannelNameWebChatChannel1', 'ChannelNameDirectLineChannel1', 'ChannelNameTelegramChannel1', 'ChannelNameSmsChannel1', 'ChannelNameSlackChannel1'
    ChannelName ChannelNameBasicChannel `json:"channelName,omitempty"`
}

Channel channel definition

func (Channel) AsBasicChannel Uses

func (c Channel) AsBasicChannel() (BasicChannel, bool)

AsBasicChannel is the BasicChannel implementation for Channel.

func (Channel) AsChannel Uses

func (c Channel) AsChannel() (*Channel, bool)

AsChannel is the BasicChannel implementation for Channel.

func (Channel) AsDirectLineChannel Uses

func (c Channel) AsDirectLineChannel() (*DirectLineChannel, bool)

AsDirectLineChannel is the BasicChannel implementation for Channel.

func (Channel) AsEmailChannel Uses

func (c Channel) AsEmailChannel() (*EmailChannel, bool)

AsEmailChannel is the BasicChannel implementation for Channel.

func (Channel) AsFacebookChannel Uses

func (c Channel) AsFacebookChannel() (*FacebookChannel, bool)

AsFacebookChannel is the BasicChannel implementation for Channel.

func (Channel) AsKikChannel Uses

func (c Channel) AsKikChannel() (*KikChannel, bool)

AsKikChannel is the BasicChannel implementation for Channel.

func (Channel) AsMsTeamsChannel Uses

func (c Channel) AsMsTeamsChannel() (*MsTeamsChannel, bool)

AsMsTeamsChannel is the BasicChannel implementation for Channel.

func (Channel) AsSkypeChannel Uses

func (c Channel) AsSkypeChannel() (*SkypeChannel, bool)

AsSkypeChannel is the BasicChannel implementation for Channel.

func (Channel) AsSlackChannel Uses

func (c Channel) AsSlackChannel() (*SlackChannel, bool)

AsSlackChannel is the BasicChannel implementation for Channel.

func (Channel) AsSmsChannel Uses

func (c Channel) AsSmsChannel() (*SmsChannel, bool)

AsSmsChannel is the BasicChannel implementation for Channel.

func (Channel) AsTelegramChannel Uses

func (c Channel) AsTelegramChannel() (*TelegramChannel, bool)

AsTelegramChannel is the BasicChannel implementation for Channel.

func (Channel) AsWebChatChannel Uses

func (c Channel) AsWebChatChannel() (*WebChatChannel, bool)

AsWebChatChannel is the BasicChannel implementation for Channel.

func (Channel) MarshalJSON Uses

func (c Channel) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Channel.

type ChannelName Uses

type ChannelName string

ChannelName enumerates the values for channel name.

const (
    // ChannelNameDirectLineChannel ...
    ChannelNameDirectLineChannel ChannelName = "DirectLineChannel"
    // ChannelNameEmailChannel ...
    ChannelNameEmailChannel ChannelName = "EmailChannel"
    // ChannelNameFacebookChannel ...
    ChannelNameFacebookChannel ChannelName = "FacebookChannel"
    // ChannelNameKikChannel ...
    ChannelNameKikChannel ChannelName = "KikChannel"
    // ChannelNameMsTeamsChannel ...
    ChannelNameMsTeamsChannel ChannelName = "MsTeamsChannel"
    // ChannelNameSkypeChannel ...
    ChannelNameSkypeChannel ChannelName = "SkypeChannel"
    // ChannelNameSlackChannel ...
    ChannelNameSlackChannel ChannelName = "SlackChannel"
    // ChannelNameSmsChannel ...
    ChannelNameSmsChannel ChannelName = "SmsChannel"
    // ChannelNameTelegramChannel ...
    ChannelNameTelegramChannel ChannelName = "TelegramChannel"
    // ChannelNameWebChatChannel ...
    ChannelNameWebChatChannel ChannelName = "WebChatChannel"
)

func PossibleChannelNameValues Uses

func PossibleChannelNameValues() []ChannelName

PossibleChannelNameValues returns an array of possible values for the ChannelName const type.

type ChannelNameBasicChannel Uses

type ChannelNameBasicChannel string

ChannelNameBasicChannel enumerates the values for channel name basic channel.

const (
    // ChannelNameChannel ...
    ChannelNameChannel ChannelNameBasicChannel = "Channel"
    // ChannelNameDirectLineChannel1 ...
    ChannelNameDirectLineChannel1 ChannelNameBasicChannel = "DirectLineChannel"
    // ChannelNameEmailChannel1 ...
    ChannelNameEmailChannel1 ChannelNameBasicChannel = "EmailChannel"
    // ChannelNameFacebookChannel1 ...
    ChannelNameFacebookChannel1 ChannelNameBasicChannel = "FacebookChannel"
    // ChannelNameKikChannel1 ...
    ChannelNameKikChannel1 ChannelNameBasicChannel = "KikChannel"
    // ChannelNameMsTeamsChannel1 ...
    ChannelNameMsTeamsChannel1 ChannelNameBasicChannel = "MsTeamsChannel"
    // ChannelNameSkypeChannel1 ...
    ChannelNameSkypeChannel1 ChannelNameBasicChannel = "SkypeChannel"
    // ChannelNameSlackChannel1 ...
    ChannelNameSlackChannel1 ChannelNameBasicChannel = "SlackChannel"
    // ChannelNameSmsChannel1 ...
    ChannelNameSmsChannel1 ChannelNameBasicChannel = "SmsChannel"
    // ChannelNameTelegramChannel1 ...
    ChannelNameTelegramChannel1 ChannelNameBasicChannel = "TelegramChannel"
    // ChannelNameWebChatChannel1 ...
    ChannelNameWebChatChannel1 ChannelNameBasicChannel = "WebChatChannel"
)

func PossibleChannelNameBasicChannelValues Uses

func PossibleChannelNameBasicChannelValues() []ChannelNameBasicChannel

PossibleChannelNameBasicChannelValues returns an array of possible values for the ChannelNameBasicChannel const type.

type ChannelResponseList Uses

type ChannelResponseList struct {
    autorest.Response `json:"-"`
    // NextLink - The link used to get the next page of bot service channel resources.
    NextLink *string `json:"nextLink,omitempty"`
    // Value - READ-ONLY; Gets the list of bot service channel results and their properties.
    Value *[]BotChannel `json:"value,omitempty"`
}

ChannelResponseList the list of bot service channel operation response.

func (ChannelResponseList) IsEmpty Uses

func (crl ChannelResponseList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ChannelResponseListIterator Uses

type ChannelResponseListIterator struct {
    // contains filtered or unexported fields
}

ChannelResponseListIterator provides access to a complete listing of BotChannel values.

func NewChannelResponseListIterator Uses

func NewChannelResponseListIterator(page ChannelResponseListPage) ChannelResponseListIterator

Creates a new instance of the ChannelResponseListIterator type.

func (*ChannelResponseListIterator) Next Uses

func (iter *ChannelResponseListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ChannelResponseListIterator) NextWithContext Uses

func (iter *ChannelResponseListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ChannelResponseListIterator) NotDone Uses

func (iter ChannelResponseListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (ChannelResponseListIterator) Response Uses

func (iter ChannelResponseListIterator) Response() ChannelResponseList

Response returns the raw server response from the last page request.

func (ChannelResponseListIterator) Value Uses

func (iter ChannelResponseListIterator) Value() BotChannel

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ChannelResponseListPage Uses

type ChannelResponseListPage struct {
    // contains filtered or unexported fields
}

ChannelResponseListPage contains a page of BotChannel values.

func NewChannelResponseListPage Uses

func NewChannelResponseListPage(getNextPage func(context.Context, ChannelResponseList) (ChannelResponseList, error)) ChannelResponseListPage

Creates a new instance of the ChannelResponseListPage type.

func (*ChannelResponseListPage) Next Uses

func (page *ChannelResponseListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ChannelResponseListPage) NextWithContext Uses

func (page *ChannelResponseListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ChannelResponseListPage) NotDone Uses

func (page ChannelResponseListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ChannelResponseListPage) Response Uses

func (page ChannelResponseListPage) Response() ChannelResponseList

Response returns the raw server response from the last page request.

func (ChannelResponseListPage) Values Uses

func (page ChannelResponseListPage) Values() []BotChannel

Values returns the slice of values for the current page or nil if there are no values.

type ChannelsClient Uses

type ChannelsClient struct {
    BaseClient
}

ChannelsClient is the azure Bot Service is a platform for creating smart conversational agents.

func NewChannelsClient Uses

func NewChannelsClient(subscriptionID string) ChannelsClient

NewChannelsClient creates an instance of the ChannelsClient client.

func NewChannelsClientWithBaseURI Uses

func NewChannelsClientWithBaseURI(baseURI string, subscriptionID string) ChannelsClient

NewChannelsClientWithBaseURI creates an instance of the ChannelsClient client.

func (ChannelsClient) Create Uses

func (client ChannelsClient) Create(ctx context.Context, resourceGroupName string, resourceName string, channelName ChannelName, parameters BotChannel) (result BotChannel, err error)

Create creates a Channel registration for a Bot Service Parameters: resourceGroupName - the name of the Bot resource group in the user subscription. resourceName - the name of the Bot resource. channelName - the name of the Channel resource. parameters - the parameters to provide for the created bot.

func (ChannelsClient) CreatePreparer Uses

func (client ChannelsClient) CreatePreparer(ctx context.Context, resourceGroupName string, resourceName string, channelName ChannelName, parameters BotChannel) (*http.Request, error)

CreatePreparer prepares the Create request.

func (ChannelsClient) CreateResponder Uses

func (client ChannelsClient) CreateResponder(resp *http.Response) (result BotChannel, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (ChannelsClient) CreateSender Uses

func (client ChannelsClient) CreateSender(req *http.Request) (*http.Response, error)

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (ChannelsClient) Delete Uses

func (client ChannelsClient) Delete(ctx context.Context, resourceGroupName string, resourceName string, channelName string) (result autorest.Response, err error)

Delete deletes a Channel registration from a Bot Service Parameters: resourceGroupName - the name of the Bot resource group in the user subscription. resourceName - the name of the Bot resource. channelName - the name of the Bot resource.

func (ChannelsClient) DeletePreparer Uses

func (client ChannelsClient) DeletePreparer(ctx context.Context, resourceGroupName string, resourceName string, channelName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ChannelsClient) DeleteResponder Uses

func (client ChannelsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (ChannelsClient) DeleteSender Uses

func (client ChannelsClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (ChannelsClient) Get Uses

func (client ChannelsClient) Get(ctx context.Context, resourceGroupName string, resourceName string, channelName string) (result BotChannel, err error)

Get returns a BotService Channel registration specified by the parameters. Parameters: resourceGroupName - the name of the Bot resource group in the user subscription. resourceName - the name of the Bot resource. channelName - the name of the Bot resource.

func (ChannelsClient) GetPreparer Uses

func (client ChannelsClient) GetPreparer(ctx context.Context, resourceGroupName string, resourceName string, channelName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ChannelsClient) GetResponder Uses

func (client ChannelsClient) GetResponder(resp *http.Response) (result BotChannel, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ChannelsClient) GetSender Uses

func (client ChannelsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (ChannelsClient) ListByResourceGroup Uses

func (client ChannelsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string, resourceName string) (result ChannelResponseListPage, err error)

ListByResourceGroup returns all the Channel registrations of a particular BotService resource Parameters: resourceGroupName - the name of the Bot resource group in the user subscription. resourceName - the name of the Bot resource.

func (ChannelsClient) ListByResourceGroupComplete Uses

func (client ChannelsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string, resourceName string) (result ChannelResponseListIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (ChannelsClient) ListByResourceGroupPreparer Uses

func (client ChannelsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (ChannelsClient) ListByResourceGroupResponder Uses

func (client ChannelsClient) ListByResourceGroupResponder(resp *http.Response) (result ChannelResponseList, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (ChannelsClient) ListByResourceGroupSender Uses

func (client ChannelsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.

func (ChannelsClient) ListWithKeys Uses

func (client ChannelsClient) ListWithKeys(ctx context.Context, resourceGroupName string, resourceName string, channelName ChannelName) (result BotChannel, err error)

ListWithKeys lists a Channel registration for a Bot Service including secrets Parameters: resourceGroupName - the name of the Bot resource group in the user subscription. resourceName - the name of the Bot resource. channelName - the name of the Channel resource.

func (ChannelsClient) ListWithKeysPreparer Uses

func (client ChannelsClient) ListWithKeysPreparer(ctx context.Context, resourceGroupName string, resourceName string, channelName ChannelName) (*http.Request, error)

ListWithKeysPreparer prepares the ListWithKeys request.

func (ChannelsClient) ListWithKeysResponder Uses

func (client ChannelsClient) ListWithKeysResponder(resp *http.Response) (result BotChannel, err error)

ListWithKeysResponder handles the response to the ListWithKeys request. The method always closes the http.Response Body.

func (ChannelsClient) ListWithKeysSender Uses

func (client ChannelsClient) ListWithKeysSender(req *http.Request) (*http.Response, error)

ListWithKeysSender sends the ListWithKeys request. The method will close the http.Response Body if it receives an error.

func (ChannelsClient) Update Uses

func (client ChannelsClient) Update(ctx context.Context, resourceGroupName string, resourceName string, channelName ChannelName, parameters BotChannel) (result BotChannel, err error)

Update updates a Channel registration for a Bot Service Parameters: resourceGroupName - the name of the Bot resource group in the user subscription. resourceName - the name of the Bot resource. channelName - the name of the Channel resource. parameters - the parameters to provide for the created bot.

func (ChannelsClient) UpdatePreparer Uses

func (client ChannelsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, resourceName string, channelName ChannelName, parameters BotChannel) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (ChannelsClient) UpdateResponder Uses

func (client ChannelsClient) UpdateResponder(resp *http.Response) (result BotChannel, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (ChannelsClient) UpdateSender Uses

func (client ChannelsClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type CheckNameAvailabilityRequestBody Uses

type CheckNameAvailabilityRequestBody struct {
    // Name - the name of the bot for which availability needs to be checked.
    Name *string `json:"name,omitempty"`
    // Type - the type of the bot for which availability needs to be checked
    Type *string `json:"type,omitempty"`
}

CheckNameAvailabilityRequestBody the request body for a request to Bot Service Management to check availability of a bot name.

type CheckNameAvailabilityResponseBody Uses

type CheckNameAvailabilityResponseBody struct {
    autorest.Response `json:"-"`
    // Valid - indicates if the bot name is valid.
    Valid *bool `json:"valid,omitempty"`
    // Message - additional message from the bot management api showing why a bot name is not available
    Message *string `json:"message,omitempty"`
}

CheckNameAvailabilityResponseBody the response body returned for a request to Bot Service Management to check availability of a bot name.

type ConnectionItemName Uses

type ConnectionItemName struct {
    // Name - READ-ONLY; Connection Item name that has been added in the API
    Name *string `json:"name,omitempty"`
}

ConnectionItemName the display name of a connection Item Setting registered with the Bot

type ConnectionSetting Uses

type ConnectionSetting struct {
    autorest.Response `json:"-"`
    // Properties - The set of properties specific to bot channel resource
    Properties *ConnectionSettingProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; Specifies the resource ID.
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; Specifies the name of the resource.
    Name *string `json:"name,omitempty"`
    // Location - Specifies the location of the resource.
    Location *string `json:"location,omitempty"`
    // Type - READ-ONLY; Specifies the type of the resource.
    Type *string `json:"type,omitempty"`
    // Tags - Contains resource tags defined as key/value pairs.
    Tags map[string]*string `json:"tags"`
    // Sku - Gets or sets the SKU of the resource.
    Sku *Sku `json:"sku,omitempty"`
    // Kind - Required. Gets or sets the Kind of the resource. Possible values include: 'KindSdk', 'KindDesigner', 'KindBot', 'KindFunction'
    Kind Kind `json:"kind,omitempty"`
    // Etag - Entity Tag
    Etag *string `json:"etag,omitempty"`
}

ConnectionSetting bot channel resource definition

func (ConnectionSetting) MarshalJSON Uses

func (cs ConnectionSetting) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ConnectionSetting.

type ConnectionSettingParameter Uses

type ConnectionSettingParameter struct {
    // Key - Key for the Connection Setting Parameter.
    Key *string `json:"key,omitempty"`
    // Value - Value associated with the Connection Setting Parameter.
    Value *string `json:"value,omitempty"`
}

ConnectionSettingParameter extra Parameter in a Connection Setting Properties to indicate service provider specific properties

type ConnectionSettingProperties Uses

type ConnectionSettingProperties struct {
    // ClientID - Client Id associated with the Connection Setting.
    ClientID *string `json:"clientId,omitempty"`
    // SettingID - READ-ONLY; Setting Id set by the service for the Connection Setting.
    SettingID *string `json:"settingId,omitempty"`
    // ClientSecret - Client Secret associated with the Connection Setting
    ClientSecret *string `json:"clientSecret,omitempty"`
    // Scopes - Scopes associated with the Connection Setting
    Scopes *string `json:"scopes,omitempty"`
    // ServiceProviderID - Service Provider Id associated with the Connection Setting
    ServiceProviderID *string `json:"serviceProviderId,omitempty"`
    // ServiceProviderDisplayName - Service Provider Display Name associated with the Connection Setting
    ServiceProviderDisplayName *string `json:"serviceProviderDisplayName,omitempty"`
    // Parameters - Service Provider Parameters associated with the Connection Setting
    Parameters *[]ConnectionSettingParameter `json:"parameters,omitempty"`
}

ConnectionSettingProperties properties for a Connection Setting Item

type ConnectionSettingResponseList Uses

type ConnectionSettingResponseList struct {
    autorest.Response `json:"-"`
    // NextLink - The link used to get the next page of bot service connection setting resources.
    NextLink *string `json:"nextLink,omitempty"`
    // Value - READ-ONLY; Gets the list of bot service connection settings and their properties.
    Value *[]ConnectionSetting `json:"value,omitempty"`
}

ConnectionSettingResponseList the list of bot service connection settings response.

func (ConnectionSettingResponseList) IsEmpty Uses

func (csrl ConnectionSettingResponseList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ConnectionSettingResponseListIterator Uses

type ConnectionSettingResponseListIterator struct {
    // contains filtered or unexported fields
}

ConnectionSettingResponseListIterator provides access to a complete listing of ConnectionSetting values.

func NewConnectionSettingResponseListIterator Uses

func NewConnectionSettingResponseListIterator(page ConnectionSettingResponseListPage) ConnectionSettingResponseListIterator

Creates a new instance of the ConnectionSettingResponseListIterator type.

func (*ConnectionSettingResponseListIterator) Next Uses

func (iter *ConnectionSettingResponseListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ConnectionSettingResponseListIterator) NextWithContext Uses

func (iter *ConnectionSettingResponseListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ConnectionSettingResponseListIterator) NotDone Uses

func (iter ConnectionSettingResponseListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (ConnectionSettingResponseListIterator) Response Uses

func (iter ConnectionSettingResponseListIterator) Response() ConnectionSettingResponseList

Response returns the raw server response from the last page request.

func (ConnectionSettingResponseListIterator) Value Uses

func (iter ConnectionSettingResponseListIterator) Value() ConnectionSetting

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ConnectionSettingResponseListPage Uses

type ConnectionSettingResponseListPage struct {
    // contains filtered or unexported fields
}

ConnectionSettingResponseListPage contains a page of ConnectionSetting values.

func NewConnectionSettingResponseListPage Uses

func NewConnectionSettingResponseListPage(getNextPage func(context.Context, ConnectionSettingResponseList) (ConnectionSettingResponseList, error)) ConnectionSettingResponseListPage

Creates a new instance of the ConnectionSettingResponseListPage type.

func (*ConnectionSettingResponseListPage) Next Uses

func (page *ConnectionSettingResponseListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ConnectionSettingResponseListPage) NextWithContext Uses

func (page *ConnectionSettingResponseListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ConnectionSettingResponseListPage) NotDone Uses

func (page ConnectionSettingResponseListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ConnectionSettingResponseListPage) Response Uses

func (page ConnectionSettingResponseListPage) Response() ConnectionSettingResponseList

Response returns the raw server response from the last page request.

func (ConnectionSettingResponseListPage) Values Uses

func (page ConnectionSettingResponseListPage) Values() []ConnectionSetting

Values returns the slice of values for the current page or nil if there are no values.

type DirectLineChannel Uses

type DirectLineChannel struct {
    // Properties - The set of properties specific to Direct Line channel resource
    Properties *DirectLineChannelProperties `json:"properties,omitempty"`
    // ChannelName - Possible values include: 'ChannelNameChannel', 'ChannelNameFacebookChannel1', 'ChannelNameEmailChannel1', 'ChannelNameMsTeamsChannel1', 'ChannelNameSkypeChannel1', 'ChannelNameKikChannel1', 'ChannelNameWebChatChannel1', 'ChannelNameDirectLineChannel1', 'ChannelNameTelegramChannel1', 'ChannelNameSmsChannel1', 'ChannelNameSlackChannel1'
    ChannelName ChannelNameBasicChannel `json:"channelName,omitempty"`
}

DirectLineChannel direct Line channel definition

func (DirectLineChannel) AsBasicChannel Uses

func (dlc DirectLineChannel) AsBasicChannel() (BasicChannel, bool)

AsBasicChannel is the BasicChannel implementation for DirectLineChannel.

func (DirectLineChannel) AsChannel Uses

func (dlc DirectLineChannel) AsChannel() (*Channel, bool)

AsChannel is the BasicChannel implementation for DirectLineChannel.

func (DirectLineChannel) AsDirectLineChannel Uses

func (dlc DirectLineChannel) AsDirectLineChannel() (*DirectLineChannel, bool)

AsDirectLineChannel is the BasicChannel implementation for DirectLineChannel.

func (DirectLineChannel) AsEmailChannel Uses

func (dlc DirectLineChannel) AsEmailChannel() (*EmailChannel, bool)

AsEmailChannel is the BasicChannel implementation for DirectLineChannel.

func (DirectLineChannel) AsFacebookChannel Uses

func (dlc DirectLineChannel) AsFacebookChannel() (*FacebookChannel, bool)

AsFacebookChannel is the BasicChannel implementation for DirectLineChannel.

func (DirectLineChannel) AsKikChannel Uses

func (dlc DirectLineChannel) AsKikChannel() (*KikChannel, bool)

AsKikChannel is the BasicChannel implementation for DirectLineChannel.

func (DirectLineChannel) AsMsTeamsChannel Uses

func (dlc DirectLineChannel) AsMsTeamsChannel() (*MsTeamsChannel, bool)

AsMsTeamsChannel is the BasicChannel implementation for DirectLineChannel.

func (DirectLineChannel) AsSkypeChannel Uses

func (dlc DirectLineChannel) AsSkypeChannel() (*SkypeChannel, bool)

AsSkypeChannel is the BasicChannel implementation for DirectLineChannel.

func (DirectLineChannel) AsSlackChannel Uses

func (dlc DirectLineChannel) AsSlackChannel() (*SlackChannel, bool)

AsSlackChannel is the BasicChannel implementation for DirectLineChannel.

func (DirectLineChannel) AsSmsChannel Uses

func (dlc DirectLineChannel) AsSmsChannel() (*SmsChannel, bool)

AsSmsChannel is the BasicChannel implementation for DirectLineChannel.

func (DirectLineChannel) AsTelegramChannel Uses

func (dlc DirectLineChannel) AsTelegramChannel() (*TelegramChannel, bool)

AsTelegramChannel is the BasicChannel implementation for DirectLineChannel.

func (DirectLineChannel) AsWebChatChannel Uses

func (dlc DirectLineChannel) AsWebChatChannel() (*WebChatChannel, bool)

AsWebChatChannel is the BasicChannel implementation for DirectLineChannel.

func (DirectLineChannel) MarshalJSON Uses

func (dlc DirectLineChannel) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DirectLineChannel.

type DirectLineChannelProperties Uses

type DirectLineChannelProperties struct {
    // Sites - The list of Direct Line sites
    Sites *[]DirectLineSite `json:"sites,omitempty"`
}

DirectLineChannelProperties the parameters to provide for the Direct Line channel.

type DirectLineSite Uses

type DirectLineSite struct {
    // SiteID - READ-ONLY; Site Id
    SiteID *string `json:"siteId,omitempty"`
    // SiteName - Site name
    SiteName *string `json:"siteName,omitempty"`
    // Key - READ-ONLY; Primary key. Value only returned through POST to the action Channel List API, otherwise empty.
    Key *string `json:"key,omitempty"`
    // Key2 - READ-ONLY; Secondary key. Value only returned through POST to the action Channel List API, otherwise empty.
    Key2 *string `json:"key2,omitempty"`
    // IsEnabled - Whether this site is enabled for DirectLine channel.
    IsEnabled *bool `json:"isEnabled,omitempty"`
    // IsV1Enabled - Whether this site is enabled for Bot Framework V1 protocol.
    IsV1Enabled *bool `json:"isV1Enabled,omitempty"`
    // IsV3Enabled - Whether this site is enabled for Bot Framework V1 protocol.
    IsV3Enabled *bool `json:"isV3Enabled,omitempty"`
    // IsSecureSiteEnabled - Whether this site is enabled for authentication with Bot Framework.
    IsSecureSiteEnabled *bool `json:"isSecureSiteEnabled,omitempty"`
    // TrustedOrigins - List of Trusted Origin URLs for this site. This field is applicable only if isSecureSiteEnabled is True.
    TrustedOrigins *[]string `json:"trustedOrigins,omitempty"`
}

DirectLineSite a site for the Direct Line channel

type EmailChannel Uses

type EmailChannel struct {
    // Properties - The set of properties specific to email channel resource
    Properties *EmailChannelProperties `json:"properties,omitempty"`
    // ChannelName - Possible values include: 'ChannelNameChannel', 'ChannelNameFacebookChannel1', 'ChannelNameEmailChannel1', 'ChannelNameMsTeamsChannel1', 'ChannelNameSkypeChannel1', 'ChannelNameKikChannel1', 'ChannelNameWebChatChannel1', 'ChannelNameDirectLineChannel1', 'ChannelNameTelegramChannel1', 'ChannelNameSmsChannel1', 'ChannelNameSlackChannel1'
    ChannelName ChannelNameBasicChannel `json:"channelName,omitempty"`
}

EmailChannel email channel definition

func (EmailChannel) AsBasicChannel Uses

func (ec EmailChannel) AsBasicChannel() (BasicChannel, bool)

AsBasicChannel is the BasicChannel implementation for EmailChannel.

func (EmailChannel) AsChannel Uses

func (ec EmailChannel) AsChannel() (*Channel, bool)

AsChannel is the BasicChannel implementation for EmailChannel.

func (EmailChannel) AsDirectLineChannel Uses

func (ec EmailChannel) AsDirectLineChannel() (*DirectLineChannel, bool)

AsDirectLineChannel is the BasicChannel implementation for EmailChannel.

func (EmailChannel) AsEmailChannel Uses

func (ec EmailChannel) AsEmailChannel() (*EmailChannel, bool)

AsEmailChannel is the BasicChannel implementation for EmailChannel.

func (EmailChannel) AsFacebookChannel Uses

func (ec EmailChannel) AsFacebookChannel() (*FacebookChannel, bool)

AsFacebookChannel is the BasicChannel implementation for EmailChannel.

func (EmailChannel) AsKikChannel Uses

func (ec EmailChannel) AsKikChannel() (*KikChannel, bool)

AsKikChannel is the BasicChannel implementation for EmailChannel.

func (EmailChannel) AsMsTeamsChannel Uses

func (ec EmailChannel) AsMsTeamsChannel() (*MsTeamsChannel, bool)

AsMsTeamsChannel is the BasicChannel implementation for EmailChannel.

func (EmailChannel) AsSkypeChannel Uses

func (ec EmailChannel) AsSkypeChannel() (*SkypeChannel, bool)

AsSkypeChannel is the BasicChannel implementation for EmailChannel.

func (EmailChannel) AsSlackChannel Uses

func (ec EmailChannel) AsSlackChannel() (*SlackChannel, bool)

AsSlackChannel is the BasicChannel implementation for EmailChannel.

func (EmailChannel) AsSmsChannel Uses

func (ec EmailChannel) AsSmsChannel() (*SmsChannel, bool)

AsSmsChannel is the BasicChannel implementation for EmailChannel.

func (EmailChannel) AsTelegramChannel Uses

func (ec EmailChannel) AsTelegramChannel() (*TelegramChannel, bool)

AsTelegramChannel is the BasicChannel implementation for EmailChannel.

func (EmailChannel) AsWebChatChannel Uses

func (ec EmailChannel) AsWebChatChannel() (*WebChatChannel, bool)

AsWebChatChannel is the BasicChannel implementation for EmailChannel.

func (EmailChannel) MarshalJSON Uses

func (ec EmailChannel) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EmailChannel.

type EmailChannelProperties Uses

type EmailChannelProperties struct {
    // EmailAddress - The email address
    EmailAddress *string `json:"emailAddress,omitempty"`
    // Password - The password for the email address. Value only returned through POST to the action Channel List API, otherwise empty.
    Password *string `json:"password,omitempty"`
    // IsEnabled - Whether this channel is enabled for the bot
    IsEnabled *bool `json:"isEnabled,omitempty"`
}

EmailChannelProperties the parameters to provide for the Email channel.

type EnterpriseChannel Uses

type EnterpriseChannel struct {
    autorest.Response `json:"-"`
    // Properties - The set of properties specific to an Enterprise Channel resource.
    Properties *EnterpriseChannelProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; Specifies the resource ID.
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; Specifies the name of the resource.
    Name *string `json:"name,omitempty"`
    // Location - Specifies the location of the resource.
    Location *string `json:"location,omitempty"`
    // Type - READ-ONLY; Specifies the type of the resource.
    Type *string `json:"type,omitempty"`
    // Tags - Contains resource tags defined as key/value pairs.
    Tags map[string]*string `json:"tags"`
    // Sku - Gets or sets the SKU of the resource.
    Sku *Sku `json:"sku,omitempty"`
    // Kind - Required. Gets or sets the Kind of the resource. Possible values include: 'KindSdk', 'KindDesigner', 'KindBot', 'KindFunction'
    Kind Kind `json:"kind,omitempty"`
    // Etag - Entity Tag
    Etag *string `json:"etag,omitempty"`
}

EnterpriseChannel enterprise Channel resource definition

func (EnterpriseChannel) MarshalJSON Uses

func (ec EnterpriseChannel) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EnterpriseChannel.

type EnterpriseChannelCheckNameAvailabilityRequest Uses

type EnterpriseChannelCheckNameAvailabilityRequest struct {
    // Name - The name of the Enterprise Channel for which availability needs to be checked.
    Name *string `json:"name,omitempty"`
}

EnterpriseChannelCheckNameAvailabilityRequest a request to Bot Service Management to check availability of an Enterprise Channel name.

type EnterpriseChannelCheckNameAvailabilityResponse Uses

type EnterpriseChannelCheckNameAvailabilityResponse struct {
    autorest.Response `json:"-"`
    // Valid - Indicates if the Enterprise Channel name is valid.
    Valid *bool `json:"valid,omitempty"`
    // Message - Additional information about why a bot name is not available.
    Message *string `json:"message,omitempty"`
}

EnterpriseChannelCheckNameAvailabilityResponse a request to Bot Service Management to check availability of an Enterprise Channel name.

type EnterpriseChannelNode Uses

type EnterpriseChannelNode struct {
    // ID - READ-ONLY; Id of Enterprise Channel Node. This is generated by the Bot Framework.
    ID  *string `json:"id,omitempty"`
    // State - The current state of the Enterprise Channel Node. Possible values include: 'Creating', 'CreateFailed', 'Started', 'Starting', 'StartFailed', 'Stopped', 'Stopping', 'StopFailed', 'Deleting', 'DeleteFailed'
    State EnterpriseChannelNodeState `json:"state,omitempty"`
    // Name - The name of the Enterprise Channel Node.
    Name *string `json:"name,omitempty"`
    // AzureSku - The sku of the Enterprise Channel Node.
    AzureSku *string `json:"azureSku,omitempty"`
    // AzureLocation - The location of the Enterprise Channel Node.
    AzureLocation *string `json:"azureLocation,omitempty"`
}

EnterpriseChannelNode the properties specific to an Enterprise Channel Node.

type EnterpriseChannelNodeState Uses

type EnterpriseChannelNodeState string

EnterpriseChannelNodeState enumerates the values for enterprise channel node state.

const (
    // CreateFailed ...
    CreateFailed EnterpriseChannelNodeState = "CreateFailed"
    // Creating ...
    Creating EnterpriseChannelNodeState = "Creating"
    // DeleteFailed ...
    DeleteFailed EnterpriseChannelNodeState = "DeleteFailed"
    // Deleting ...
    Deleting EnterpriseChannelNodeState = "Deleting"
    // Started ...
    Started EnterpriseChannelNodeState = "Started"
    // StartFailed ...
    StartFailed EnterpriseChannelNodeState = "StartFailed"
    // Starting ...
    Starting EnterpriseChannelNodeState = "Starting"
    // StopFailed ...
    StopFailed EnterpriseChannelNodeState = "StopFailed"
    // Stopped ...
    Stopped EnterpriseChannelNodeState = "Stopped"
    // Stopping ...
    Stopping EnterpriseChannelNodeState = "Stopping"
)

func PossibleEnterpriseChannelNodeStateValues Uses

func PossibleEnterpriseChannelNodeStateValues() []EnterpriseChannelNodeState

PossibleEnterpriseChannelNodeStateValues returns an array of possible values for the EnterpriseChannelNodeState const type.

type EnterpriseChannelProperties Uses

type EnterpriseChannelProperties struct {
    // State - The current state of the Enterprise Channel. Possible values include: 'EnterpriseChannelStateCreating', 'EnterpriseChannelStateCreateFailed', 'EnterpriseChannelStateStarted', 'EnterpriseChannelStateStarting', 'EnterpriseChannelStateStartFailed', 'EnterpriseChannelStateStopped', 'EnterpriseChannelStateStopping', 'EnterpriseChannelStateStopFailed', 'EnterpriseChannelStateDeleting', 'EnterpriseChannelStateDeleteFailed'
    State EnterpriseChannelState `json:"state,omitempty"`
    // Nodes - The nodes associated with the Enterprise Channel.
    Nodes *[]EnterpriseChannelNode `json:"nodes,omitempty"`
}

EnterpriseChannelProperties the parameters to provide for the Enterprise Channel.

type EnterpriseChannelResponseList Uses

type EnterpriseChannelResponseList struct {
    autorest.Response `json:"-"`
    // NextLink - The link used to get the next page of bot service resources.
    NextLink *string `json:"nextLink,omitempty"`
    // Value - READ-ONLY; The list of Enterprise Channels and their properties.
    Value *[]EnterpriseChannel `json:"value,omitempty"`
}

EnterpriseChannelResponseList the list of bot service operation response.

func (EnterpriseChannelResponseList) IsEmpty Uses

func (ecrl EnterpriseChannelResponseList) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type EnterpriseChannelResponseListIterator Uses

type EnterpriseChannelResponseListIterator struct {
    // contains filtered or unexported fields
}

EnterpriseChannelResponseListIterator provides access to a complete listing of EnterpriseChannel values.

func NewEnterpriseChannelResponseListIterator Uses

func NewEnterpriseChannelResponseListIterator(page EnterpriseChannelResponseListPage) EnterpriseChannelResponseListIterator

Creates a new instance of the EnterpriseChannelResponseListIterator type.

func (*EnterpriseChannelResponseListIterator) Next Uses

func (iter *EnterpriseChannelResponseListIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*EnterpriseChannelResponseListIterator) NextWithContext Uses

func (iter *EnterpriseChannelResponseListIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (EnterpriseChannelResponseListIterator) NotDone Uses

func (iter EnterpriseChannelResponseListIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (EnterpriseChannelResponseListIterator) Response Uses

func (iter EnterpriseChannelResponseListIterator) Response() EnterpriseChannelResponseList

Response returns the raw server response from the last page request.

func (EnterpriseChannelResponseListIterator) Value Uses

func (iter EnterpriseChannelResponseListIterator) Value() EnterpriseChannel

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type EnterpriseChannelResponseListPage Uses

type EnterpriseChannelResponseListPage struct {
    // contains filtered or unexported fields
}

EnterpriseChannelResponseListPage contains a page of EnterpriseChannel values.

func NewEnterpriseChannelResponseListPage Uses

func NewEnterpriseChannelResponseListPage(getNextPage func(context.Context, EnterpriseChannelResponseList) (EnterpriseChannelResponseList, error)) EnterpriseChannelResponseListPage

Creates a new instance of the EnterpriseChannelResponseListPage type.

func (*EnterpriseChannelResponseListPage) Next Uses

func (page *EnterpriseChannelResponseListPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*EnterpriseChannelResponseListPage) NextWithContext Uses

func (page *EnterpriseChannelResponseListPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (EnterpriseChannelResponseListPage) NotDone Uses

func (page EnterpriseChannelResponseListPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (EnterpriseChannelResponseListPage) Response Uses

func (page EnterpriseChannelResponseListPage) Response() EnterpriseChannelResponseList

Response returns the raw server response from the last page request.

func (EnterpriseChannelResponseListPage) Values Uses

func (page EnterpriseChannelResponseListPage) Values() []EnterpriseChannel

Values returns the slice of values for the current page or nil if there are no values.

type EnterpriseChannelState Uses

type EnterpriseChannelState string

EnterpriseChannelState enumerates the values for enterprise channel state.

const (
    // EnterpriseChannelStateCreateFailed ...
    EnterpriseChannelStateCreateFailed EnterpriseChannelState = "CreateFailed"
    // EnterpriseChannelStateCreating ...
    EnterpriseChannelStateCreating EnterpriseChannelState = "Creating"
    // EnterpriseChannelStateDeleteFailed ...
    EnterpriseChannelStateDeleteFailed EnterpriseChannelState = "DeleteFailed"
    // EnterpriseChannelStateDeleting ...
    EnterpriseChannelStateDeleting EnterpriseChannelState = "Deleting"
    // EnterpriseChannelStateStarted ...
    EnterpriseChannelStateStarted EnterpriseChannelState = "Started"
    // EnterpriseChannelStateStartFailed ...
    EnterpriseChannelStateStartFailed EnterpriseChannelState = "StartFailed"
    // EnterpriseChannelStateStarting ...
    EnterpriseChannelStateStarting EnterpriseChannelState = "Starting"
    // EnterpriseChannelStateStopFailed ...
    EnterpriseChannelStateStopFailed EnterpriseChannelState = "StopFailed"
    // EnterpriseChannelStateStopped ...
    EnterpriseChannelStateStopped EnterpriseChannelState = "Stopped"
    // EnterpriseChannelStateStopping ...
    EnterpriseChannelStateStopping EnterpriseChannelState = "Stopping"
)

func PossibleEnterpriseChannelStateValues Uses

func PossibleEnterpriseChannelStateValues() []EnterpriseChannelState

PossibleEnterpriseChannelStateValues returns an array of possible values for the EnterpriseChannelState const type.

type EnterpriseChannelsClient Uses

type EnterpriseChannelsClient struct {
    BaseClient
}

EnterpriseChannelsClient is the azure Bot Service is a platform for creating smart conversational agents.

func NewEnterpriseChannelsClient Uses

func NewEnterpriseChannelsClient(subscriptionID string) EnterpriseChannelsClient

NewEnterpriseChannelsClient creates an instance of the EnterpriseChannelsClient client.

func NewEnterpriseChannelsClientWithBaseURI Uses

func NewEnterpriseChannelsClientWithBaseURI(baseURI string, subscriptionID string) EnterpriseChannelsClient

NewEnterpriseChannelsClientWithBaseURI creates an instance of the EnterpriseChannelsClient client.

func (EnterpriseChannelsClient) CheckNameAvailability Uses

func (client EnterpriseChannelsClient) CheckNameAvailability(ctx context.Context, parameters EnterpriseChannelCheckNameAvailabilityRequest) (result EnterpriseChannelCheckNameAvailabilityResponse, err error)

CheckNameAvailability check whether an Enterprise Channel name is available. Parameters: parameters - the parameters to provide for the Enterprise Channel check name availability request.

func (EnterpriseChannelsClient) CheckNameAvailabilityPreparer Uses

func (client EnterpriseChannelsClient) CheckNameAvailabilityPreparer(ctx context.Context, parameters EnterpriseChannelCheckNameAvailabilityRequest) (*http.Request, error)

CheckNameAvailabilityPreparer prepares the CheckNameAvailability request.

func (EnterpriseChannelsClient) CheckNameAvailabilityResponder Uses

func (client EnterpriseChannelsClient) CheckNameAvailabilityResponder(resp *http.Response) (result EnterpriseChannelCheckNameAvailabilityResponse, err error)

CheckNameAvailabilityResponder handles the response to the CheckNameAvailability request. The method always closes the http.Response Body.

func (EnterpriseChannelsClient) CheckNameAvailabilitySender Uses

func (client EnterpriseChannelsClient) CheckNameAvailabilitySender(req *http.Request) (*http.Response, error)

CheckNameAvailabilitySender sends the CheckNameAvailability request. The method will close the http.Response Body if it receives an error.

func (EnterpriseChannelsClient) Create Uses

func (client EnterpriseChannelsClient) Create(ctx context.Context, resourceGroupName string, resourceName string, parameters EnterpriseChannel) (result EnterpriseChannelsCreateFuture, err error)

Create creates an Enterprise Channel. Parameters: resourceGroupName - the name of the Bot resource group in the user subscription. resourceName - the name of the Bot resource. parameters - the parameters to provide for the new Enterprise Channel.

func (EnterpriseChannelsClient) CreatePreparer Uses

func (client EnterpriseChannelsClient) CreatePreparer(ctx context.Context, resourceGroupName string, resourceName string, parameters EnterpriseChannel) (*http.Request, error)

CreatePreparer prepares the Create request.

func (EnterpriseChannelsClient) CreateResponder Uses

func (client EnterpriseChannelsClient) CreateResponder(resp *http.Response) (result EnterpriseChannel, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (EnterpriseChannelsClient) CreateSender Uses

func (client EnterpriseChannelsClient) CreateSender(req *http.Request) (future EnterpriseChannelsCreateFuture, err error)

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (EnterpriseChannelsClient) Delete Uses

func (client EnterpriseChannelsClient) Delete(ctx context.Context, resourceGroupName string, resourceName string) (result EnterpriseChannelsDeleteFuture, err error)

Delete deletes an Enterprise Channel from the resource group Parameters: resourceGroupName - the name of the Bot resource group in the user subscription. resourceName - the name of the Bot resource.

func (EnterpriseChannelsClient) DeletePreparer Uses

func (client EnterpriseChannelsClient) DeletePreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (EnterpriseChannelsClient) DeleteResponder Uses

func (client EnterpriseChannelsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (EnterpriseChannelsClient) DeleteSender Uses

func (client EnterpriseChannelsClient) DeleteSender(req *http.Request) (future EnterpriseChannelsDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (EnterpriseChannelsClient) Get Uses

func (client EnterpriseChannelsClient) Get(ctx context.Context, resourceGroupName string, resourceName string) (result EnterpriseChannel, err error)

Get returns an Enterprise Channel specified by the parameters. Parameters: resourceGroupName - the name of the Bot resource group in the user subscription. resourceName - the name of the Bot resource.

func (EnterpriseChannelsClient) GetPreparer Uses

func (client EnterpriseChannelsClient) GetPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (EnterpriseChannelsClient) GetResponder Uses

func (client EnterpriseChannelsClient) GetResponder(resp *http.Response) (result EnterpriseChannel, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (EnterpriseChannelsClient) GetSender Uses

func (client EnterpriseChannelsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (EnterpriseChannelsClient) ListByResourceGroup Uses

func (client EnterpriseChannelsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result EnterpriseChannelResponseListPage, err error)

ListByResourceGroup returns all the resources of a particular type belonging to a resource group. Parameters: resourceGroupName - the name of the Bot resource group in the user subscription.

func (EnterpriseChannelsClient) ListByResourceGroupComplete Uses

func (client EnterpriseChannelsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result EnterpriseChannelResponseListIterator, err error)

ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.

func (EnterpriseChannelsClient) ListByResourceGroupPreparer Uses

func (client EnterpriseChannelsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (EnterpriseChannelsClient) ListByResourceGroupResponder Uses

func (client EnterpriseChannelsClient) ListByResourceGroupResponder(resp *http.Response) (result EnterpriseChannelResponseList, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (EnterpriseChannelsClient) ListByResourceGroupSender Uses

func (client EnterpriseChannelsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.

func (EnterpriseChannelsClient) Update Uses

func (client EnterpriseChannelsClient) Update(ctx context.Context, resourceGroupName string, resourceName string, parameters EnterpriseChannel) (result EnterpriseChannelsUpdateFuture, err error)

Update updates an Enterprise Channel. Parameters: resourceGroupName - the name of the Bot resource group in the user subscription. resourceName - the name of the Bot resource. parameters - the parameters to provide to update the Enterprise Channel.

func (EnterpriseChannelsClient) UpdatePreparer Uses

func (client EnterpriseChannelsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, resourceName string, parameters EnterpriseChannel) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (EnterpriseChannelsClient) UpdateResponder Uses

func (client EnterpriseChannelsClient) UpdateResponder(resp *http.Response) (result EnterpriseChannel, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (EnterpriseChannelsClient) UpdateSender Uses

func (client EnterpriseChannelsClient) UpdateSender(req *http.Request) (future EnterpriseChannelsUpdateFuture, err error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type EnterpriseChannelsCreateFuture Uses

type EnterpriseChannelsCreateFuture struct {
    azure.Future
}

EnterpriseChannelsCreateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*EnterpriseChannelsCreateFuture) Result Uses

func (future *EnterpriseChannelsCreateFuture) Result(client EnterpriseChannelsClient) (ec EnterpriseChannel, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type EnterpriseChannelsDeleteFuture Uses

type EnterpriseChannelsDeleteFuture struct {
    azure.Future
}

EnterpriseChannelsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*EnterpriseChannelsDeleteFuture) Result Uses

func (future *EnterpriseChannelsDeleteFuture) Result(client EnterpriseChannelsClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type EnterpriseChannelsUpdateFuture Uses

type EnterpriseChannelsUpdateFuture struct {
    azure.Future
}

EnterpriseChannelsUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*EnterpriseChannelsUpdateFuture) Result Uses

func (future *EnterpriseChannelsUpdateFuture) Result(client EnterpriseChannelsClient) (ec EnterpriseChannel, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type Error Uses

type Error struct {
    // Error - The error body.
    Error *ErrorBody `json:"error,omitempty"`
}

Error bot Service error object.

type ErrorBody Uses

type ErrorBody struct {
    // Code - error code
    Code *string `json:"code,omitempty"`
    // Message - error message
    Message *string `json:"message,omitempty"`
}

ErrorBody bot Service error body.

type FacebookChannel Uses

type FacebookChannel struct {
    // Properties - The set of properties specific to bot facebook channel
    Properties *FacebookChannelProperties `json:"properties,omitempty"`
    // ChannelName - Possible values include: 'ChannelNameChannel', 'ChannelNameFacebookChannel1', 'ChannelNameEmailChannel1', 'ChannelNameMsTeamsChannel1', 'ChannelNameSkypeChannel1', 'ChannelNameKikChannel1', 'ChannelNameWebChatChannel1', 'ChannelNameDirectLineChannel1', 'ChannelNameTelegramChannel1', 'ChannelNameSmsChannel1', 'ChannelNameSlackChannel1'
    ChannelName ChannelNameBasicChannel `json:"channelName,omitempty"`
}

FacebookChannel facebook channel definition

func (FacebookChannel) AsBasicChannel Uses

func (fc FacebookChannel) AsBasicChannel() (BasicChannel, bool)

AsBasicChannel is the BasicChannel implementation for FacebookChannel.

func (FacebookChannel) AsChannel Uses

func (fc FacebookChannel) AsChannel() (*Channel, bool)

AsChannel is the BasicChannel implementation for FacebookChannel.

func (FacebookChannel) AsDirectLineChannel Uses

func (fc FacebookChannel) AsDirectLineChannel() (*DirectLineChannel, bool)

AsDirectLineChannel is the BasicChannel implementation for FacebookChannel.

func (FacebookChannel) AsEmailChannel Uses

func (fc FacebookChannel) AsEmailChannel() (*EmailChannel, bool)

AsEmailChannel is the BasicChannel implementation for FacebookChannel.

func (FacebookChannel) AsFacebookChannel Uses

func (fc FacebookChannel) AsFacebookChannel() (*FacebookChannel, bool)

AsFacebookChannel is the BasicChannel implementation for FacebookChannel.

func (FacebookChannel) AsKikChannel Uses

func (fc FacebookChannel) AsKikChannel() (*KikChannel, bool)

AsKikChannel is the BasicChannel implementation for FacebookChannel.

func (FacebookChannel) AsMsTeamsChannel Uses

func (fc FacebookChannel) AsMsTeamsChannel() (*MsTeamsChannel, bool)

AsMsTeamsChannel is the BasicChannel implementation for FacebookChannel.

func (FacebookChannel) AsSkypeChannel Uses

func (fc FacebookChannel) AsSkypeChannel() (*SkypeChannel, bool)

AsSkypeChannel is the BasicChannel implementation for FacebookChannel.

func (FacebookChannel) AsSlackChannel Uses

func (fc FacebookChannel) AsSlackChannel() (*SlackChannel, bool)

AsSlackChannel is the BasicChannel implementation for FacebookChannel.

func (FacebookChannel) AsSmsChannel Uses

func (fc FacebookChannel) AsSmsChannel() (*SmsChannel, bool)

AsSmsChannel is the BasicChannel implementation for FacebookChannel.

func (FacebookChannel) AsTelegramChannel Uses

func (fc FacebookChannel) AsTelegramChannel() (*TelegramChannel, bool)

AsTelegramChannel is the BasicChannel implementation for FacebookChannel.

func (FacebookChannel) AsWebChatChannel Uses

func (fc FacebookChannel) AsWebChatChannel() (*WebChatChannel, bool)

AsWebChatChannel is the BasicChannel implementation for FacebookChannel.

func (FacebookChannel) MarshalJSON Uses

func (fc FacebookChannel) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for FacebookChannel.

type FacebookChannelProperties Uses

type FacebookChannelProperties struct {
    // VerifyToken - READ-ONLY; Verify token. Value only returned through POST to the action Channel List API, otherwise empty.
    VerifyToken *string `json:"verifyToken,omitempty"`
    // Pages - The list of Facebook pages
    Pages *[]FacebookPage `json:"pages,omitempty"`
    // AppID - Facebook application id
    AppID *string `json:"appId,omitempty"`
    // AppSecret - Facebook application secret. Value only returned through POST to the action Channel List API, otherwise empty.
    AppSecret *string `json:"appSecret,omitempty"`
    // CallbackURL - READ-ONLY; Callback Url
    CallbackURL *string `json:"callbackUrl,omitempty"`
    // IsEnabled - Whether this channel is enabled for the bot
    IsEnabled *bool `json:"isEnabled,omitempty"`
}

FacebookChannelProperties the parameters to provide for the Facebook channel.

type FacebookPage Uses

type FacebookPage struct {
    // ID - Page id
    ID  *string `json:"id,omitempty"`
    // AccessToken - Facebook application access token. Value only returned through POST to the action Channel List API, otherwise empty.
    AccessToken *string `json:"accessToken,omitempty"`
}

FacebookPage a Facebook page for Facebook channel registration

type KikChannel Uses

type KikChannel struct {
    // Properties - The set of properties specific to Kik channel resource
    Properties *KikChannelProperties `json:"properties,omitempty"`
    // ChannelName - Possible values include: 'ChannelNameChannel', 'ChannelNameFacebookChannel1', 'ChannelNameEmailChannel1', 'ChannelNameMsTeamsChannel1', 'ChannelNameSkypeChannel1', 'ChannelNameKikChannel1', 'ChannelNameWebChatChannel1', 'ChannelNameDirectLineChannel1', 'ChannelNameTelegramChannel1', 'ChannelNameSmsChannel1', 'ChannelNameSlackChannel1'
    ChannelName ChannelNameBasicChannel `json:"channelName,omitempty"`
}

KikChannel kik channel definition

func (KikChannel) AsBasicChannel Uses

func (kc KikChannel) AsBasicChannel() (BasicChannel, bool)

AsBasicChannel is the BasicChannel implementation for KikChannel.

func (KikChannel) AsChannel Uses

func (kc KikChannel) AsChannel() (*Channel, bool)

AsChannel is the BasicChannel implementation for KikChannel.

func (KikChannel) AsDirectLineChannel Uses

func (kc KikChannel) AsDirectLineChannel() (*DirectLineChannel, bool)

AsDirectLineChannel is the BasicChannel implementation for KikChannel.

func (KikChannel) AsEmailChannel Uses

func (kc KikChannel) AsEmailChannel() (*EmailChannel, bool)

AsEmailChannel is the BasicChannel implementation for KikChannel.

func (KikChannel) AsFacebookChannel Uses

func (kc KikChannel) AsFacebookChannel() (*FacebookChannel, bool)

AsFacebookChannel is the BasicChannel implementation for KikChannel.

func (KikChannel) AsKikChannel Uses

func (kc KikChannel) AsKikChannel() (*KikChannel, bool)

AsKikChannel is the BasicChannel implementation for KikChannel.

func (KikChannel) AsMsTeamsChannel Uses

func (kc KikChannel) AsMsTeamsChannel() (*MsTeamsChannel, bool)

AsMsTeamsChannel is the BasicChannel implementation for KikChannel.

func (KikChannel) AsSkypeChannel Uses

func (kc KikChannel) AsSkypeChannel() (*SkypeChannel, bool)

AsSkypeChannel is the BasicChannel implementation for KikChannel.

func (KikChannel) AsSlackChannel Uses

func (kc KikChannel) AsSlackChannel() (*SlackChannel, bool)

AsSlackChannel is the BasicChannel implementation for KikChannel.

func (KikChannel) AsSmsChannel Uses

func (kc KikChannel) AsSmsChannel() (*SmsChannel, bool)

AsSmsChannel is the BasicChannel implementation for KikChannel.

func (KikChannel) AsTelegramChannel Uses

func (kc KikChannel) AsTelegramChannel() (*TelegramChannel, bool)

AsTelegramChannel is the BasicChannel implementation for KikChannel.

func (KikChannel) AsWebChatChannel Uses

func (kc KikChannel) AsWebChatChannel() (*WebChatChannel, bool)

AsWebChatChannel is the BasicChannel implementation for KikChannel.

func (KikChannel) MarshalJSON Uses

func (kc KikChannel) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for KikChannel.

type KikChannelProperties Uses

type KikChannelProperties struct {
    // UserName - The Kik user name
    UserName *string `json:"userName,omitempty"`
    // APIKey - Kik API key. Value only returned through POST to the action Channel List API, otherwise empty.
    APIKey *string `json:"apiKey,omitempty"`
    // IsValidated - Whether this channel is validated for the bot
    IsValidated *bool `json:"isValidated,omitempty"`
    // IsEnabled - Whether this channel is enabled for the bot
    IsEnabled *bool `json:"isEnabled,omitempty"`
}

KikChannelProperties the parameters to provide for the Kik channel.

type Kind Uses

type Kind string

Kind enumerates the values for kind.

const (
    // KindBot ...
    KindBot Kind = "bot"
    // KindDesigner ...
    KindDesigner Kind = "designer"
    // KindFunction ...
    KindFunction Kind = "function"
    // KindSdk ...
    KindSdk Kind = "sdk"
)

func PossibleKindValues Uses

func PossibleKindValues() []Kind

PossibleKindValues returns an array of possible values for the Kind const type.

type MsTeamsChannel Uses

type MsTeamsChannel struct {
    // Properties - The set of properties specific to Microsoft Teams channel resource
    Properties *MsTeamsChannelProperties `json:"properties,omitempty"`
    // ChannelName - Possible values include: 'ChannelNameChannel', 'ChannelNameFacebookChannel1', 'ChannelNameEmailChannel1', 'ChannelNameMsTeamsChannel1', 'ChannelNameSkypeChannel1', 'ChannelNameKikChannel1', 'ChannelNameWebChatChannel1', 'ChannelNameDirectLineChannel1', 'ChannelNameTelegramChannel1', 'ChannelNameSmsChannel1', 'ChannelNameSlackChannel1'
    ChannelName ChannelNameBasicChannel `json:"channelName,omitempty"`
}

MsTeamsChannel microsoft Teams channel definition

func (MsTeamsChannel) AsBasicChannel Uses

func (mtc MsTeamsChannel) AsBasicChannel() (BasicChannel, bool)

AsBasicChannel is the BasicChannel implementation for MsTeamsChannel.

func (MsTeamsChannel) AsChannel Uses

func (mtc MsTeamsChannel) AsChannel() (*Channel, bool)

AsChannel is the BasicChannel implementation for MsTeamsChannel.

func (MsTeamsChannel) AsDirectLineChannel Uses

func (mtc MsTeamsChannel) AsDirectLineChannel() (*DirectLineChannel, bool)

AsDirectLineChannel is the BasicChannel implementation for MsTeamsChannel.

func (MsTeamsChannel) AsEmailChannel Uses

func (mtc MsTeamsChannel) AsEmailChannel() (*EmailChannel, bool)

AsEmailChannel is the BasicChannel implementation for MsTeamsChannel.

func (MsTeamsChannel) AsFacebookChannel Uses

func (mtc MsTeamsChannel) AsFacebookChannel() (*FacebookChannel, bool)

AsFacebookChannel is the BasicChannel implementation for MsTeamsChannel.

func (MsTeamsChannel) AsKikChannel Uses

func (mtc MsTeamsChannel) AsKikChannel() (*KikChannel, bool)

AsKikChannel is the BasicChannel implementation for MsTeamsChannel.

func (MsTeamsChannel) AsMsTeamsChannel Uses

func (mtc MsTeamsChannel) AsMsTeamsChannel() (*MsTeamsChannel, bool)

AsMsTeamsChannel is the BasicChannel implementation for MsTeamsChannel.

func (MsTeamsChannel) AsSkypeChannel Uses

func (mtc MsTeamsChannel) AsSkypeChannel() (*SkypeChannel, bool)

AsSkypeChannel is the BasicChannel implementation for MsTeamsChannel.

func (MsTeamsChannel) AsSlackChannel Uses

func (mtc MsTeamsChannel) AsSlackChannel() (*SlackChannel, bool)

AsSlackChannel is the BasicChannel implementation for MsTeamsChannel.

func (MsTeamsChannel) AsSmsChannel Uses

func (mtc MsTeamsChannel) AsSmsChannel() (*SmsChannel, bool)

AsSmsChannel is the BasicChannel implementation for MsTeamsChannel.

func (MsTeamsChannel) AsTelegramChannel Uses

func (mtc MsTeamsChannel) AsTelegramChannel() (*TelegramChannel, bool)

AsTelegramChannel is the BasicChannel implementation for MsTeamsChannel.

func (MsTeamsChannel) AsWebChatChannel Uses

func (mtc MsTeamsChannel) AsWebChatChannel() (*WebChatChannel, bool)

AsWebChatChannel is the BasicChannel implementation for MsTeamsChannel.

func (MsTeamsChannel) MarshalJSON Uses

func (mtc MsTeamsChannel) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MsTeamsChannel.

type MsTeamsChannelProperties Uses

type MsTeamsChannelProperties struct {
    // EnableCalling - Enable calling for Microsoft Teams channel
    EnableCalling *bool `json:"enableCalling,omitempty"`
    // CallingWebHook - Webhook for Microsoft Teams channel calls
    CallingWebHook *string `json:"callingWebHook,omitempty"`
    // IsEnabled - Whether this channel is enabled for the bot
    IsEnabled *bool `json:"isEnabled,omitempty"`
}

MsTeamsChannelProperties the parameters to provide for the Microsoft Teams channel.

type OperationDisplayInfo Uses

type OperationDisplayInfo struct {
    // Description - The description of the operation.
    Description *string `json:"description,omitempty"`
    // Operation - The action that users can perform, based on their permission level.
    Operation *string `json:"operation,omitempty"`
    // Provider - Service provider: Microsoft Bot Service.
    Provider *string `json:"provider,omitempty"`
    // Resource - Resource on which the operation is performed.
    Resource *string `json:"resource,omitempty"`
}

OperationDisplayInfo the operation supported by Bot Service Management.

type OperationEntity Uses

type OperationEntity struct {
    // Name - Operation name: {provider}/{resource}/{operation}.
    Name *string `json:"name,omitempty"`
    // Display - The operation supported by Bot Service Management.
    Display *OperationDisplayInfo `json:"display,omitempty"`
    // Origin - The origin of the operation.
    Origin *string `json:"origin,omitempty"`
    // Properties - Additional properties.
    Properties interface{} `json:"properties,omitempty"`
}

OperationEntity the operations supported by Bot Service Management.

type OperationEntityListResult Uses

type OperationEntityListResult struct {
    autorest.Response `json:"-"`
    // NextLink - The link used to get the next page of operations.
    NextLink *string `json:"nextLink,omitempty"`
    // Value - The list of operations.
    Value *[]OperationEntity `json:"value,omitempty"`
}

OperationEntityListResult the list of bot service operation response.

func (OperationEntityListResult) IsEmpty Uses

func (oelr OperationEntityListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type OperationEntityListResultIterator Uses

type OperationEntityListResultIterator struct {
    // contains filtered or unexported fields
}

OperationEntityListResultIterator provides access to a complete listing of OperationEntity values.

func NewOperationEntityListResultIterator Uses

func NewOperationEntityListResultIterator(page OperationEntityListResultPage) OperationEntityListResultIterator

Creates a new instance of the OperationEntityListResultIterator type.

func (*OperationEntityListResultIterator) Next Uses

func (iter *OperationEntityListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*OperationEntityListResultIterator) NextWithContext Uses

func (iter *OperationEntityListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (OperationEntityListResultIterator) NotDone Uses

func (iter OperationEntityListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (OperationEntityListResultIterator) Response Uses

func (iter OperationEntityListResultIterator) Response() OperationEntityListResult

Response returns the raw server response from the last page request.

func (OperationEntityListResultIterator) Value Uses

func (iter OperationEntityListResultIterator) Value() OperationEntity

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type OperationEntityListResultPage Uses

type OperationEntityListResultPage struct {
    // contains filtered or unexported fields
}

OperationEntityListResultPage contains a page of OperationEntity values.

func NewOperationEntityListResultPage Uses

func NewOperationEntityListResultPage(getNextPage func(context.Context, OperationEntityListResult) (OperationEntityListResult, error)) OperationEntityListResultPage

Creates a new instance of the OperationEntityListResultPage type.

func (*OperationEntityListResultPage) Next Uses

func (page *OperationEntityListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*OperationEntityListResultPage) NextWithContext Uses

func (page *OperationEntityListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (OperationEntityListResultPage) NotDone Uses

func (page OperationEntityListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (OperationEntityListResultPage) Response Uses

func (page OperationEntityListResultPage) Response() OperationEntityListResult

Response returns the raw server response from the last page request.

func (OperationEntityListResultPage) Values Uses

func (page OperationEntityListResultPage) Values() []OperationEntity

Values returns the slice of values for the current page or nil if there are no values.

type OperationsClient Uses

type OperationsClient struct {
    BaseClient
}

OperationsClient is the azure Bot Service is a platform for creating smart conversational agents.

func NewOperationsClient Uses

func NewOperationsClient(subscriptionID string) OperationsClient

NewOperationsClient creates an instance of the OperationsClient client.

func NewOperationsClientWithBaseURI Uses

func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient

NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.

func (OperationsClient) List Uses

func (client OperationsClient) List(ctx context.Context) (result OperationEntityListResultPage, err error)

List lists all the available BotService operations.

func (OperationsClient) ListComplete Uses

func (client OperationsClient) ListComplete(ctx context.Context) (result OperationEntityListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (OperationsClient) ListPreparer Uses

func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (OperationsClient) ListResponder Uses

func (client OperationsClient) ListResponder(resp *http.Response) (result OperationEntityListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (OperationsClient) ListSender Uses

func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type Resource Uses

type Resource struct {
    // ID - READ-ONLY; Specifies the resource ID.
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; Specifies the name of the resource.
    Name *string `json:"name,omitempty"`
    // Location - Specifies the location of the resource.
    Location *string `json:"location,omitempty"`
    // Type - READ-ONLY; Specifies the type of the resource.
    Type *string `json:"type,omitempty"`
    // Tags - Contains resource tags defined as key/value pairs.
    Tags map[string]*string `json:"tags"`
    // Sku - Gets or sets the SKU of the resource.
    Sku *Sku `json:"sku,omitempty"`
    // Kind - Required. Gets or sets the Kind of the resource. Possible values include: 'KindSdk', 'KindDesigner', 'KindBot', 'KindFunction'
    Kind Kind `json:"kind,omitempty"`
    // Etag - Entity Tag
    Etag *string `json:"etag,omitempty"`
}

Resource azure resource

func (Resource) MarshalJSON Uses

func (r Resource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Resource.

type ServiceProvider Uses

type ServiceProvider struct {
    // Properties - The Properties of a Service Provider Object
    Properties *ServiceProviderProperties `json:"properties,omitempty"`
}

ServiceProvider service Provider Definition

type ServiceProviderParameter Uses

type ServiceProviderParameter struct {
    // Name - READ-ONLY; Name of the Service Provider
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; Type of the Service Provider
    Type *string `json:"type,omitempty"`
    // DisplayName - READ-ONLY; Display Name of the Service Provider
    DisplayName *string `json:"displayName,omitempty"`
    // Description - READ-ONLY; Description of the Service Provider
    Description *string `json:"description,omitempty"`
    // HelpURL - READ-ONLY; Help Url for the  Service Provider
    HelpURL *string `json:"helpUrl,omitempty"`
    // Default - READ-ONLY; Default Name for the Service Provider
    Default *string `json:"default,omitempty"`
}

ServiceProviderParameter extra Parameters specific to each Service Provider

type ServiceProviderProperties Uses

type ServiceProviderProperties struct {
    // ID - READ-ONLY; Id for Service Provider
    ID  *string `json:"id,omitempty"`
    // DisplayName - READ-ONLY; Display Name of the Service Provider
    DisplayName *string `json:"displayName,omitempty"`
    // ServiceProviderName - READ-ONLY; Display Name of the Service Provider
    ServiceProviderName *string `json:"serviceProviderName,omitempty"`
    // DevPortalURL - READ-ONLY; Display Name of the Service Provider
    DevPortalURL *string `json:"devPortalUrl,omitempty"`
    // IconURL - READ-ONLY; Display Name of the Service Provider
    IconURL *string `json:"iconUrl,omitempty"`
    // Parameters - The list of parameters for the Service Provider
    Parameters *[]ServiceProviderParameter `json:"parameters,omitempty"`
}

ServiceProviderProperties the Object used to describe a Service Provider supported by Bot Service

type ServiceProviderResponseList Uses

type ServiceProviderResponseList struct {
    autorest.Response `json:"-"`
    // NextLink - The link used to get the next page of bot service providers.
    NextLink *string `json:"nextLink,omitempty"`
    // Value - READ-ONLY; Gets the list of bot service providers and their properties.
    Value *[]ServiceProvider `json:"value,omitempty"`
}

ServiceProviderResponseList the list of bot service providers response.

type Sku Uses

type Sku struct {
    // Name - The sku name. Possible values include: 'F0', 'S1'
    Name SkuName `json:"name,omitempty"`
    // Tier - READ-ONLY; Gets the sku tier. This is based on the SKU name. Possible values include: 'Free', 'Standard'
    Tier SkuTier `json:"tier,omitempty"`
}

Sku the SKU of the cognitive services account.

type SkuName Uses

type SkuName string

SkuName enumerates the values for sku name.

const (
    // F0 ...
    F0  SkuName = "F0"
    // S1 ...
    S1  SkuName = "S1"
)

func PossibleSkuNameValues Uses

func PossibleSkuNameValues() []SkuName

PossibleSkuNameValues returns an array of possible values for the SkuName const type.

type SkuTier Uses

type SkuTier string

SkuTier enumerates the values for sku tier.

const (
    // Free ...
    Free SkuTier = "Free"
    // Standard ...
    Standard SkuTier = "Standard"
)

func PossibleSkuTierValues Uses

func PossibleSkuTierValues() []SkuTier

PossibleSkuTierValues returns an array of possible values for the SkuTier const type.

type SkypeChannel Uses

type SkypeChannel struct {
    // Properties - The set of properties specific to Skype channel resource
    Properties *SkypeChannelProperties `json:"properties,omitempty"`
    // ChannelName - Possible values include: 'ChannelNameChannel', 'ChannelNameFacebookChannel1', 'ChannelNameEmailChannel1', 'ChannelNameMsTeamsChannel1', 'ChannelNameSkypeChannel1', 'ChannelNameKikChannel1', 'ChannelNameWebChatChannel1', 'ChannelNameDirectLineChannel1', 'ChannelNameTelegramChannel1', 'ChannelNameSmsChannel1', 'ChannelNameSlackChannel1'
    ChannelName ChannelNameBasicChannel `json:"channelName,omitempty"`
}

SkypeChannel skype channel definition

func (SkypeChannel) AsBasicChannel Uses

func (sc SkypeChannel) AsBasicChannel() (BasicChannel, bool)

AsBasicChannel is the BasicChannel implementation for SkypeChannel.

func (SkypeChannel) AsChannel Uses

func (sc SkypeChannel) AsChannel() (*Channel, bool)

AsChannel is the BasicChannel implementation for SkypeChannel.

func (SkypeChannel) AsDirectLineChannel Uses

func (sc SkypeChannel) AsDirectLineChannel() (*DirectLineChannel, bool)

AsDirectLineChannel is the BasicChannel implementation for SkypeChannel.

func (SkypeChannel) AsEmailChannel Uses

func (sc SkypeChannel) AsEmailChannel() (*EmailChannel, bool)

AsEmailChannel is the BasicChannel implementation for SkypeChannel.

func (SkypeChannel) AsFacebookChannel Uses

func (sc SkypeChannel) AsFacebookChannel() (*FacebookChannel, bool)

AsFacebookChannel is the BasicChannel implementation for SkypeChannel.

func (SkypeChannel) AsKikChannel Uses

func (sc SkypeChannel) AsKikChannel() (*KikChannel, bool)

AsKikChannel is the BasicChannel implementation for SkypeChannel.

func (SkypeChannel) AsMsTeamsChannel Uses

func (sc SkypeChannel) AsMsTeamsChannel() (*MsTeamsChannel, bool)

AsMsTeamsChannel is the BasicChannel implementation for SkypeChannel.

func (SkypeChannel) AsSkypeChannel Uses

func (sc SkypeChannel) AsSkypeChannel() (*SkypeChannel, bool)

AsSkypeChannel is the BasicChannel implementation for SkypeChannel.

func (SkypeChannel) AsSlackChannel Uses

func (sc SkypeChannel) AsSlackChannel() (*SlackChannel, bool)

AsSlackChannel is the BasicChannel implementation for SkypeChannel.

func (SkypeChannel) AsSmsChannel Uses

func (sc SkypeChannel) AsSmsChannel() (*SmsChannel, bool)

AsSmsChannel is the BasicChannel implementation for SkypeChannel.

func (SkypeChannel) AsTelegramChannel Uses

func (sc SkypeChannel) AsTelegramChannel() (*TelegramChannel, bool)

AsTelegramChannel is the BasicChannel implementation for SkypeChannel.

func (SkypeChannel) AsWebChatChannel Uses

func (sc SkypeChannel) AsWebChatChannel() (*WebChatChannel, bool)

AsWebChatChannel is the BasicChannel implementation for SkypeChannel.

func (SkypeChannel) MarshalJSON Uses

func (sc SkypeChannel) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SkypeChannel.

type SkypeChannelProperties Uses

type SkypeChannelProperties struct {
    // EnableMessaging - Enable messaging for Skype channel
    EnableMessaging *bool `json:"enableMessaging,omitempty"`
    // EnableMediaCards - Enable media cards for Skype channel
    EnableMediaCards *bool `json:"enableMediaCards,omitempty"`
    // EnableVideo - Enable video for Skype channel
    EnableVideo *bool `json:"enableVideo,omitempty"`
    // EnableCalling - Enable calling for Skype channel
    EnableCalling *bool `json:"enableCalling,omitempty"`
    // EnableScreenSharing - Enable screen sharing for Skype channel
    EnableScreenSharing *bool `json:"enableScreenSharing,omitempty"`
    // EnableGroups - Enable groups for Skype channel
    EnableGroups *bool `json:"enableGroups,omitempty"`
    // GroupsMode - Group mode for Skype channel
    GroupsMode *string `json:"groupsMode,omitempty"`
    // CallingWebHook - Calling web hook for Skype channel
    CallingWebHook *string `json:"callingWebHook,omitempty"`
    // IsEnabled - Whether this channel is enabled for the bot
    IsEnabled *bool `json:"isEnabled,omitempty"`
}

SkypeChannelProperties the parameters to provide for the Microsoft Teams channel.

type SlackChannel Uses

type SlackChannel struct {
    // Properties - The set of properties specific to Slack channel resource
    Properties *SlackChannelProperties `json:"properties,omitempty"`
    // ChannelName - Possible values include: 'ChannelNameChannel', 'ChannelNameFacebookChannel1', 'ChannelNameEmailChannel1', 'ChannelNameMsTeamsChannel1', 'ChannelNameSkypeChannel1', 'ChannelNameKikChannel1', 'ChannelNameWebChatChannel1', 'ChannelNameDirectLineChannel1', 'ChannelNameTelegramChannel1', 'ChannelNameSmsChannel1', 'ChannelNameSlackChannel1'
    ChannelName ChannelNameBasicChannel `json:"channelName,omitempty"`
}

SlackChannel slack channel definition

func (SlackChannel) AsBasicChannel Uses

func (sc SlackChannel) AsBasicChannel() (BasicChannel, bool)

AsBasicChannel is the BasicChannel implementation for SlackChannel.

func (SlackChannel) AsChannel Uses

func (sc SlackChannel) AsChannel() (*Channel, bool)

AsChannel is the BasicChannel implementation for SlackChannel.

func (SlackChannel) AsDirectLineChannel Uses

func (sc SlackChannel) AsDirectLineChannel() (*DirectLineChannel, bool)

AsDirectLineChannel is the BasicChannel implementation for SlackChannel.

func (SlackChannel) AsEmailChannel Uses

func (sc SlackChannel) AsEmailChannel() (*EmailChannel, bool)

AsEmailChannel is the BasicChannel implementation for SlackChannel.

func (SlackChannel) AsFacebookChannel Uses

func (sc SlackChannel) AsFacebookChannel() (*FacebookChannel, bool)

AsFacebookChannel is the BasicChannel implementation for SlackChannel.

func (SlackChannel) AsKikChannel Uses

func (sc SlackChannel) AsKikChannel() (*KikChannel, bool)

AsKikChannel is the BasicChannel implementation for SlackChannel.

func (SlackChannel) AsMsTeamsChannel Uses

func (sc SlackChannel) AsMsTeamsChannel() (*MsTeamsChannel, bool)

AsMsTeamsChannel is the BasicChannel implementation for SlackChannel.

func (SlackChannel) AsSkypeChannel Uses

func (sc SlackChannel) AsSkypeChannel() (*SkypeChannel, bool)

AsSkypeChannel is the BasicChannel implementation for SlackChannel.

func (SlackChannel) AsSlackChannel Uses

func (sc SlackChannel) AsSlackChannel() (*SlackChannel, bool)

AsSlackChannel is the BasicChannel implementation for SlackChannel.

func (SlackChannel) AsSmsChannel Uses

func (sc SlackChannel) AsSmsChannel() (*SmsChannel, bool)

AsSmsChannel is the BasicChannel implementation for SlackChannel.

func (SlackChannel) AsTelegramChannel Uses

func (sc SlackChannel) AsTelegramChannel() (*TelegramChannel, bool)

AsTelegramChannel is the BasicChannel implementation for SlackChannel.

func (SlackChannel) AsWebChatChannel Uses

func (sc SlackChannel) AsWebChatChannel() (*WebChatChannel, bool)

AsWebChatChannel is the BasicChannel implementation for SlackChannel.

func (SlackChannel) MarshalJSON Uses

func (sc SlackChannel) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SlackChannel.

type SlackChannelProperties Uses

type SlackChannelProperties struct {
    // ClientID - The Slack client id
    ClientID *string `json:"clientId,omitempty"`
    // ClientSecret - The Slack client secret. Value only returned through POST to the action Channel List API, otherwise empty.
    ClientSecret *string `json:"clientSecret,omitempty"`
    // VerificationToken - The Slack verification token. Value only returned through POST to the action Channel List API, otherwise empty.
    VerificationToken *string `json:"verificationToken,omitempty"`
    // LandingPageURL - The Slack landing page Url
    LandingPageURL *string `json:"landingPageUrl,omitempty"`
    // RedirectAction - READ-ONLY; The Slack redirect action
    RedirectAction *string `json:"redirectAction,omitempty"`
    // LastSubmissionID - READ-ONLY; The Sms auth token
    LastSubmissionID *string `json:"lastSubmissionId,omitempty"`
    // RegisterBeforeOAuthFlow - READ-ONLY; Whether to register the settings before OAuth validation is performed. Recommended to True.
    RegisterBeforeOAuthFlow *bool `json:"registerBeforeOAuthFlow,omitempty"`
    // IsValidated - READ-ONLY; Whether this channel is validated for the bot
    IsValidated *bool `json:"isValidated,omitempty"`
    // IsEnabled - Whether this channel is enabled for the bot
    IsEnabled *bool `json:"isEnabled,omitempty"`
}

SlackChannelProperties the parameters to provide for the Slack channel.

type SmsChannel Uses

type SmsChannel struct {
    // Properties - The set of properties specific to Sms channel resource
    Properties *SmsChannelProperties `json:"properties,omitempty"`
    // ChannelName - Possible values include: 'ChannelNameChannel', 'ChannelNameFacebookChannel1', 'ChannelNameEmailChannel1', 'ChannelNameMsTeamsChannel1', 'ChannelNameSkypeChannel1', 'ChannelNameKikChannel1', 'ChannelNameWebChatChannel1', 'ChannelNameDirectLineChannel1', 'ChannelNameTelegramChannel1', 'ChannelNameSmsChannel1', 'ChannelNameSlackChannel1'
    ChannelName ChannelNameBasicChannel `json:"channelName,omitempty"`
}

SmsChannel sms channel definition

func (SmsChannel) AsBasicChannel Uses

func (sc SmsChannel) AsBasicChannel() (BasicChannel, bool)

AsBasicChannel is the BasicChannel implementation for SmsChannel.

func (SmsChannel) AsChannel Uses

func (sc SmsChannel) AsChannel() (*Channel, bool)

AsChannel is the BasicChannel implementation for SmsChannel.

func (SmsChannel) AsDirectLineChannel Uses

func (sc SmsChannel) AsDirectLineChannel() (*DirectLineChannel, bool)

AsDirectLineChannel is the BasicChannel implementation for SmsChannel.

func (SmsChannel) AsEmailChannel Uses

func (sc SmsChannel) AsEmailChannel() (*EmailChannel, bool)

AsEmailChannel is the BasicChannel implementation for SmsChannel.

func (SmsChannel) AsFacebookChannel Uses

func (sc SmsChannel) AsFacebookChannel() (*FacebookChannel, bool)

AsFacebookChannel is the BasicChannel implementation for SmsChannel.

func (SmsChannel) AsKikChannel Uses

func (sc SmsChannel) AsKikChannel() (*KikChannel, bool)

AsKikChannel is the BasicChannel implementation for SmsChannel.

func (SmsChannel) AsMsTeamsChannel Uses

func (sc SmsChannel) AsMsTeamsChannel() (*MsTeamsChannel, bool)

AsMsTeamsChannel is the BasicChannel implementation for SmsChannel.

func (SmsChannel) AsSkypeChannel Uses

func (sc SmsChannel) AsSkypeChannel() (*SkypeChannel, bool)

AsSkypeChannel is the BasicChannel implementation for SmsChannel.

func (SmsChannel) AsSlackChannel Uses

func (sc SmsChannel) AsSlackChannel() (*SlackChannel, bool)

AsSlackChannel is the BasicChannel implementation for SmsChannel.

func (SmsChannel) AsSmsChannel Uses

func (sc SmsChannel) AsSmsChannel() (*SmsChannel, bool)

AsSmsChannel is the BasicChannel implementation for SmsChannel.

func (SmsChannel) AsTelegramChannel Uses

func (sc SmsChannel) AsTelegramChannel() (*TelegramChannel, bool)

AsTelegramChannel is the BasicChannel implementation for SmsChannel.

func (SmsChannel) AsWebChatChannel Uses

func (sc SmsChannel) AsWebChatChannel() (*WebChatChannel, bool)

AsWebChatChannel is the BasicChannel implementation for SmsChannel.

func (SmsChannel) MarshalJSON Uses

func (sc SmsChannel) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SmsChannel.

type SmsChannelProperties Uses

type SmsChannelProperties struct {
    // Phone - The Sms phone
    Phone *string `json:"phone,omitempty"`
    // AccountSID - The Sms account SID. Value only returned through POST to the action Channel List API, otherwise empty.
    AccountSID *string `json:"accountSID,omitempty"`
    // AuthToken - The Sms auth token. Value only returned through POST to the action Channel List API, otherwise empty.
    AuthToken *string `json:"authToken,omitempty"`
    // IsValidated - Whether this channel is validated for the bot
    IsValidated *bool `json:"isValidated,omitempty"`
    // IsEnabled - Whether this channel is enabled for the bot
    IsEnabled *bool `json:"isEnabled,omitempty"`
}

SmsChannelProperties the parameters to provide for the Sms channel.

type TelegramChannel Uses

type TelegramChannel struct {
    // Properties - The set of properties specific to Telegram channel resource
    Properties *TelegramChannelProperties `json:"properties,omitempty"`
    // ChannelName - Possible values include: 'ChannelNameChannel', 'ChannelNameFacebookChannel1', 'ChannelNameEmailChannel1', 'ChannelNameMsTeamsChannel1', 'ChannelNameSkypeChannel1', 'ChannelNameKikChannel1', 'ChannelNameWebChatChannel1', 'ChannelNameDirectLineChannel1', 'ChannelNameTelegramChannel1', 'ChannelNameSmsChannel1', 'ChannelNameSlackChannel1'
    ChannelName ChannelNameBasicChannel `json:"channelName,omitempty"`
}

TelegramChannel telegram channel definition

func (TelegramChannel) AsBasicChannel Uses

func (tc TelegramChannel) AsBasicChannel() (BasicChannel, bool)

AsBasicChannel is the BasicChannel implementation for TelegramChannel.

func (TelegramChannel) AsChannel Uses

func (tc TelegramChannel) AsChannel() (*Channel, bool)

AsChannel is the BasicChannel implementation for TelegramChannel.

func (TelegramChannel) AsDirectLineChannel Uses

func (tc TelegramChannel) AsDirectLineChannel() (*DirectLineChannel, bool)

AsDirectLineChannel is the BasicChannel implementation for TelegramChannel.

func (TelegramChannel) AsEmailChannel Uses

func (tc TelegramChannel) AsEmailChannel() (*EmailChannel, bool)

AsEmailChannel is the BasicChannel implementation for TelegramChannel.

func (TelegramChannel) AsFacebookChannel Uses

func (tc TelegramChannel) AsFacebookChannel() (*FacebookChannel, bool)

AsFacebookChannel is the BasicChannel implementation for TelegramChannel.

func (TelegramChannel) AsKikChannel Uses

func (tc TelegramChannel) AsKikChannel() (*KikChannel, bool)

AsKikChannel is the BasicChannel implementation for TelegramChannel.

func (TelegramChannel) AsMsTeamsChannel Uses

func (tc TelegramChannel) AsMsTeamsChannel() (*MsTeamsChannel, bool)

AsMsTeamsChannel is the BasicChannel implementation for TelegramChannel.

func (TelegramChannel) AsSkypeChannel Uses

func (tc TelegramChannel) AsSkypeChannel() (*SkypeChannel, bool)

AsSkypeChannel is the BasicChannel implementation for TelegramChannel.

func (TelegramChannel) AsSlackChannel Uses

func (tc TelegramChannel) AsSlackChannel() (*SlackChannel, bool)

AsSlackChannel is the BasicChannel implementation for TelegramChannel.

func (TelegramChannel) AsSmsChannel Uses

func (tc TelegramChannel) AsSmsChannel() (*SmsChannel, bool)

AsSmsChannel is the BasicChannel implementation for TelegramChannel.

func (TelegramChannel) AsTelegramChannel Uses

func (tc TelegramChannel) AsTelegramChannel() (*TelegramChannel, bool)

AsTelegramChannel is the BasicChannel implementation for TelegramChannel.

func (TelegramChannel) AsWebChatChannel Uses

func (tc TelegramChannel) AsWebChatChannel() (*WebChatChannel, bool)

AsWebChatChannel is the BasicChannel implementation for TelegramChannel.

func (TelegramChannel) MarshalJSON Uses

func (tc TelegramChannel) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for TelegramChannel.

type TelegramChannelProperties Uses

type TelegramChannelProperties struct {
    // AccessToken - The Telegram access token. Value only returned through POST to the action Channel List API, otherwise empty.
    AccessToken *string `json:"accessToken,omitempty"`
    // IsValidated - Whether this channel is validated for the bot
    IsValidated *bool `json:"isValidated,omitempty"`
    // IsEnabled - Whether this channel is enabled for the bot
    IsEnabled *bool `json:"isEnabled,omitempty"`
}

TelegramChannelProperties the parameters to provide for the Telegram channel.

type WebChatChannel Uses

type WebChatChannel struct {
    // Properties - The set of properties specific to Web Chat channel resource
    Properties *WebChatChannelProperties `json:"properties,omitempty"`
    // ChannelName - Possible values include: 'ChannelNameChannel', 'ChannelNameFacebookChannel1', 'ChannelNameEmailChannel1', 'ChannelNameMsTeamsChannel1', 'ChannelNameSkypeChannel1', 'ChannelNameKikChannel1', 'ChannelNameWebChatChannel1', 'ChannelNameDirectLineChannel1', 'ChannelNameTelegramChannel1', 'ChannelNameSmsChannel1', 'ChannelNameSlackChannel1'
    ChannelName ChannelNameBasicChannel `json:"channelName,omitempty"`
}

WebChatChannel web Chat channel definition

func (WebChatChannel) AsBasicChannel Uses

func (wcc WebChatChannel) AsBasicChannel() (BasicChannel, bool)

AsBasicChannel is the BasicChannel implementation for WebChatChannel.

func (WebChatChannel) AsChannel Uses

func (wcc WebChatChannel) AsChannel() (*Channel, bool)

AsChannel is the BasicChannel implementation for WebChatChannel.

func (WebChatChannel) AsDirectLineChannel Uses

func (wcc WebChatChannel) AsDirectLineChannel() (*DirectLineChannel, bool)

AsDirectLineChannel is the BasicChannel implementation for WebChatChannel.

func (WebChatChannel) AsEmailChannel Uses

func (wcc WebChatChannel) AsEmailChannel() (*EmailChannel, bool)

AsEmailChannel is the BasicChannel implementation for WebChatChannel.

func (WebChatChannel) AsFacebookChannel Uses

func (wcc WebChatChannel) AsFacebookChannel() (*FacebookChannel, bool)

AsFacebookChannel is the BasicChannel implementation for WebChatChannel.

func (WebChatChannel) AsKikChannel Uses

func (wcc WebChatChannel) AsKikChannel() (*KikChannel, bool)

AsKikChannel is the BasicChannel implementation for WebChatChannel.

func (WebChatChannel) AsMsTeamsChannel Uses

func (wcc WebChatChannel) AsMsTeamsChannel() (*MsTeamsChannel, bool)

AsMsTeamsChannel is the BasicChannel implementation for WebChatChannel.

func (WebChatChannel) AsSkypeChannel Uses

func (wcc WebChatChannel) AsSkypeChannel() (*SkypeChannel, bool)

AsSkypeChannel is the BasicChannel implementation for WebChatChannel.

func (WebChatChannel) AsSlackChannel Uses

func (wcc WebChatChannel) AsSlackChannel() (*SlackChannel, bool)

AsSlackChannel is the BasicChannel implementation for WebChatChannel.

func (WebChatChannel) AsSmsChannel Uses

func (wcc WebChatChannel) AsSmsChannel() (*SmsChannel, bool)

AsSmsChannel is the BasicChannel implementation for WebChatChannel.

func (WebChatChannel) AsTelegramChannel Uses

func (wcc WebChatChannel) AsTelegramChannel() (*TelegramChannel, bool)

AsTelegramChannel is the BasicChannel implementation for WebChatChannel.

func (WebChatChannel) AsWebChatChannel Uses

func (wcc WebChatChannel) AsWebChatChannel() (*WebChatChannel, bool)

AsWebChatChannel is the BasicChannel implementation for WebChatChannel.

func (WebChatChannel) MarshalJSON Uses

func (wcc WebChatChannel) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for WebChatChannel.

type WebChatChannelProperties Uses

type WebChatChannelProperties struct {
    // WebChatEmbedCode - READ-ONLY; Web chat control embed code
    WebChatEmbedCode *string `json:"webChatEmbedCode,omitempty"`
    // Sites - The list of Web Chat sites
    Sites *[]WebChatSite `json:"sites,omitempty"`
}

WebChatChannelProperties the parameters to provide for the Web Chat channel.

type WebChatSite Uses

type WebChatSite struct {
    // SiteID - READ-ONLY; Site Id
    SiteID *string `json:"siteId,omitempty"`
    // SiteName - Site name
    SiteName *string `json:"siteName,omitempty"`
    // Key - READ-ONLY; Primary key. Value only returned through POST to the action Channel List API, otherwise empty.
    Key *string `json:"key,omitempty"`
    // Key2 - READ-ONLY; Secondary key. Value only returned through POST to the action Channel List API, otherwise empty.
    Key2 *string `json:"key2,omitempty"`
    // IsEnabled - Whether this site is enabled for DirectLine channel
    IsEnabled *bool `json:"isEnabled,omitempty"`
    // EnablePreview - Whether this site is enabled for preview versions of Webchat
    EnablePreview *bool `json:"enablePreview,omitempty"`
}

WebChatSite a site for the Webchat channel

Directories

PathSynopsis
botserviceapi

Package botservice imports 9 packages (graph) and is imported by 4 packages. Updated 2019-08-05. Refresh now. Tools for package owners.