Add serde default to can_connect_to_business in Me

This commit is contained in:
Akshett Rai Jindal 2024-08-24 13:16:46 +05:30
parent 21b164a416
commit cef553eeae

View file

@ -26,6 +26,7 @@ pub struct Me {
/// `true`, if the bot can be connected to a Telegram Business account to /// `true`, if the bot can be connected to a Telegram Business account to
/// receive its messages. /// receive its messages.
#[serde(default)]
pub can_connect_to_business: bool, pub can_connect_to_business: bool,
} }