Skip to content

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

Open
smotim wants to merge 1 commit into
BushlanovDev:masterfrom
smotim:fix/me-commands
Open

smotim wants to merge 1 commit into
BushlanovDev:masterfrom
smotim:fix/me-commands

Conversation

@smotim

@smotim smotim commented Sep 27, 2026

Copy link
Copy Markdown

Апи макса больше не поддерживает 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
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.

1 participant