get User Profile Photos
suspend fun TelegramBotApiClient.getUserProfilePhotos(requestBody: GetUserProfilePhotosRequest): TelegramResponse<UserProfilePhotos>
Content copied to clipboard
Use this method to get a list of profile pictures for a user. Returns a UserProfilePhotos object.
suspend fun TelegramBotApiClient.getUserProfilePhotos(userId: Int, offset: Int? = null, limit: Int? = null): TelegramResponse<UserProfilePhotos>
Content copied to clipboard
Use this method to get a list of profile pictures for a user. Returns a UserProfilePhotos object.
Parameters
userId
Unique identifier of the target user
offset
Sequential number of the first photo to be returned. By default, all photos are returned.
limit
Limits the number of photos to be retrieved. Values between 1-100 are accepted. Defaults to 100.