pub struct UpdateNewChatJoinRequest {
pub chat_id: i64,
pub request: ChatJoinRequest,
pub user_chat_id: i64,
pub invite_link: Option<ChatInviteLink>,
}
Expand description
A user sent a join request to a chat; for bots only
Fields§
§chat_id: i64
Chat identifier
request: ChatJoinRequest
Join request
user_chat_id: i64
Chat identifier of the private chat with the user
invite_link: Option<ChatInviteLink>
The invite link, which was used to send join request; may be null
Trait Implementations§
Source§impl Clone for UpdateNewChatJoinRequest
impl Clone for UpdateNewChatJoinRequest
Source§fn clone(&self) -> UpdateNewChatJoinRequest
fn clone(&self) -> UpdateNewChatJoinRequest
Returns a duplicate 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 UpdateNewChatJoinRequest
impl Debug for UpdateNewChatJoinRequest
Source§impl Default for UpdateNewChatJoinRequest
impl Default for UpdateNewChatJoinRequest
Source§fn default() -> UpdateNewChatJoinRequest
fn default() -> UpdateNewChatJoinRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateNewChatJoinRequest
impl<'de> Deserialize<'de> for UpdateNewChatJoinRequest
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 UpdateNewChatJoinRequest
impl PartialEq for UpdateNewChatJoinRequest
Source§impl Serialize for UpdateNewChatJoinRequest
impl Serialize for UpdateNewChatJoinRequest
impl StructuralPartialEq for UpdateNewChatJoinRequest
Auto Trait Implementations§
impl Freeze for UpdateNewChatJoinRequest
impl RefUnwindSafe for UpdateNewChatJoinRequest
impl Send for UpdateNewChatJoinRequest
impl Sync for UpdateNewChatJoinRequest
impl Unpin for UpdateNewChatJoinRequest
impl UnwindSafe for UpdateNewChatJoinRequest
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