Struct actix_telegram::methods::GetUserProfilePhotos [−][src]
pub struct GetUserProfilePhotos { pub user_id: Integer, pub offset: Option<Integer>, pub limit: Option<Integer>, }
Use this method to get a list of profile pictures for a user. Returns a UserProfilePhotos object.
Fields
user_id: Integer
Unique identifier of the target user
offset: Option<Integer>
Sequential number of the first photo to be returned. By default, all photos are returned.
limit: Option<Integer>
Limits the number of photos to be retrieved. Values between 1—100 are accepted. Defaults to 100.
Trait Implementations
impl Debug for GetUserProfilePhotos
[src]
impl Debug for GetUserProfilePhotos
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl ActixMessage for GetUserProfilePhotos
[src]
impl ActixMessage for GetUserProfilePhotos
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]
impl Handler<GetUserProfilePhotos> for TelegramApi
type Result = Box<Future<Item = UserProfilePhotos, Error = ()>>
The type of value that this handle will return
fn handle(
&mut self,
msg: GetUserProfilePhotos,
_ctx: &mut Context<Self>
) -> Self::Result
[src]
fn handle(
&mut self,
msg: GetUserProfilePhotos,
_ctx: &mut Context<Self>
) -> Self::Result
Method is called for every message received by this Actor
Auto Trait Implementations
impl Send for GetUserProfilePhotos
impl Send for GetUserProfilePhotos
impl Sync for GetUserProfilePhotos
impl Sync for GetUserProfilePhotos