mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 22:46:39 +01:00
Merge branch 'dev' of https://github.com/async-telegram-bot/async-telegram-bot into dev
This commit is contained in:
commit
cc9d59cf49
1 changed files with 9 additions and 1 deletions
|
@ -1,8 +1,16 @@
|
|||
use crate::core::requests::RequestContext;
|
||||
//TODO:: need implementation
|
||||
|
||||
|
||||
//TODO: complete implementation after user_profile_fotos will be added to types/mod.rs
|
||||
///Use this method to get a list of profile pictures for a user. Returns a UserProfilePhotos object.
|
||||
#[derive(Debug, Clone, Serialize)]
|
||||
struct GetUserProfilePhotos<'a> {
|
||||
#[serde(skip_serializing)]
|
||||
ctx: RequestContext<'a>,
|
||||
/// Unique identifier of the target user
|
||||
user_id: i32,
|
||||
/// Sequential number of the first photo to be returned. By default, all photos are returned.
|
||||
offset: Option<i64>,
|
||||
///Limits the number of photos to be retrieved. Values between 1—100 are accepted. Defaults to 100.
|
||||
limit: Option<i64>,
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue