Skip to content

Не работает метод get_message_async #4

Open

Description

@mishunn

Python 3.14
не правильно раскрывается путь path = f"{Paths.MESSAGES}/{req.message_id}"
Надо либо enum Paths отнаследовать от StrEnum, либо в определении пути path = f"{Paths.MESSAGES}/{req.message_id}"
исправить на path = f"{Paths.MESSAGES.value}/{req.message_id}"

Activity

  1. mishunn commented on Jun 16, 2026

    @mishunn
    Author

    maxbot_api_client_python.exceptions.NotFoundError: not found: status code 404, response: {"code":"method.not.found","message":"Path /Paths.MESSAGES/mid.ID is not recognized. Please check docs at https://dev.max.ru/docs"}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions