fix: 桌面端有时可能显示大图片

This commit is contained in:
Clansty 2024-02-01 00:44:54 +08:00
parent 465ae35d7f
commit 6a01f529f5
No known key found for this signature in database
GPG Key ID: 3A6BE8BAF2EDE134
1 changed files with 1 additions and 0 deletions

View File

@ -393,6 +393,7 @@ export default class ForwardService {
// https://github.com/gram-js/gramjs/pull/633
messageToSend.file = new Api.InputMediaWebPage({
url: url.toString(),
forceSmallMedia: true,
});
messageToSend.linkPreview = { showAboveText: true };
}