pub async fn get_web_page_preview(
text: FormattedText,
link_preview_options: Option<LinkPreviewOptions>,
client_id: i32,
) -> Result<WebPage, Error>Expand description
Returns a link preview by the text of a message. Do not call this function too often. Returns a 404 error if the text has no link preview
ยงArguments
text- Message text with formattinglink_preview_options- Options to be used for generation of the link preview; pass null to use default link preview optionsclient_id- The client id to send the request to