alik0211 / mtproto-core

Telegram API JS (MTProto) client library for Node.js and browser
https://mtproto-core.js.org
GNU General Public License v3.0
630 stars 113 forks source link

'CHANNEL PRIVATE" #225

Open misterpeople opened 2 years ago

misterpeople commented 2 years ago

Hey, so im getting this error:

(node:26457) UnhandledPromiseRejectionWarning: #<Object> (node:26457) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag--unhandled-rejections=strict(see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2) (node:26457) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. messages.getHistory error: { _: 'mt_rpc_error', error_code: 400, error_message: 'CHANNEL_PRIVATE'

The channel is NOT PRIVATE! I updated to the last layer but it didn't seem to fix the problem