| Package | Description |
|---|---|
| org.telegram.abilitybots.api.bot | |
| org.telegram.abilitybots.api.objects | |
| org.telegram.abilitybots.api.util |
| Modifier and Type | Method and Description |
|---|---|
protected int |
BaseAbilityBot.getUserIdSendError(String username,
MessageContext ctx)
Gets the user with the specified username.
|
| Modifier and Type | Method and Description |
|---|---|
static MessageContext |
MessageContext.newContext(org.telegram.telegrambots.meta.api.objects.Update update,
org.telegram.telegrambots.meta.api.objects.User user,
Long chatId,
String... arguments) |
| Modifier and Type | Method and Description |
|---|---|
Consumer<MessageContext> |
Ability.action() |
Consumer<MessageContext> |
Ability.postAction() |
| Modifier and Type | Method and Description |
|---|---|
Ability.AbilityBuilder |
Ability.AbilityBuilder.action(Consumer<MessageContext> consumer) |
Ability.AbilityBuilder |
Ability.AbilityBuilder.post(Consumer<MessageContext> postConsumer) |
| Modifier and Type | Method and Description |
|---|---|
static Consumer<MessageContext> |
AbilityUtils.commitTo(DBContext db)
Commits to DB.
|
Copyright © 2019. All rights reserved.