| Modifier and Type | Method and Description |
|---|---|
static User |
createUser(int userID) |
static User |
createUser(org.json.JSONObject jsonObject) |
String |
getFirstName()
Gets the first name of the User.
|
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
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFullNamepublic static User createUser(org.json.JSONObject jsonObject)
public static User createUser(int userID)
public long getId()
Userpublic String getFirstName()
UsergetFirstName in interface Userpublic String getLastName()
UsergetLastName in interface Userpublic String getUsername()
UsergetUsername in interface Userpublic UserProfilePhotos getProfilePhotos(TelegramBot telegramBot)
UsergetProfilePhotos in interface UsertelegramBot - The TelegramBot instance that should retrieve the profile photosCopyright © 2017. All rights reserved.