pub struct AnswerChatJoinRequestQuery { /* private fields */ }Expand description
Processes a received chat join request query.
Implementations§
Source§impl AnswerChatJoinRequestQuery
impl AnswerChatJoinRequestQuery
Sourcepub fn approve<T>(query_id: T) -> AnswerChatJoinRequestQuery
pub fn approve<T>(query_id: T) -> AnswerChatJoinRequestQuery
Creates a new AnswerChatJoinRequestQuery.
§Arguments
query_id- Unique identifier of the request query.
Allows the user to join the chat.
Sourcepub fn decline<T>(query_id: T) -> AnswerChatJoinRequestQuery
pub fn decline<T>(query_id: T) -> AnswerChatJoinRequestQuery
Creates a new AnswerChatJoinRequestQuery.
§Arguments
query_id- Unique identifier of the request query.
Disallows the user to join the chat.
Trait Implementations§
Source§impl Clone for AnswerChatJoinRequestQuery
impl Clone for AnswerChatJoinRequestQuery
Source§fn clone(&self) -> AnswerChatJoinRequestQuery
fn clone(&self) -> AnswerChatJoinRequestQuery
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 Debug for AnswerChatJoinRequestQuery
impl Debug for AnswerChatJoinRequestQuery
Source§impl Method for AnswerChatJoinRequestQuery
impl Method for AnswerChatJoinRequestQuery
Source§impl Serialize for AnswerChatJoinRequestQuery
impl Serialize for AnswerChatJoinRequestQuery
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for AnswerChatJoinRequestQuery
impl RefUnwindSafe for AnswerChatJoinRequestQuery
impl Send for AnswerChatJoinRequestQuery
impl Sync for AnswerChatJoinRequestQuery
impl Unpin for AnswerChatJoinRequestQuery
impl UnsafeUnpin for AnswerChatJoinRequestQuery
impl UnwindSafe for AnswerChatJoinRequestQuery
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