ronami_core/payloads/get_user_profile_audios.rs
1//! Generated by `codegen_payloads`, do not edit by hand.
2
3use serde::Serialize;
4
5use crate::types::UserId;
6use crate::types::UserProfileAudios;
7
8impl_payload! {
9 /// Use this method to get a list of profile audios for a user. Returns a [`UserProfileAudios`] object.
10 ///
11 /// [`UserProfileAudios`]: crate::types::UserProfileAudios
12 #[derive(Debug, PartialEq, Eq, Hash, Clone, Serialize)]
13 pub GetUserProfileAudios (GetUserProfileAudiosSetters) => UserProfileAudios {
14 required {
15 /// Unique identifier of the target user
16 pub user_id: UserId,
17 }
18 optional {
19 /// Sequential number of the first audio to be returned. By default, all audios are returned.
20 pub offset: u32,
21 /// Limits the number of audios to be retrieved. Values between 1-100 are accepted. Defaults to 100.
22 pub limit: u8,
23 }
24 }
25}