InputBotInlineMessageMediaWebPage
- class pyrogram.raw.types.InputBotInlineMessageMediaWebPage
Specifies options that will be used to generate the link preview for the message, or even a standalone link preview without an attached message.
Constructor of
InputBotInlineMessage
.- Details:
Layer:
194
ID:
BDDCC510
- Parameters:
message (
str
) – The message, can be empty.url (
str
) – The URL to use for the link preview.invert_media (
bool
, optional) – If set, any eventual webpage preview will be shown on top of the message instead of at the bottom.force_large_media (
bool
, optional) – If set, specifies that a large media preview should be used.force_small_media (
bool
, optional) – If set, specifies that a small media preview should be used.optional (
bool
, optional) – If not set, a WEBPAGE_NOT_FOUND RPC error will be emitted if a webpage preview cannot be generated for the specified url; otherwise, no error will be emitted (unless the provided message is also empty, in which case a MESSAGE_EMPTY will be emitted, instead).entities (List of
MessageEntity
, optional) – Message entities for styled textreply_markup (
ReplyMarkup
, optional) – Inline keyboard