pub struct FilesCompleteUploadExternalRequest {
pub files: Vec<FilesCompleteUploadExternalRequestFile>,
pub channel_id: Option<String>,
pub initial_comment: Option<String>,
pub thread_ts: Option<String>,
}Expand description
The type that represents a request of files.completeUploadExternal.
Fields§
§files: Vec<FilesCompleteUploadExternalRequestFile>Array of file ids and their corresponding (optional) titles.
https://api.slack.com/methods/files.completeUploadExternal#arg_files
channel_id: Option<String>Channel ID where the file will be shared.
https://api.slack.com/methods/files.completeUploadExternal#arg_channel_id
initial_comment: Option<String>The message text introducing the file in specified channels.
https://api.slack.com/methods/files.completeUploadExternal#arg_initial_comment
thread_ts: Option<String>Provide another message’s ts value to upload this file as a reply.
https://api.slack.com/methods/files.completeUploadExternal#arg_thread_ts
Trait Implementations§
Source§impl Clone for FilesCompleteUploadExternalRequest
impl Clone for FilesCompleteUploadExternalRequest
Source§fn clone(&self) -> FilesCompleteUploadExternalRequest
fn clone(&self) -> FilesCompleteUploadExternalRequest
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 moreAuto Trait Implementations§
impl Freeze for FilesCompleteUploadExternalRequest
impl RefUnwindSafe for FilesCompleteUploadExternalRequest
impl Send for FilesCompleteUploadExternalRequest
impl Sync for FilesCompleteUploadExternalRequest
impl Unpin for FilesCompleteUploadExternalRequest
impl UnwindSafe for FilesCompleteUploadExternalRequest
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