java.lang.Object
io.micronaut.azure.function.AzureFunction
io.micronaut.chatbots.basecamp.azurefunction.Handler
All Implemented Interfaces:
io.micronaut.context.ApplicationContextProvider, Closeable, AutoCloseable

public class Handler extends io.micronaut.azure.function.AzureFunction
Azure function to handle Telegram Webhook.
Since:
1.0.0
Author:
Sergio del Amo
  • Field Summary

    Fields inherited from class io.micronaut.azure.function.AzureFunction

    applicationContext, LOG
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.microsoft.azure.functions.HttpResponseMessage
    handle(com.microsoft.azure.functions.HttpRequestMessage<Query> request, com.microsoft.azure.functions.ExecutionContext context)
     

    Methods inherited from class io.micronaut.azure.function.AzureFunction

    close, defaultApplicationContextBuilder, getApplicationContext, registerApplicationContextShutDownHook, startApplicationContext

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Handler

      public Handler()
  • Method Details

    • handle

      public com.microsoft.azure.functions.HttpResponseMessage handle(com.microsoft.azure.functions.HttpRequestMessage<Query> request, com.microsoft.azure.functions.ExecutionContext context)
      Parameters:
      request - Request
      context - Context
      Returns:
      Webhook response