# Telegram user picture API task

**Use case:** 

Preconfigured Apify task for Telegram user picture exports by username.

## Input

```json
{
  "username": "durov"
}
```

## Output

```json
{
  "id": {
    "label": "Telegram ID",
    "format": "text"
  },
  "username": {
    "label": "Username",
    "format": "text"
  },
  "firstName": {
    "label": "First Name",
    "format": "text"
  },
  "lastName": {
    "label": "Last Name",
    "format": "text"
  },
  "state": {
    "label": "Status",
    "format": "text"
  },
  "wasOnline": {
    "label": "Last Online",
    "format": "text"
  },
  "langCode": {
    "label": "Language Code",
    "format": "text"
  },
  "premium": {
    "label": "Premium Status",
    "format": "boolean"
  },
  "blocked": {
    "label": "Blocked",
    "format": "boolean"
  },
  "bot": {
    "label": "Is Bot",
    "format": "boolean"
  },
  "phone": {
    "label": "Phone"
  },
  "photos": {
    "label": "Photos",
    "format": "array"
  },
  "status": {
    "label": "Request Status",
    "format": "text"
  },
  "error": {
    "label": "Error",
    "format": "text"
  },
  "error_message": {
    "label": "Error message",
    "format": "text"
  }
}
```

## About this Actor

This example demonstrates how to use [Telegram Get Username Photos](https://apify.com/akula.marketing/telegram-get-username-photos) with a specific input configuration. Visit the [Actor detail page](https://apify.com/akula.marketing/telegram-get-username-photos) to learn more, explore other use cases, and run it yourself.