getUserProfilePhotos | R Documentation |
Use this method to get a list of profile pictures for a user.
getUserProfilePhotos(user_id, offset = NULL, limit = 100L)
user_id |
Unique identifier of the target user. |
offset |
(Optional). Sequential number of the first photo to be returned. By default, all photos are returned. |
limit |
(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
.
See getFile
to know how to download files.
## Not run: bot <- Bot(token = bot_token("RTelegramBot")) chat_id <- user_id("Me") photos <- bot$getUserProfilePhotos(chat_id = chat_id) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.