powered by
Use this method to get a list of profile pictures for a user.
getUserProfilePhotos(user_id, offset = NULL, limit = 100)
Unique identifier of the target user
(Optional). Sequential number of the first photo to be returned. By default, all photos are returned
(Optional). Limits the number of photos to be retrieved. Values between 1-100 are accepted. Defaults to 100.
You can also use it's snake_case equivalent get_user_profile_photos.
get_user_profile_photos
# NOT RUN { bot <- Bot(token = bot_token('RBot')) chat_id <- user_id('me') bot$getUserProfilePhotos(chat_id = chat_id) # }
Run the code above in your browser using DataLab