pub struct SndFileCompleteXftp {
pub user: User,
pub chat_item: AChatItem,
pub file_transfer_meta: FileTransferMeta,
pub undocumented: BTreeMap<String, Value>,
}Expand description
§File events
Bots that send or receive files may process these events to track delivery status and to process completion.
Bots that need to receive or moderate files (e.g., based on name, size or extension), can use relevant commands (e.g., ReceiveFile or APIDeleteMemberChatItem) when processing NewChatItems event.
Bots that need to send files should use APISendMessages command.
File upload is competed.
Fields§
§user: User§chat_item: AChatItem§file_transfer_meta: FileTransferMeta§undocumented: BTreeMap<String, Value>Trait Implementations§
Source§impl Clone for SndFileCompleteXftp
impl Clone for SndFileCompleteXftp
Source§fn clone(&self) -> SndFileCompleteXftp
fn clone(&self) -> SndFileCompleteXftp
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 SndFileCompleteXftp
impl Debug for SndFileCompleteXftp
Source§impl<'de> Deserialize<'de> for SndFileCompleteXftp
impl<'de> Deserialize<'de> for SndFileCompleteXftp
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<SndFileCompleteXftp, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SndFileCompleteXftp, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SndFileCompleteXftp
impl PartialEq for SndFileCompleteXftp
Source§impl Serialize for SndFileCompleteXftp
impl Serialize for SndFileCompleteXftp
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
impl StructuralPartialEq for SndFileCompleteXftp
Auto Trait Implementations§
impl Freeze for SndFileCompleteXftp
impl RefUnwindSafe for SndFileCompleteXftp
impl Send for SndFileCompleteXftp
impl Sync for SndFileCompleteXftp
impl Unpin for SndFileCompleteXftp
impl UnwindSafe for SndFileCompleteXftp
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