View Source ExTDLib.Object.LinkPreviewOptions (ExTDLib v0.0.4)

Options to be used for generation of a link preview.

NameTypeDescription
is_disabledboolTrue, if link preview must be disabled.
urlstringURL to use for link preview. If empty, then the first URL found in the message text will be used.
force_small_mediaboolTrue, if shown media preview must be small; ignored in secret chats or if the URL isn't explicitly specified.
force_large_mediaboolTrue, if shown media preview must be large; ignored in secret chats or if the URL isn't explicitly specified.
show_above_textboolTrue, if link preview must be shown above message text; otherwise, the link preview will be shown below the message text; ignored in secret chats.

More details on telegram's documentation.