libtd-ktx / kotlinx.telegram.extensions / UserKtx / getProfilePhotos
getProfilePhotos
open suspend fun User.getProfilePhotos(offset: Int, limit: Int): UserProfilePhotos
Suspend function, which returns the profile photos of a user. The result of this query may be outdated: some photos might have been deleted already.
Parameters
offset - The number of photos to skip; must be non-negative.
limit - The maximum number of photos to be returned; up to 100.
Return TdApi.UserProfilePhotos Contains part of the list of user photos.