The short answer
Telegram Bot API 10.5 (22 November 2026) changed getMe to return a new BotFullInfo object and added setMySettings, so a bot can now change its own privacy mode, inline mode and group settings through the API. Bot API 10.4 (9 November 2026) added HTML widgets, sent with sendWidget, which work only in private chats in production.
If your code reads bot-only fields such as can_join_groups from a User object, update it. Telegram removed the fields that only getMe returned from User and moved them to BotFullInfo. Older changes from 10.0 to 10.3 are covered in our Bot API 10 overview.
What changed, by date
| Date | Version | Change | Breaking? |
|---|---|---|---|
| 9 Nov 2026 | 10.4 | HTML widgets: sendWidget, sendSharedWidget, answerWidgetQuery, editMessageWidgetData, editSharedWidgetData | No |
| 9 Nov 2026 | 10.4 | Ephemeral replies to callback queries through ephemeral_message_parameters; receiver_user_id made optional | No |
| 9 Nov 2026 | 10.4 | StoryAreaPosition renamed to AreaPosition | Yes, for typed clients |
| 9 Nov 2026 | 10.4 | New entity types ton_address and bank_card_number | No |
| 22 Nov 2026 | 10.5 | getMe returns BotFullInfo; getMe-only fields removed from User | Yes |
| 22 Nov 2026 | 10.5 | New method setMySettings, including callback_query_mode and has_topic_sidebar | No |
| 22 Nov 2026 | 10.5 | Owner invite links https://t.me/botinvite/<bot_username>; WriteAccessAllowed.inviter | No |
| 22 Nov 2026 | 10.5 | text replaced by blocks in RichBlockExpandableBlockQuotation and InputRichBlockExpandableBlockQuotation | Yes |
All dates and names are from the official Bot API changelog.
getMe now returns BotFullInfo
The method itself has not changed. The API reference still calls getMe "a simple method for testing your bot's authentication token". It takes no parameters. What changed is the return type: it now "returns information about the bot in the form of a BotFullInfo object".
The User object now lists only these fields: id, is_bot, first_name, last_name, username, language_code, is_premium and added_to_attachment_menu. Flags like can_join_groups, can_read_all_group_messages and supports_inline_queries are documented on BotFullInfo instead.
A request and a response in the documented shape (the values are examples):
GET https://api.telegram.org/bot$TOKEN/getMe{
"ok": true,
"result": {
"id": 123456789,
"is_bot": true,
"first_name": "Support Bot",
"username": "example_support_bot",
"active_usernames": ["example_support_bot"],
"can_join_groups": true,
"can_read_all_group_messages": false,
"supports_guest_queries": false,
"supports_inline_queries": false,
"needs_inline_query_location": false,
"can_connect_to_business": false,
"has_main_web_app": false,
"has_topics_enabled": false,
"allows_users_to_create_topics": false,
"has_topic_sidebar": false,
"can_manage_bots": false,
"supports_join_request_queries": false
}
}Four fields are new in 10.5:
active_usernames(Array of String): all active usernames of the bot, if non-empty.inline_query_placeholder(String): omitted when the default placeholder is used.needs_inline_query_location(Boolean): whether the bot asks for the user's location with every inline query.has_topic_sidebar(Boolean): whether private-chat topics are shown in a sidebar.
What to check: if your code or library has a type for getMe that reuses User, give it its own BotFullInfo type. Optional fields such as username and inline_query_placeholder can be missing, so do not assume they are present. You can test a token and see the raw response with the Telegram bot token checker.
setMySettings: change bot settings through the API
setMySettings is new in 10.5. The reference describes the new method like this: "Use this method to change the settings of the bot. Settings that aren't specified remain unchanged. Returns True on success." Every parameter is optional.
| Parameter | Type | What it does |
|---|---|---|
can_read_all_group_messages | Boolean | true disables privacy mode; false enables it |
can_join_groups | Boolean | Allow or block adding the bot to groups |
supports_inline_queries | Boolean | Turn inline mode on or off |
inline_query_placeholder | String | Placeholder after the username; an empty string restores the default |
needs_inline_query_location | Boolean | Request the user's location with every inline query |
inline_feedback_share_denominator | Integer | Receive 1 of every N chosen inline results: 1, 10, 100 or 1000; 0 stops delivery |
has_topics_enabled | Boolean | Forum topic mode in private chats |
allows_users_to_create_topics | Boolean | Let users create and delete topics in private chats |
has_topic_sidebar | Boolean | Show topics in a sidebar in private chats |
callback_query_mode | String | One of "default", "auto" or "inline" |
can_connect_to_business, can_manage_bots, supports_guest_queries, supports_join_request_queries, can_communicate_with_bots | Boolean | Allow or block each capability |
curl -X POST "https://api.telegram.org/bot$TOKEN/setMySettings" \
-H "Content-Type: application/json" \
-d '{
"can_join_groups": false,
"can_read_all_group_messages": false,
"callback_query_mode": "auto"
}'
# Response
{"ok": true, "result": true}callback_query_mode controls where a callback query from a button identifies its message. Per the reference, "default" always uses the message field, "auto" uses inline_message_id when the message is inaccessible, and "inline" always uses inline_message_id. If your callback handler reads callback_query.message.chat.id, keep "default" or handle both fields.
There is no separate getMySettings method in the reference. Read most values back from getMe, since BotFullInfo carries can_read_all_group_messages, can_join_groups and the topic flags. callback_query_mode, inline_feedback_share_denominator and can_communicate_with_bots are not fields of BotFullInfo. For what privacy mode changes in groups, see Telegram bot privacy mode. The name, description and commands are still set with their own methods, which the Telegram bot profile editor covers.
Other 10.5 changes
- Owner invite links. Bot owners can use
https://t.me/botinvite/<bot_username>to invite "up to 10 users at once" to private chats with the bot. The resulting service message carries a newinviterfield onWriteAccessAllowed. - Expandable block quotations. The
textfield ofRichBlockExpandableBlockQuotationandInputRichBlockExpandableBlockQuotationwas replaced byblocks, so these quotations can hold arbitrary blocks. Code that builds or parses rich messages withtexton these classes needs a change.
Bot API 10.4: HTML widgets and their limits
A widget is a message that renders a small HTML document inside the chat bubble. Telegram's widgets guide describes it as a single HTML document with inline CSS and JavaScript. The bot sets the code once; afterwards only the bot can change the widget's data.
The reference says: "Currently, in the production environment, widgets can be sent only to private chats." Sent widgets have protected content and can't be forwarded, and widget messages can't be copied with copyMessage or copyMessages. The guide lists groups, supergroups, inline mode and forwards as test-server only.
| Limit | Value | Source |
|---|---|---|
Widget HTML (html) | 1-32768 bytes | sendWidget |
| HTML after zlib compression at maximum level | 4096 bytes or less | sendWidget; guide says level 9 |
width | Clamped from 200 to the maximum bubble width | sendWidget |
height | Clamped to 50-600 | sendWidget |
public_data and chat_data | 0-1024 bytes each | sendWidget |
caption | 0-1024 characters after entities parsing | sendWidget |
Data the widget sends with TelegramWidget.request | 1 to 64 bytes | Guide |
| Widget requests | 5 per 5 seconds per user and bot | Guide |
| Time to answer a widget query | 15 seconds | answerWidgetQuery |
Answer data | 0-1024 bytes | answerWidgetQuery |
| Editing shared widget data | At most once per second | editSharedWidgetData |
cache_time for shared widgets | 5-3600 seconds (30 by default) | editSharedWidgetData |
The sandbox is strict. The guide says a widget has "no network access at all": fetch, XMLHttpRequest and WebSocket throw NetworkDisabledError. External scripts, stylesheets, fonts and images are never loaded, so images must be data: URLs or inline SVG. JavaScript runs in QuickJS with no bundled libraries. Inside Telegram the widget gets a window.TelegramWidget object with publicData, chatData and request(data).
Sending a widget that can query the bot:
curl -X POST "https://api.telegram.org/bot$TOKEN/sendWidget" \
-H "Content-Type: application/json" \
-d '{
"chat_id": 123456789,
"html": "<!doctype html><body><button id=b>Check status</button><script>document.getElementById(\"b\").onclick=function(){TelegramWidget.request(\"status\")}</script></body>",
"height": 120,
"chat_data": "{\"order\":\"A-1042\"}",
"allow_queries": true
}'When a user taps the button, the bot receives a widget_query update and answers it within 15 seconds:
{
"update_id": 100000001,
"widget_query": {
"id": "4382bfdwdsb323b2d9",
"from": {"id": 111111111, "is_bot": false, "first_name": "Ana"},
"chat_instance": "-8205681357342381812",
"message_id": 42,
"type": {"type": "data"},
"data": "status"
}
}
POST /bot$TOKEN/answerWidgetQuery
{"widget_query_id": "4382bfdwdsb323b2d9", "data": "Shipped"}The answer goes only to the widget that asked and does not change stored data. To change what every viewer sees, call editMessageWidgetData or, for shared widgets, editSharedWidgetData. A shared widget is created with is_shared: true and resent with sendSharedWidget and its widget_id. Queries from forwarded shared widgets arrive as shared_widget_query.
A late answer fails the same way a late callback answer does. If you see "query is too old", see the query is too old error. Other Telegram caps are listed on the Telegram limits page.
What to do now
- Search your code for places that treat the
getMeresult as aUser, and switch them toBotFullInfo. - Update your Bot API library to a release that supports 10.5, then run your type checks.
- If you build rich messages, replace
textwithblockson expandable block quotations. - If you use typed story areas, rename
StoryAreaPositiontoAreaPosition. - Decide whether settings now belong in code. A
setMySettingscall at deploy time keeps privacy mode and group access the same in every environment. - If you add widgets, keep the HTML under 32768 bytes and 4096 bytes compressed, add a
widget_queryhandler, and answer within 15 seconds.
Webhook delivery is unchanged by these releases. If updates stop arriving after a deploy, check your webhook with the Telegram webhook checker.
If you would rather not code a bot, Conferbot is a no-code chatbot builder that connects to Telegram, and its Free plan includes 600 conversations a month. See the Telegram chatbot page.
Sources checked 3 December 2026
Was this article helpful?
Build and deploy in 10 minutes. No coding needed.
Telegram Bot API 10.4 and 10.5 FAQ
Everything you need to know about chatbots for telegram bot api 10.4 and 10.5.
About the Author
The Conferbot team writes about building, deploying, and improving AI chatbots.
View all articlesRelated Articles
From the reference shelf
Fact-checked reference pages and free tools for the platform this article covers.