Screenshots
If applicable, add screenshots to help explain your problem.
Context:
Library environment: node or browser: node
Library version: 6.1.0
Node version (if node environment): 14.18.1
Browser version (if browser environment): x.x.x
Additional context
Other methods like messages.sendMessage or messages.getAllChats, but this in particular returns that error and I can not figure out what is going on.
Describe the bug I can not execute sendMedia command, receiveing error message:
messages.sendMedia error: TypeError: Cannot read property 'call' of undefined
Code examplemtproto instance is in a class here:
Expected behavior Media is sent.
Screenshots If applicable, add screenshots to help explain your problem.
Context:
Additional context Other methods like messages.sendMessage or messages.getAllChats, but this in particular returns that error and I can not figure out what is going on.