mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 14:35:36 +01:00
Add serde default to can_connect_to_business
in Me
This commit is contained in:
parent
21b164a416
commit
cef553eeae
1 changed files with 1 additions and 0 deletions
|
@ -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,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue