pub trait MessageGetFiles {
// Required method
fn get_files<'a>(&'a self) -> Option<Vec<GetFile>>;
}
Expand description
A trait to obtain GetFile
requests from a message.
Many message kinds such as Sticker
return a single GetFile
.
Message kinds like Photo
might return more if an album is posted.
A video, video note or document returns any thumbnail as well.