# Telegram Metadata Fields

These fields appear in webhook payloads for Telegram-integrated payment links:

| Field                                                      | Description                                                                                |
| ---------------------------------------------------------- | ------------------------------------------------------------------------------------------ |
| `customer.metadata.payment_link_url`                       | Direct link for the customer to complete payment.                                          |
| `customer.metadata.due_date`                               | Due date for upcoming or unpaid subscription.                                              |
| `customer.metadata.telegram_username`                      | Customer's Telegram username (e.g. `@johndoe`).                                            |
| `customer.metadata.telegram_user_id`                       | Telegram user ID (for bots to DM users). Only included if Telegram integration is enabled. |
| `paymentLink.integrationMetadata.telegram_group_id`        | Group ID of the connected Telegram group.                                                  |
| `paymentLink.integrationMetadata.telegram_group_name`      | Name of the Telegram group.                                                                |
| `paymentLink.integrationMetadata.telegram_welcome_message` | Welcome message displayed after successful payment                                         |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.paymento.io/payment-links/webhooks-for-payment-links/telegram-metadata-fields.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
