pub struct SendPrivateReplyToCommentRequest {
pub account_id: String,
pub message: String,
pub quick_replies: Option<Vec<SendPrivateReplyToCommentRequestQuickRepliesInner>>,
pub buttons: Option<Vec<SendPrivateReplyToCommentRequestButtonsInner>>,
}Fields§
§account_id: StringThe social account ID (Instagram or Facebook)
message: StringThe message text to send as a private DM
quick_replies: Option<Vec<SendPrivateReplyToCommentRequestQuickRepliesInner>>Optional quick-reply chips appended to the message. Visible only in the Instagram and Messenger apps (not on web). Maximum 13 entries. Mutually exclusive with buttons. Note: chips do NOT render in the Instagram Message Requests folder where DMs from non-followers land — use buttons instead for cold reach.
Optional 1-3 inline buttons rendered as part of the same message bubble via Meta’s button_template. Visible in the Instagram Message Requests folder (unlike quick replies). Mutually exclusive with quickReplies.
Implementations§
Source§impl SendPrivateReplyToCommentRequest
impl SendPrivateReplyToCommentRequest
pub fn new( account_id: String, message: String, ) -> SendPrivateReplyToCommentRequest
Trait Implementations§
Source§impl Clone for SendPrivateReplyToCommentRequest
impl Clone for SendPrivateReplyToCommentRequest
Source§fn clone(&self) -> SendPrivateReplyToCommentRequest
fn clone(&self) -> SendPrivateReplyToCommentRequest
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 Default for SendPrivateReplyToCommentRequest
impl Default for SendPrivateReplyToCommentRequest
Source§fn default() -> SendPrivateReplyToCommentRequest
fn default() -> SendPrivateReplyToCommentRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SendPrivateReplyToCommentRequest
impl<'de> Deserialize<'de> for SendPrivateReplyToCommentRequest
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 SendPrivateReplyToCommentRequest
impl PartialEq for SendPrivateReplyToCommentRequest
Source§fn eq(&self, other: &SendPrivateReplyToCommentRequest) -> bool
fn eq(&self, other: &SendPrivateReplyToCommentRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SendPrivateReplyToCommentRequest
Auto Trait Implementations§
impl Freeze for SendPrivateReplyToCommentRequest
impl RefUnwindSafe for SendPrivateReplyToCommentRequest
impl Send for SendPrivateReplyToCommentRequest
impl Sync for SendPrivateReplyToCommentRequest
impl Unpin for SendPrivateReplyToCommentRequest
impl UnsafeUnpin for SendPrivateReplyToCommentRequest
impl UnwindSafe for SendPrivateReplyToCommentRequest
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