[][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 Message for GetUserProfilePhotos
[src]

type Result = Result<UserProfilePhotos, ()>

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

impl Handler<GetUserProfilePhotos> for TelegramApi
[src]

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

The type of value that this handle will return

impl Serialize for GetUserProfilePhotos
[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From for T
[src]

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

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

impl<T> Erased for T