libtd-ktx / kotlinx.telegram.coroutines / getUserProfilePhotos
getUserProfilePhotos
suspend fun TelegramFlow.getUserProfilePhotos(userId: Int, 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
userId - User identifier.
offset - The number of photos to skip; must be non-negative.
limit - The maximum number of photos to be returned; up to 100.
Return UserProfilePhotos Contains part of the list of user photos.