ronami_core/payloads/set_my_profile_photo.rs
1//! Generated by `codegen_payloads`, do not edit by hand.
2
3use serde::Serialize;
4
5use crate::types::InputProfilePhoto;
6use crate::types::True;
7
8impl_payload! {
9 /// Changes the profile photo of the bot. Returns _True_ on success.
10 #[derive(Debug, Clone, Serialize)]
11 pub SetMyProfilePhoto (SetMyProfilePhotoSetters) => True {
12 required {
13 /// The new profile photo to set
14 pub photo: InputProfilePhoto,
15 }
16 }
17}