pub struct PostCreateRequest {Show 16 fields
pub account_ids: Vec<String>,
pub summary: Option<String>,
pub media: Vec<PostMediaSchema>,
pub status: Option<Value>,
pub schedule_date: Option<String>,
pub created_by: Option<String>,
pub follow_up_comment: Option<String>,
pub og_tags_details: Option<OgTagsSchema>,
pub type_: Option<Value>,
pub post_approval_details: Option<PostApprovalSchema>,
pub schedule_time_updated: Option<bool>,
pub tags: Vec<String>,
pub category_id: Option<String>,
pub tiktok_post_details: Option<TiktokPostSchema>,
pub gmb_post_details: Option<GMBPostSchema>,
pub user_id: Option<String>,
}social-planner only.Expand description
PostCreateRequest from the GoHighLevel OpenAPI spec.
Fields§
§account_ids: Vec<String>Account Ids
summary: Option<String>Post Content The limitations of content as per the platforms is provided through the reference link in API description
media: Vec<PostMediaSchema>Post Media Data The limitations of media as per the platforms is provided through the reference link in API description
status: Option<Value>Status must be one of the following values: in_progress, draft, failed, published, scheduled, in_review, notification_sent, deleted
schedule_date: Option<String>Schedule Date
created_by: Option<String>User ID of the creator who is creating/managing the post. Must be a valid MongoDB
ObjectId. Get User IDs from: Get User API — use the id field
from the user object. Validation: Must be a valid MongoDB ObjectId.
follow_up_comment: Option<String>Follow-up comment to be posted immediately after the main post is published. Supported Platforms: Facebook, Instagram, LinkedIn, YouTube NOT Supported: TikTok, Google My Business (GMB), Pinterest Use Case: Great for adding hashtags, additional context, or engagement prompts without cluttering the main post. - Follow-up comment is automatically trimmed to platform limits Reference: Platform Limitations Guide
Og Tags Meta Data
type_: Option<Value>Post Type must be one of the following values: - post, story, reel Required by the API. (Optional here so responses that omit it still parse.)
post_approval_details: Option<PostApprovalSchema>Post Approval Details
schedule_time_updated: Option<bool>if schedule datetime is updated
Array of Tag Value
category_id: Option<String>Category Id
tiktok_post_details: Option<TiktokPostSchema>Tiktok Post Details
gmb_post_details: Option<GMBPostSchema>GMB Post Details
user_id: Option<String>User ID
Trait Implementations§
Source§impl Clone for PostCreateRequest
impl Clone for PostCreateRequest
Source§fn clone(&self) -> PostCreateRequest
fn clone(&self) -> PostCreateRequest
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more