pub struct BusinessRecipients {
pub chat_ids: Vec<i64>,
pub excluded_chat_ids: Vec<i64>,
pub select_existing_chats: bool,
pub select_new_chats: bool,
pub select_contacts: bool,
pub select_non_contacts: bool,
pub exclude_selected: bool,
}Expand description
Describes private chats chosen for automatic interaction with a business
Fields§
§chat_ids: Vec<i64>Identifiers of selected private chats
excluded_chat_ids: Vec<i64>Identifiers of private chats that are always excluded; for businessConnectedBot only
select_existing_chats: boolTrue, if all existing private chats are selected
select_new_chats: boolTrue, if all new private chats are selected
select_contacts: boolTrue, if all private chats with contacts are selected
select_non_contacts: boolTrue, if all private chats with non-contacts are selected
exclude_selected: boolIf true, then all private chats except the selected are chosen. Otherwise, only the selected chats are chosen
Trait Implementations§
Source§impl Clone for BusinessRecipients
impl Clone for BusinessRecipients
Source§fn clone(&self) -> BusinessRecipients
fn clone(&self) -> BusinessRecipients
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BusinessRecipients
impl Debug for BusinessRecipients
Source§impl Default for BusinessRecipients
impl Default for BusinessRecipients
Source§fn default() -> BusinessRecipients
fn default() -> BusinessRecipients
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BusinessRecipients
impl<'de> Deserialize<'de> for BusinessRecipients
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for BusinessRecipients
impl PartialEq for BusinessRecipients
Source§impl Serialize for BusinessRecipients
impl Serialize for BusinessRecipients
impl StructuralPartialEq for BusinessRecipients
Auto Trait Implementations§
impl Freeze for BusinessRecipients
impl RefUnwindSafe for BusinessRecipients
impl Send for BusinessRecipients
impl Sync for BusinessRecipients
impl Unpin for BusinessRecipients
impl UnwindSafe for BusinessRecipients
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more