Struct telegram_bot_api::methods::GetUserProfilePhotos
source · [−]pub struct GetUserProfilePhotos {
pub user_id: i64,
pub offset: Option<i64>,
pub limit: Option<i64>,
}
Expand description
Use this method to get a list of profile pictures for a user. Returns a UserProfilePhotos object.
Fields
user_id: i64
Unique identifier of the target user
offset: Option<i64>
Sequential number of the first photo to be returned. By default, all photos are returned.
limit: Option<i64>
Limits the number of photos to be retrieved. Values between 1-100 are accepted. Defaults to 100.
Implementations
Trait Implementations
sourceimpl Clone for GetUserProfilePhotos
impl Clone for GetUserProfilePhotos
sourcefn clone(&self) -> GetUserProfilePhotos
fn clone(&self) -> GetUserProfilePhotos
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for GetUserProfilePhotos
impl Debug for GetUserProfilePhotos
sourceimpl<'de> Deserialize<'de> for GetUserProfilePhotos
impl<'de> Deserialize<'de> for GetUserProfilePhotos
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Methods for GetUserProfilePhotos
impl Methods for GetUserProfilePhotos
sourceimpl Serialize for GetUserProfilePhotos
impl Serialize for GetUserProfilePhotos
Auto Trait Implementations
impl RefUnwindSafe for GetUserProfilePhotos
impl Send for GetUserProfilePhotos
impl Sync for GetUserProfilePhotos
impl Unpin for GetUserProfilePhotos
impl UnwindSafe for GetUserProfilePhotos
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more