ronami_core/payloads/set_business_account_bio.rs
1//! Generated by `codegen_payloads`, do not edit by hand.
2
3use serde::Serialize;
4
5use crate::types::BusinessConnectionId;
6use crate::types::True;
7
8impl_payload! {
9 /// Changes the bio of a managed business account. Requires the _can_change_bio_ business bot right. Returns _true_ on success.
10 #[derive(Debug, PartialEq, Eq, Hash, Clone, Serialize)]
11 pub SetBusinessAccountBio (SetBusinessAccountBioSetters) => True {
12 required {
13 /// Unique identifier of the business connection
14 pub business_connection_id: BusinessConnectionId,
15 }
16 optional {
17 /// The new value of the bio for the business account; 0-140 characters
18 pub bio: String [into],
19 }
20 }
21}