public class TelegramServiceRestBotAPIAdapter extends Object implements TelegramService
RestBotAPI to the TelegramService interface.| Constructor and Description |
|---|
TelegramServiceRestBotAPIAdapter() |
| Modifier and Type | Method and Description |
|---|---|
UpdateResult |
getUpdates(String authorizationToken,
Long offset,
Integer limit,
Integer timeoutSeconds) |
void |
sendMessage(String authorizationToken,
OutgoingMessage message) |
public UpdateResult getUpdates(String authorizationToken, Long offset, Integer limit, Integer timeoutSeconds)
getUpdates in interface TelegramServicepublic void sendMessage(String authorizationToken, OutgoingMessage message)
sendMessage in interface TelegramServiceApache Camel