ronami-core 1.5.0

Core part of the `ronami` library — Telegram Bot API client
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Generated by `codegen_payloads`, do not edit by hand.

use serde::Serialize;

use crate::types::InputProfilePhoto;
use crate::types::True;

impl_payload! {
    /// Changes the profile photo of the bot. Returns _True_ on success.
    #[derive(Debug, Clone, Serialize)]
    pub SetMyProfilePhoto (SetMyProfilePhotoSetters) => True {
        required {
            /// The new profile photo to set
            pub photo: InputProfilePhoto,
        }
    }
}