Struct tg_bot_models::GetUserProfilePhotos[][src]

pub struct GetUserProfilePhotos {
    pub user_id: i64,
    pub offset: Option<i64>,
    pub limit: Option<i64>,
}

Use this method to get a list of profile pictures for a user. Returns a UserProfilePhotos object.

Fields

Unique identifier of the target user

Sequential number of the first photo to be returned. By default, all photos are returned.

Limits the number of photos to be retrieved. Values between 1—100 are accepted. Defaults to 100.

Trait Implementations

impl Debug for GetUserProfilePhotos
[src]

Formats the value using the given formatter. Read more

impl Clone for GetUserProfilePhotos
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for GetUserProfilePhotos
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl PartialOrd for GetUserProfilePhotos
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

Auto Trait Implementations