pub fn photo(mut self, file: Uploaded) -> Self {
        self.media = Some(
            tl::types::InputMediaUploadedPhoto {
                file: file.input_file,
                stickers: None,
                ttl_seconds: self.media_ttl,
            }
            .into(),
        );
        self
    }
/// Include the uploaded file as a photo in the message.
///
/// The Telegram server will 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 the uploaded file as a photo in the message.
The Telegram server will 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 the uploaded file as a photo in the message . The Telegram server will 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(mut self, file: Uploaded) -> Self {
        self.media = Some(
            tl::types::InputMediaUploadedPhoto {
                file: file.input_file,
                stickers: None,
                ttl_seconds: self.media_ttl,
            }
            .into(),
        );
        self
    }
pub fn photo ( mut self , file : Uploaded ) -> Self { self . media = Some ( tl :: types :: InputMediaUploadedPhoto { file : file . input_file , stickers : None , ttl_seconds : self . media_ttl , } . into ( ) , ) ; self }
Include the uploaded file as a photo in the message.
Include the uploaded file as a photo in the message .
mut self
file
Uploaded
mut self
file
Uploaded