LinkPreviewOptions
- class pyrogram.types.LinkPreviewOptions
Link preview options.
- Parameters:
is_disabled (
bool, optional) – True, if the link preview is disabled.url (
str, optional) – URL to use for the link preview.prefer_small_media (
bool, optional) – True, if the small media is preferred.prefer_large_media (
bool, optional) – True, if the large media is preferred.show_above_text (
bool, optional) – True, if the link preview should be shown above the message text.