public class UserProfilePhotosImpl extends Object implements UserProfilePhotos
| Modifier and Type | Method and Description |
|---|---|
static UserProfilePhotos |
createUserProfilePhotos(long user_id,
TelegramBot telegramBot) |
PhotoSize[][] |
getPhotos()
Gets an array containing all of the Photos that this User has
To download the photo you can get it down to a single PhotoSize object then call
PhotoSize#downloadFile(TelegramBot, File)
|
int |
getTotalCount()
Get the total amount of photos this user has
|
public static UserProfilePhotos createUserProfilePhotos(long user_id, TelegramBot telegramBot)
public int getTotalCount()
getTotalCount in interface UserProfilePhotospublic PhotoSize[][] getPhotos()
UserProfilePhotosgetPhotos in interface UserProfilePhotosCopyright © 2017. All rights reserved.