错误:在架构中找不到构造函数未定义

问题描述

以下调用导致此错误

Error: Constructor undefined not found in schema.

出什么问题了?我正在使用MTProtol电报API。

mtproto.call("messages.sendMedia",{
    media: [{
        _: "inputMediaUploadedDocument",file: "img.jpg",attributes: [{
            _: "documentAttributeImageSize",w: 300,h: 300
        }]
    }],message: `Upload! \neste bot está em faze de testes!`,peer: {
        _: 'inputPeerChannel',channel_id: channel_id,access_hash: channel_access_hash
    }
})

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)