Package com.jtelegram.api.requests
Class GetUserProfilePhotos.GetUserProfilePhotosBuilder
- java.lang.Object
-
- com.jtelegram.api.requests.GetUserProfilePhotos.GetUserProfilePhotosBuilder
-
- Enclosing class:
- GetUserProfilePhotos
public static class GetUserProfilePhotos.GetUserProfilePhotosBuilder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetUserProfilePhotos
build()
GetUserProfilePhotos.GetUserProfilePhotosBuilder
callback(java.util.function.Consumer<UserProfilePhotos> callback)
GetUserProfilePhotos.GetUserProfilePhotosBuilder
errorHandler(java.util.function.Consumer<TelegramException> errorHandler)
GetUserProfilePhotos.GetUserProfilePhotosBuilder
limit(java.lang.Integer limit)
GetUserProfilePhotos.GetUserProfilePhotosBuilder
offset(java.lang.Integer offset)
java.lang.String
toString()
GetUserProfilePhotos.GetUserProfilePhotosBuilder
userId(java.lang.Long userId)
-
-
-
Method Detail
-
callback
public GetUserProfilePhotos.GetUserProfilePhotosBuilder callback(java.util.function.Consumer<UserProfilePhotos> callback)
-
errorHandler
public GetUserProfilePhotos.GetUserProfilePhotosBuilder errorHandler(java.util.function.Consumer<TelegramException> errorHandler)
-
userId
public GetUserProfilePhotos.GetUserProfilePhotosBuilder userId(java.lang.Long userId)
-
offset
public GetUserProfilePhotos.GetUserProfilePhotosBuilder offset(java.lang.Integer offset)
-
limit
public GetUserProfilePhotos.GetUserProfilePhotosBuilder limit(java.lang.Integer limit)
-
build
public GetUserProfilePhotos build()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-