mirror of https://github.com/Nofated095/Q2TG.git
fix: 桌面端有时可能显示大图片
This commit is contained in:
parent
465ae35d7f
commit
6a01f529f5
|
@ -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 };
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue