peyk.platforms.telegram.methods.get_user_profile_photos¶
- async peyk.platforms.telegram.methods.get_user_profile_photos(self, user_id: int, *, offset: int | None = None, limit: int | None = None) object¶
Use this method to get a list of profile pictures for a user. Returns a UserProfilePhotos object.
- Parameters:
user_id – 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.