Class Handler
- java.lang.Object
-
- io.micronaut.azure.function.AzureFunction
-
- io.micronaut.chatbots.basecamp.azurefunction.Handler
-
- All Implemented Interfaces:
io.micronaut.context.ApplicationContextProvider
,java.io.Closeable
,java.lang.AutoCloseable
public class Handler extends io.micronaut.azure.function.AzureFunction
Azure function to handle Telegram Webhook.- Since:
- 1.0.0
- Author:
- Sergio del Amo
-
-
Constructor Summary
Constructors Constructor Description Handler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.microsoft.azure.functions.HttpResponseMessage
handle(com.microsoft.azure.functions.HttpRequestMessage<Query> request, com.microsoft.azure.functions.ExecutionContext context)
-
-
-
Method Detail
-
handle
public com.microsoft.azure.functions.HttpResponseMessage handle(com.microsoft.azure.functions.HttpRequestMessage<Query> request, com.microsoft.azure.functions.ExecutionContext context)
- Parameters:
request
- Requestcontext
- Context- Returns:
- Webhook response
-
-