Package bpmn.handler.telegram
Class TelegramServiceImpl
java.lang.Object
bpmn.handler.telegram.TelegramServiceImpl
- All Implemented Interfaces:
TelegramService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
sendMessage
(String chatId, String message) void
sendMessage
(String chatId, String message, MessageFormat messageFormat)
-
Constructor Details
-
TelegramServiceImpl
-
-
Method Details
-
sendMessage
public void sendMessage(String chatId, String message, MessageFormat messageFormat) throws org.telegram.telegrambots.meta.exceptions.TelegramApiException - Specified by:
sendMessage
in interfaceTelegramService
- Throws:
org.telegram.telegrambots.meta.exceptions.TelegramApiException
-
sendMessage
public void sendMessage(String chatId, String message) throws org.telegram.telegrambots.meta.exceptions.TelegramApiException - Specified by:
sendMessage
in interfaceTelegramService
- Throws:
org.telegram.telegrambots.meta.exceptions.TelegramApiException
-