powered by
Use this method to get a list of profile pictures for a user.
getUserProfilePhotos(user_id, offset = NULL, limit = 100L)
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
See getFile to know how to download files.
getFile
if (FALSE) { bot <- Bot(token = bot_token("RTelegramBot")) chat_id <- user_id("Me") photos <- bot$getUserProfilePhotos(chat_id = chat_id) }
Run the code above in your browser using DataLab