public interface User
| Modifier and Type | Method and Description |
|---|---|
String |
getFirstName()
Gets the first name of the User.
|
default String |
getFullName()
Gets the full name of the user (concatenates the first and last name with a space in the middle, and then trims
|
long |
getId()
Gets the ID of the User
|
String |
getLastName()
Gets the last name of the User
|
UserProfilePhotos |
getProfilePhotos(TelegramBot telegramBot)
Gets the profile photos for the User
|
String |
getUsername()
Gets the username for the User
|
long getId()
String getFirstName()
String getLastName()
default String getFullName()
String getUsername()
UserProfilePhotos getProfilePhotos(TelegramBot telegramBot)
telegramBot - The TelegramBot instance that should retrieve the profile photosCopyright © 2017. All rights reserved.