This commit is contained in:
P0lunin 2019-09-19 19:38:34 +03:00
commit cc9d59cf49

View file

@ -1,8 +1,16 @@
use crate::core::requests::RequestContext;
//TODO:: need implementation
//TODO: complete implementation after user_profile_fotos will be added to types/mod.rs
///Use this method to get a list of profile pictures for a user. Returns a UserProfilePhotos object.
#[derive(Debug, Clone, Serialize)]
struct GetUserProfilePhotos<'a> {
#[serde(skip_serializing)]
ctx: RequestContext<'a>,
/// Unique identifier of the target user
user_id: i32,
/// Sequential number of the first photo to be returned. By default, all photos are returned.
offset: Option<i64>,
///Limits the number of photos to be retrieved. Values between 1—100 are accepted. Defaults to 100.
limit: Option<i64>,
}