[−][src]Trait psn_api_rs::MultiPart
Required methods
fn message_multipart_body(
&self,
boundary: &str,
message: Option<&str>,
file_path: Option<&str>
) -> Vec<u8>
&self,
boundary: &str,
message: Option<&str>,
file_path: Option<&str>
) -> Vec<u8>
take option<&str>
for message
and file path
to determine if the message is a text only or a image attached one.
pass both as None
will result in generating a new message thread body.