| Package | Description |
|---|---|
| org.telegram.abilitybots.api.bot | |
| org.telegram.abilitybots.api.objects |
| Modifier and Type | Method and Description |
|---|---|
protected EndUser |
AbilityBot.getUser(int id)
Gets the user with the specified ID.
|
protected EndUser |
AbilityBot.getUser(String username)
Gets the user with the specified username.
|
| Modifier and Type | Method and Description |
|---|---|
protected Map<Integer,EndUser> |
AbilityBot.users() |
| Modifier and Type | Method and Description |
|---|---|
static EndUser |
EndUser.endUser(Integer id,
String firstName,
String lastName,
String username) |
static EndUser |
EndUser.fromUser(org.telegram.telegrambots.api.objects.User user)
|
EndUser |
MessageContext.user() |
| Modifier and Type | Method and Description |
|---|---|
static MessageContext |
MessageContext.newContext(org.telegram.telegrambots.api.objects.Update update,
EndUser user,
Long chatId,
String... arguments) |
Copyright © 2017. All rights reserved.