Skip to content

channels.getParticipants возвращает InvalidArgumentException #171

@jiexaspb

Description

@jiexaspb

Добрый вечер

Делаю запрос
http://127.0.0.1:9503/api/channels.getParticipants/?channel=-1002276911501&filter[_]=channelParticipantsRecent

Все строго по доке https://docs.madelineproto.xyz/API_docs/methods/channels.getParticipants.html

Возвращает ошибку

{
    "success": false,
    "errors": [
        {
            "exception": "InvalidArgumentException",
            "message": "Parameter names must be provided!",
            "file": "/app-host-link/vendor/danog/madelineproto/src/Namespace/AbstractAPI.php",
            "line": 60,
            "code": 0,
            "backtrace": [
                {
                    "file": "/app-host-link/src/Controllers/AbstractApiController.php",
                    "line": 176,
                    "function": "__call",
                    "class": "danog\\MadelineProto\\Namespace\\AbstractAPI",
                    "type": "->",
                    "args": [
                        "getParticipants",
                        [
                            {
                                "_": "channelParticipantsRecent"
                            }
                        ]
                    ]
                },

Что не так в этом?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions