pub struct ReceiveMessageRequest {
pub id: String,
pub channel_id: String,
pub sender_id: String,
pub conversation_id: String,
pub message: String,
pub status: Status,
pub created_at: String,
pub reply_by: Option<String>,
pub conversation_link: Option<String>,
pub attachments: Option<Vec<ReceiveMessageRequestAttachmentsInner>>,
}Fields§
§id: StringThe ID of the message
channel_id: StringThe channel ID as in the provider
sender_id: StringThe ID of the provider’s user that sent the message
conversation_id: StringThe ID of the conversation
message: StringThe body of the message
status: StatusThe status of the message
created_at: StringThe date and time when the message was created in the provider, in UTC. Format: YYYY-MM-DD HH:MM
reply_by: Option<String>The date and time when the message can no longer receive a reply, in UTC. Format: YYYY-MM-DD HH:MM
conversation_link: Option<String>A URL that can open the conversation in the provider’s side
attachments: Option<Vec<ReceiveMessageRequestAttachmentsInner>>The list of attachments available in the message
Implementations§
Trait Implementations§
Source§impl Clone for ReceiveMessageRequest
impl Clone for ReceiveMessageRequest
Source§fn clone(&self) -> ReceiveMessageRequest
fn clone(&self) -> ReceiveMessageRequest
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 ReceiveMessageRequest
impl Debug for ReceiveMessageRequest
Source§impl<'de> Deserialize<'de> for ReceiveMessageRequest
impl<'de> Deserialize<'de> for ReceiveMessageRequest
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 ReceiveMessageRequest
impl PartialEq for ReceiveMessageRequest
Source§impl Serialize for ReceiveMessageRequest
impl Serialize for ReceiveMessageRequest
impl StructuralPartialEq for ReceiveMessageRequest
Auto Trait Implementations§
impl Freeze for ReceiveMessageRequest
impl RefUnwindSafe for ReceiveMessageRequest
impl Send for ReceiveMessageRequest
impl Sync for ReceiveMessageRequest
impl Unpin for ReceiveMessageRequest
impl UnwindSafe for ReceiveMessageRequest
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