pub struct SetManagedBotAccessSettings { /* private fields */ }Expand description
Builder for the setManagedBotAccessSettings method (Bot API 9.7).
Changes the access settings of a managed bot.
Implementations§
Source§impl SetManagedBotAccessSettings
impl SetManagedBotAccessSettings
Sourcepub fn added_user_ids(self, ids: Vec<i64>) -> Self
pub fn added_user_ids(self, ids: Vec<i64>) -> Self
Up to 10 user IDs who will have access to the bot in addition to its owner.
Ignored if is_access_restricted is false.
Trait Implementations§
Source§impl IntoFuture for SetManagedBotAccessSettings
impl IntoFuture for SetManagedBotAccessSettings
Source§type IntoFuture = Pin<Box<dyn Future<Output = <SetManagedBotAccessSettings as IntoFuture>::Output> + Send>>
type IntoFuture = Pin<Box<dyn Future<Output = <SetManagedBotAccessSettings as IntoFuture>::Output> + Send>>
Which kind of future are we turning this into?
Source§fn into_future(self) -> Self::IntoFuture
fn into_future(self) -> Self::IntoFuture
Creates a future from a value. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for SetManagedBotAccessSettings
impl !UnwindSafe for SetManagedBotAccessSettings
impl Freeze for SetManagedBotAccessSettings
impl Send for SetManagedBotAccessSettings
impl Sync for SetManagedBotAccessSettings
impl Unpin for SetManagedBotAccessSettings
impl UnsafeUnpin for SetManagedBotAccessSettings
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