POST /getUserProfilePhotos
Use this method to get a list of profile pictures for a user. Returns a UserProfilePhotos object.
Servers
- https://api.telegram.org/bot{token}
Request headers
Name | Type | Required | Description |
---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Request body fields
Name | Type | Required | Description |
---|---|---|---|
limit |
Integer | No |
Limits the number of photos to be retrieved. Values between 1-100 are accepted. Defaults to 100. Default value: 100 |
user_id |
Integer | Yes |
Unique identifier of the target user |
offset |
Integer | No |
Sequential number of the first photo to be returned. By default, all photos are returned. |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.