|
@@ -798,7 +798,8 @@ export class Message extends Mixin(SenderGetter, ChatGetter) {
|
|
|
}
|
|
|
|
|
|
async downloadMedia(params: DownloadMediaInterface) {
|
|
|
- if (this._client) return this._client.downloadMedia(this, params);
|
|
|
+ // small hack for patched method
|
|
|
+ if (this._client) return this._client.downloadMedia(this as any, params);
|
|
|
}
|
|
|
|
|
|
/* TODO doesn't look good enough.
|