Package ru.bgcrm.plugin.ufanet.telegram
Class TelegramBotExt
java.lang.Object
ru.bgcrm.plugin.ufanet.telegram.TelegramBotExt
- All Implemented Interfaces:
ITelegramBotAPI
- Direct Known Subclasses:
BgcrmNotifierTelegramBot
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from interface ru.bgcrm.plugin.ufanet.telegram.ITelegramBotAPI
HTML, MARKDOWN -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedprotectedTelegramBotExt(TelegramBotExt.MessageSender messageSender) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract StringgetId()protected abstract ru.bgcrm.logging.LoggervoidsendMessage(String chatId, String text) voidsendMessage(String chatId, String text, String parseMode) voidsendMessage(ru.ufanet.telegrab.model.Message message)
-
Constructor Details
-
TelegramBotExt
protected TelegramBotExt() -
TelegramBotExt
-
-
Method Details
-
sendMessage
- Specified by:
sendMessagein interfaceITelegramBotAPI
-
sendMessage
- Specified by:
sendMessagein interfaceITelegramBotAPI
-
sendMessage
public void sendMessage(ru.ufanet.telegrab.model.Message message) -
getId
-
getLogger
protected abstract ru.bgcrm.logging.Logger getLogger()
-