public abstract class BaseMessage extends Object
| Constructor and Description |
|---|
BaseMessage() |
BaseMessage(String botName,
IBotAPI<IUpdate> bot) |
BaseMessage(String botName,
IBotAPI<IUpdate> bot,
boolean noargs) |
| Modifier and Type | Method and Description |
|---|---|
protected com.pengrad.telegrambot.model.request.Keyboard |
defaultKeyboard(List<List<String>> keyboardList) |
protected IBotAPI<IUpdate> |
getBot() |
protected String |
getKeywords(String text,
String command) |
protected com.pengrad.telegrambot.model.request.Keyboard |
locationKeyboard() |
protected static Object |
lookupBean(String name) |
void |
sendMessage(IUpdate message,
String text) |
protected void |
sendMessage(IUpdate message,
String text,
Object... args) |
protected void |
sendMessageWithKeyboard(IUpdate update,
List<List<String>> keyboardList,
String text) |
void |
setBot(IBotAPI bot) |
protected boolean |
typing(IUpdate update) |
protected boolean typing(IUpdate update)
protected void sendMessageWithKeyboard(IUpdate update, List<List<String>> keyboardList, String text)
protected com.pengrad.telegrambot.model.request.Keyboard locationKeyboard()
protected com.pengrad.telegrambot.model.request.Keyboard defaultKeyboard(List<List<String>> keyboardList)
public void setBot(IBotAPI bot)
Copyright © 2022. All rights reserved.