RDocumentation
Moon
Learn R
Search all packages and functions
telegram (version 0.6.0)
getUserProfilePhotos: getUserProfilePhotos
Description
Get a list of profile pictures for a user
Usage
getUserProfilePhotos(user_id = NULL, offset = NULL, limit = NULL, destfile = NULL)
Arguments
user_id
Unique identifier of the target user (required)
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
destfile
if a path is specified save the image (by default the bigger) in a local file