1 2 3 4 5 6 7 8 9 10 11 12 13 14
use crate::types::PhotoSize;
use serde::Deserialize;
/// Represents [`UserProfilePhotos`].
///
/// [`UserProfilePhotos`]: https://core.telegram.org/bots/api#userprofilephotos
#[derive(Debug, PartialEq, Eq, Clone, Hash, Deserialize)]
#[non_exhaustive]
pub struct ProfilePhotos {
/// Overall amount of photos of the user.
pub total_count: u32,
/// Vector of photos in different sizes.
pub photos: Vec<Vec<PhotoSize>>,
}