pub fn document_url(mut self, url: impl Into<String>) -> Self {
        self.media = Some(
            tl::types::InputMediaDocumentExternal {
                url: url.into(),
                ttl_seconds: self.media_ttl,
            }
            .into(),
        );
        self
    }
/// Include an external file as a document in the message.
///
/// You can use this to send videos, stickers, audios, or uncompressed photos.
///
/// The Telegram server will be the one that downloads and includes the document as media.
///
/// The text will be the caption of the document, which may be empty for no caption.
Include an external file as a document in the message.
You can use this to send videos, stickers, audios, or uncompressed photos.

The Telegram server will be the one that downloads and includes the document as media.

The text will be the caption of the document, which may be empty for no caption.
Include an external file as a document in the message . You can use this to send videos stickers audios or uncompressed photos . The Telegram server will be the one that downloads and includes the document as media . The text will be the caption of the document which may be empty for no caption .
pub fn document_url(mut self, url: impl Into<String>) -> Self {
        self.media = Some(
            tl::types::InputMediaDocumentExternal {
                url: url.into(),
                ttl_seconds: self.media_ttl,
            }
            .into(),
        );
        self
    }
pub fn document_url ( mut self , url : impl Into < String > ) -> Self { self . media = Some ( tl :: types :: InputMediaDocumentExternal { url : url . into ( ) , ttl_seconds : self . media_ttl , } . into ( ) , ) ; self }
Include an external file as a document in the message.
Include an external file as a document in the message .
mut self
url
impl Into<String>
mut self
url
impl Into<String>