Class TelegramWebhook


  • @RestController
    @RequestMapping("/api/cronapi/chatbot/telegram")
    public class TelegramWebhook
    extends Object
    • Method Detail

      • handleCallback

        @RequestMapping(method=POST)
        public org.springframework.http.ResponseEntity<Void> handleCallback​(@RequestBody
                                                                            org.telegram.telegrambots.api.objects.Update update)
      • verifyWebhook

        @RequestMapping(method=GET)
        public org.springframework.http.ResponseEntity<String> verifyWebhook()