Skip to main content

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, True};
6
7impl_payload! {
8    /// Changes the profile photo of the bot. Returns _True_ on success.
9    #[derive(Debug, Clone, Serialize)]
10    pub SetMyProfilePhoto (SetMyProfilePhotoSetters) => True {
11        required {
12            /// The new profile photo to set
13            pub photo: InputProfilePhoto,
14        }
15    }
16}