get_external_link_info

Function get_external_link_info 

Source
pub async fn get_external_link_info(
    link: String,
    client_id: i32,
) -> Result<LoginUrlInfo, Error>
Expand description

Returns information about an action to be done when the current user clicks an external link. Don’t use this method for links from secret chats if web page preview is disabled in secret chats

§Arguments

  • link - The link
  • client_id - The client id to send the request to