Skip to content

feat: add editBotCommands for PATCH /me/commands, deprecate editBotInfo - #43

Merged
BushlanovDev merged 1 commit into
BushlanovDev:masterfrom
smotim:fix/me-commands
Oct 1, 2026
Merged

BushlanovDev merged 1 commit into
BushlanovDev:masterfrom
smotim:fix/me-commands

Conversation

@smotim

@smotim smotim commented Sep 27, 2026

Copy link
Copy Markdown
Contributor

Апи макса больше не поддерживает PATCH /me. У команд теперь есть свой эндпоинт PATCH /me/commands

The API no longer accepts PATCH /me: it answers "Path /me is not
recognized", so editBotInfo() fails, including for commands. Commands
now have their own endpoint, PATCH /me/commands (editMyCommands in the
official schema); bot name, description and photo are edited on the
MAX partner platform.

- Api::editBotCommands(BotCommand[]): BotCommandsInfo
- BotCommandsInfo model and ModelFactory::createBotCommandsInfo()
- editBotInfo() and BotPatch marked @deprecated
- README coverage map and docs updated
@BushlanovDev BushlanovDev self-assigned this Sep 30, 2026
@BushlanovDev
BushlanovDev self-requested a review September 30, 2026 20:44
@BushlanovDev
BushlanovDev merged commit fd878a4 into BushlanovDev:master Oct 1, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants