pub struct ApproveChatJoinRequestRequest<'a> { /* private fields */ }Expand description
Use this method to approve a chat join request. The bot must be an administrator in the chat for this to work and must have the can_invite_users administrator right. Returns True on success.
Implementations§
Source§impl<'a> ApproveChatJoinRequestRequest<'a>
impl<'a> ApproveChatJoinRequestRequest<'a>
Trait Implementations§
Source§impl<'a> Clone for ApproveChatJoinRequestRequest<'a>
impl<'a> Clone for ApproveChatJoinRequestRequest<'a>
Source§fn clone(&self) -> ApproveChatJoinRequestRequest<'a>
fn clone(&self) -> ApproveChatJoinRequestRequest<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a, 'b> IntoFuture for &'b ApproveChatJoinRequestRequest<'a>
impl<'a, 'b> IntoFuture for &'b ApproveChatJoinRequestRequest<'a>
Source§type IntoFuture = Pin<Box<dyn Future<Output = Result<<ApproveChatJoinRequestRequest<'a> as RequestT>::ReturnType, ConogramError>> + Send + 'b>>
type IntoFuture = Pin<Box<dyn Future<Output = Result<<ApproveChatJoinRequestRequest<'a> as RequestT>::ReturnType, ConogramError>> + Send + 'b>>
Which kind of future are we turning this into?
Source§type Output = <<&'b ApproveChatJoinRequestRequest<'a> as IntoFuture>::IntoFuture as Future>::Output
type Output = <<&'b ApproveChatJoinRequestRequest<'a> as IntoFuture>::IntoFuture as Future>::Output
The output that the future will produce on completion.
Source§fn into_future(self) -> Self::IntoFuture
fn into_future(self) -> Self::IntoFuture
Creates a future from a value. Read more
Source§impl<'a> IntoFuture for ApproveChatJoinRequestRequest<'a>
impl<'a> IntoFuture for ApproveChatJoinRequestRequest<'a>
Source§type IntoFuture = Pin<Box<dyn Future<Output = Result<<ApproveChatJoinRequestRequest<'a> as RequestT>::ReturnType, ConogramError>> + Send + 'a>>
type IntoFuture = Pin<Box<dyn Future<Output = Result<<ApproveChatJoinRequestRequest<'a> as RequestT>::ReturnType, ConogramError>> + Send + 'a>>
Which kind of future are we turning this into?
Source§type Output = <<ApproveChatJoinRequestRequest<'a> as IntoFuture>::IntoFuture as Future>::Output
type Output = <<ApproveChatJoinRequestRequest<'a> as IntoFuture>::IntoFuture as Future>::Output
The output that the future will produce on completion.
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<'a> Freeze for ApproveChatJoinRequestRequest<'a>
impl<'a> !RefUnwindSafe for ApproveChatJoinRequestRequest<'a>
impl<'a> Send for ApproveChatJoinRequestRequest<'a>
impl<'a> Sync for ApproveChatJoinRequestRequest<'a>
impl<'a> Unpin for ApproveChatJoinRequestRequest<'a>
impl<'a> UnsafeUnpin for ApproveChatJoinRequestRequest<'a>
impl<'a> !UnwindSafe for ApproveChatJoinRequestRequest<'a>
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