pub fn photo_url(mut self, url: impl Into<String>) -> Self {
        self.media = Some(
            tl::types::InputMediaPhotoExternal {
                url: url.into(),
                ttl_seconds: self.media_ttl,
            }
            .into(),
        );
        self
    }
/// Include an external photo in the message.
///
/// The Telegram server will download and compress the image and convert it to JPEG format if
/// necessary.
///
/// The text will be the caption of the photo, which may be empty for no caption.
Include an external photo in the message.
The Telegram server will download and compress the image and convert it to JPEG format if
necessary.

The text will be the caption of the photo, which may be empty for no caption.
Include an external photo in the message . The Telegram server will download and compress the image and convert it to JPEG format if necessary . The text will be the caption of the photo which may be empty for no caption .
pub fn photo_url(mut self, url: impl Into<String>) -> Self {
        self.media = Some(
            tl::types::InputMediaPhotoExternal {
                url: url.into(),
                ttl_seconds: self.media_ttl,
            }
            .into(),
        );
        self
    }
pub fn photo_url ( mut self , url : impl Into < String > ) -> Self { self . media = Some ( tl :: types :: InputMediaPhotoExternal { url : url . into ( ) , ttl_seconds : self . media_ttl , } . into ( ) , ) ; self }
Include an external photo in the message.
Include an external photo in the message .
mut self
url
impl Into<String>
mut self
url
impl Into<String>