[−][src]Struct actix_telegram::methods::GetUserProfilePhotos
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]
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
fn handle(
&mut self,
msg: GetUserProfilePhotos,
_ctx: &mut Context<Self>
) -> Self::Result
[src]
&mut self,
msg: GetUserProfilePhotos,
_ctx: &mut Context<Self>
) -> Self::Result
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
impl Send for GetUserProfilePhotos
impl Unpin for GetUserProfilePhotos
impl Sync for GetUserProfilePhotos
impl UnwindSafe for GetUserProfilePhotos
impl RefUnwindSafe for GetUserProfilePhotos
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,