Telegram · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Telegram Bot Payments API

4 actions 4 updates phrasing extends openapi/telegram-payments-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Telegram's API. It is a proposal applied on top of the contract, not a document Telegram publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 4

$.info
$.paths['/sendInvoice'].post
$.paths['/answerShippingQuery'].post
$.paths['/answerPreCheckoutQuery'].post

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for Telegram Bot Payments API
  version: 1.0.0
extends: openapi/telegram-payments-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-15'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 3
- target: $.paths['/sendInvoice'].post
  update:
    x-apievangelist-phrasing:
      intent: Send an invoice to a user
      effect: write
      questions:
      - How do I send a payment invoice to a user in a chat?
      - Can I include shipping options on an invoice I send?
      instructions:
      - text: Send an invoice titled {title} to chat {chat_id} with prices {prices} in {currency} and payload {payload}.
        slots:
          title: requestBody.title
          chat_id: requestBody.chat_id
          prices: requestBody.prices
          currency: requestBody.currency
          payload: requestBody.payload
      - text: Invoice {title} for {prices} in {currency} to {chat_id} with description {description} and payload {payload}.
        slots:
          title: requestBody.title
          prices: requestBody.prices
          currency: requestBody.currency
          chat_id: requestBody.chat_id
          description: requestBody.description
          payload: requestBody.payload
      method: generated
      generated: '2026-11-15'
- target: $.paths['/answerShippingQuery'].post
  update:
    x-apievangelist-phrasing:
      intent: Respond to a shipping query
      effect: write
      questions:
      - How do I tell a user whether my store ships to their address?
      - Can I offer several shipping options in response to a shipping query?
      instructions:
      - text: Answer shipping query {shipping_query_id} with ok {ok}.
        slots:
          shipping_query_id: requestBody.shipping_query_id
          ok: requestBody.ok
      - text: Respond to shipping query {shipping_query_id} with options {shipping_options} and ok {ok}.
        slots:
          shipping_query_id: requestBody.shipping_query_id
          shipping_options: requestBody.shipping_options
          ok: requestBody.ok
      method: generated
      generated: '2026-11-15'
- target: $.paths['/answerPreCheckoutQuery'].post
  update:
    x-apievangelist-phrasing:
      intent: Respond to a pre-checkout query
      effect: write
      questions:
      - How do I confirm a user's order before payment?
      - Can I decline a pre-checkout request with a reason?
      instructions:
      - text: Answer pre-checkout query {pre_checkout_query_id} with ok {ok}.
        slots:
          pre_checkout_query_id: requestBody.pre_checkout_query_id
          ok: requestBody.ok
      - text: Decline pre-checkout query {pre_checkout_query_id} because {error_message}.
        slots:
          pre_checkout_query_id: requestBody.pre_checkout_query_id
          error_message: requestBody.error_message
      method: generated
      generated: '2026-11-15'

Work with this as data

Every overlay here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/telegram-payments-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.