pub struct SendMessageResponseDto {
pub conversation_id: Option<String>,
pub email_message_id: Option<String>,
pub message_id: Option<String>,
pub message_ids: Vec<String>,
pub msg: Option<String>,
pub forward_data: Option<ForwardResponseDto>,
pub status: Option<String>,
}Available on crate feature
conversations only.Expand description
SendMessageResponseDto from the GoHighLevel OpenAPI spec.
Fields§
§conversation_id: Option<String>Conversation ID. Required by the API. (Optional here so responses that omit it still parse.)
email_message_id: Option<String>This contains the email message id (only for Email type). Use this ID to send inbound replies to GHL to create a threaded email.
message_id: Option<String>This is the main Message ID Required by the API. (Optional here so responses that omit it still parse.)
message_ids: Vec<String>When sending via the GMB channel, we will be returning list of messageIds instead of
single messageId.
msg: Option<String>Additional response message when sending a workflow message
forward_data: Option<ForwardResponseDto>Optional metadata for forwarded email
status: Option<String>Message status
Allowed values: delivered, failed, pending, read.
Required by the API.
(Optional here so responses that omit it still parse.)
Trait Implementations§
Source§impl Clone for SendMessageResponseDto
impl Clone for SendMessageResponseDto
Source§fn clone(&self) -> SendMessageResponseDto
fn clone(&self) -> SendMessageResponseDto
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SendMessageResponseDto
impl Debug for SendMessageResponseDto
Source§impl Default for SendMessageResponseDto
impl Default for SendMessageResponseDto
Source§fn default() -> SendMessageResponseDto
fn default() -> SendMessageResponseDto
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SendMessageResponseDto
impl<'de> Deserialize<'de> for SendMessageResponseDto
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
Auto Trait Implementations§
impl Freeze for SendMessageResponseDto
impl RefUnwindSafe for SendMessageResponseDto
impl Send for SendMessageResponseDto
impl Sync for SendMessageResponseDto
impl Unpin for SendMessageResponseDto
impl UnsafeUnpin for SendMessageResponseDto
impl UnwindSafe for SendMessageResponseDto
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