mirror of
https://github.com/teloxide/teloxide.git
synced 2025-01-03 17:52:12 +01:00
add pub modifcators for filds
This commit is contained in:
parent
3443942cf9
commit
57e3b21778
1 changed files with 3 additions and 3 deletions
|
@ -9,15 +9,15 @@ pub struct GetUserProfilePhotos<'a> {
|
||||||
#[serde(skip_serializing)]
|
#[serde(skip_serializing)]
|
||||||
ctx: RequestContext<'a>,
|
ctx: RequestContext<'a>,
|
||||||
/// Unique identifier of the target user
|
/// Unique identifier of the target user
|
||||||
user_id: i32,
|
pub user_id: i32,
|
||||||
/// Sequential number of the first photo to be returned. By default, all
|
/// Sequential number of the first photo to be returned. By default, all
|
||||||
/// photos are returned.
|
/// photos are returned.
|
||||||
#[serde(skip_serializing_if = "Option::is_none")]
|
#[serde(skip_serializing_if = "Option::is_none")]
|
||||||
offset: Option<i64>,
|
pub offset: Option<i64>,
|
||||||
///Limits the number of photos to be retrieved. Values between 1—100 are
|
///Limits the number of photos to be retrieved. Values between 1—100 are
|
||||||
/// accepted. Defaults to 100.
|
/// accepted. Defaults to 100.
|
||||||
#[serde(skip_serializing_if = "Option::is_none")]
|
#[serde(skip_serializing_if = "Option::is_none")]
|
||||||
limit: Option<i64>,
|
pub limit: Option<i64>,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> Request<'a> for GetUserProfilePhotos<'a> {
|
impl<'a> Request<'a> for GetUserProfilePhotos<'a> {
|
||||||
|
|
Loading…
Reference in a new issue