Telegram · OpenAPI Overlay 1.0.0
API Evangelist conversational phrasing for Telegram Bot Member Management API
8 actions
8 updates
phrasing
extends
openapi/telegram-member-management-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.
What the actions change
x-apievangelist-phrasing
Targets 8
$.info
$.paths['/banChatMember'].post
$.paths['/unbanChatMember'].post
$.paths['/restrictChatMember'].post
$.paths['/promoteChatMember'].post
$.paths['/setChatAdministratorCustomTitle'].post
$.paths['/approveChatJoinRequest'].post
$.paths['/declineChatJoinRequest'].post
OpenAPI Overlay
# 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 Member Management API
version: 1.0.0
extends: openapi/telegram-member-management-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: 7
- target: $.paths['/banChatMember'].post
update:
x-apievangelist-phrasing:
intent: Ban a user from a group or channel
effect: destructive
questions:
- How do I ban a spammer from my Telegram group?
- Can I ban someone for a set number of days and revoke their messages?
instructions:
- text: Ban user {user_id} in chat {chat_id}.
slots:
user_id: requestBody.user_id
chat_id: requestBody.chat_id
- text: Ban {user_id} in {chat_id} until {until_date} and revoke their messages.
slots:
user_id: requestBody.user_id
chat_id: requestBody.chat_id
until_date: requestBody.until_date
method: generated
generated: '2026-11-15'
- target: $.paths['/unbanChatMember'].post
update:
x-apievangelist-phrasing:
intent: Unban a previously banned user
effect: write
questions:
- How do I lift a ban on someone who apologized?
- Can I unban a user only if they were actually banned?
instructions:
- text: Unban user {user_id} in chat {chat_id}.
slots:
user_id: requestBody.user_id
chat_id: requestBody.chat_id
- text: Unban {user_id} in {chat_id} unless they are not banned.
slots:
user_id: requestBody.user_id
chat_id: requestBody.chat_id
method: generated
generated: '2026-11-15'
- target: $.paths['/restrictChatMember'].post
update:
x-apievangelist-phrasing:
intent: Restrict a user in a supergroup
effect: write
questions:
- How do I restrict a user's ability to post in a supergroup?
- Can I restrict a user's permissions until a certain date?
instructions:
- text: Restrict user {user_id} in chat {chat_id} with permissions {permissions}.
slots:
user_id: requestBody.user_id
chat_id: requestBody.chat_id
permissions: requestBody.permissions
- text: Restrict {user_id} in {chat_id} until {until_date} with {permissions}.
slots:
user_id: requestBody.user_id
chat_id: requestBody.chat_id
until_date: requestBody.until_date
permissions: requestBody.permissions
method: generated
generated: '2026-11-15'
- target: $.paths['/promoteChatMember'].post
update:
x-apievangelist-phrasing:
intent: Promote or demote a chat administrator
effect: write
questions:
- How do I make someone an admin of my supergroup?
- Can I give an admin the power to ban members but not change the group title?
instructions:
- text: Promote user {user_id} in chat {chat_id} as an admin.
slots:
user_id: requestBody.user_id
chat_id: requestBody.chat_id
- text: Make {user_id} an admin of {chat_id} with can_post_messages {can_post_messages} and can_restrict_members {can_restrict_members}.
slots:
user_id: requestBody.user_id
chat_id: requestBody.chat_id
can_post_messages: requestBody.can_post_messages
can_restrict_members: requestBody.can_restrict_members
method: generated
generated: '2026-11-15'
- target: $.paths['/setChatAdministratorCustomTitle'].post
update:
x-apievangelist-phrasing:
intent: Set a custom admin title
effect: write
questions:
- Can I give an admin a custom title like 'Moderator'?
- What's the character limit for an admin's custom title?
instructions:
- text: Set custom title {custom_title} for admin {user_id} in chat {chat_id}.
slots:
custom_title: requestBody.custom_title
user_id: requestBody.user_id
chat_id: requestBody.chat_id
- text: Give {user_id} in {chat_id} the title {custom_title}.
slots:
user_id: requestBody.user_id
chat_id: requestBody.chat_id
custom_title: requestBody.custom_title
method: generated
generated: '2026-11-15'
- target: $.paths['/approveChatJoinRequest'].post
update:
x-apievangelist-phrasing:
intent: Approve a pending chat join request
effect: write
questions:
- How do I accept a user who requested to join my group?
- Can I approve a pending join request for a new member?
instructions:
- text: Approve the join request from user {user_id} in chat {chat_id}.
slots:
user_id: requestBody.user_id
chat_id: requestBody.chat_id
- text: Accept {user_id}'s request to join {chat_id}.
slots:
user_id: requestBody.user_id
chat_id: requestBody.chat_id
method: generated
generated: '2026-11-15'
- target: $.paths['/declineChatJoinRequest'].post
update:
x-apievangelist-phrasing:
intent: Decline a pending chat join request
effect: write
questions:
- How do I turn down a user who asked to join my group?
- Can I decline a pending join request without banning the user?
instructions:
- text: Decline the join request from user {user_id} in chat {chat_id}.
slots:
user_id: requestBody.user_id
chat_id: requestBody.chat_id
- text: Turn down {user_id}'s request to join {chat_id}.
slots:
user_id: requestBody.user_id
chat_id: requestBody.chat_id
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.
Call it yourself
curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/telegram-member-management-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.