[][src]Struct actix_telegram::methods::GetUserProfilePhotos

pub struct GetUserProfilePhotos { /* fields omitted */ }

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

Methods

impl GetUserProfilePhotos[src]

pub fn set_user_id<__T: Into<Integer>>(&mut self, val: __T) -> &mut Self[src]

Unique identifier of the target user

pub fn set_offset<__T: Into<Option<Integer>>>(&mut self, val: __T) -> &mut Self[src]

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

pub fn set_limit<__T: Into<Option<Integer>>>(&mut self, val: __T) -> &mut Self[src]

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

impl GetUserProfilePhotos[src]

pub fn new(user_id: impl Into<Integer>) -> Self[src]

Trait Implementations

impl Debug for GetUserProfilePhotos[src]

impl Handler<GetUserProfilePhotos> for TelegramApi[src]

type Result = Box<dyn Future<Item = UserProfilePhotos, Error = Error>>

The type of value that this handle will return

impl Message for GetUserProfilePhotos[src]

type Result = Result<UserProfilePhotos, Error>

The type of value that this message will resolved with if it is successful. Read more

impl Serialize for GetUserProfilePhotos[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T