@Configuration public class EventHandlersConfiguration extends Object
| Constructor and Description |
|---|
EventHandlersConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
BotFrameworkCallbackEventHandler |
botFrameworkCallbackEventHandler(com.botscrew.botframework.container.PostbackContainer postbackContainer,
org.springframework.web.client.RestTemplate restTemplate,
TelegramProperties properties) |
BotFrameworkDocumentHandler |
botFrameworkDocumentHandler() |
BotFrameworkLocationEventHandler |
botFrameworkLocationEventHandler(com.botscrew.botframework.container.LocationContainer locationContainer) |
BotFrameworkPhotoEventHandler |
botFrameworkPhotoEventHandler() |
BotFrameworkTextEventHandler |
botFrameworkTextEventHandler(com.botscrew.botframework.container.TextContainer textContainer) |
@Bean @ConditionalOnMissingBean(value=BotFrameworkTextEventHandler.class) public BotFrameworkTextEventHandler botFrameworkTextEventHandler(com.botscrew.botframework.container.TextContainer textContainer)
@Bean @ConditionalOnMissingBean(value=BotFrameworkCallbackEventHandler.class) public BotFrameworkCallbackEventHandler botFrameworkCallbackEventHandler(com.botscrew.botframework.container.PostbackContainer postbackContainer, org.springframework.web.client.RestTemplate restTemplate, TelegramProperties properties)
@Bean @ConditionalOnMissingBean(value=BotFrameworkLocationEventHandler.class) public BotFrameworkLocationEventHandler botFrameworkLocationEventHandler(com.botscrew.botframework.container.LocationContainer locationContainer)
@Bean @ConditionalOnMissingBean(value=BotFrameworkPhotoEventHandler.class) public BotFrameworkPhotoEventHandler botFrameworkPhotoEventHandler()
@Bean @ConditionalOnMissingBean(value=BotFrameworkDocumentHandler.class) public BotFrameworkDocumentHandler botFrameworkDocumentHandler()
Copyright © 2018. All rights reserved.