pub struct CreateCalendarNotificationDTO {Show 15 fields
pub receiver_type: String,
pub channel: String,
pub notification_type: String,
pub is_active: Option<bool>,
pub template_id: Option<String>,
pub body: Option<String>,
pub subject: Option<String>,
pub after_time: Vec<SchedulesDTO>,
pub before_time: Vec<SchedulesDTO>,
pub additional_email_ids: Vec<String>,
pub additional_phone_numbers: Vec<String>,
pub selected_users: Vec<String>,
pub from_address: Option<String>,
pub from_name: Option<String>,
pub from_number: Option<String>,
}calendars only.Expand description
CreateCalendarNotificationDTO from the GoHighLevel OpenAPI spec.
Fields§
§receiver_type: Stringnotification recipient type
Allowed values: contact, guest, assignedUser, emails, phoneNumbers,
business.
Required by the API.
channel: StringNotification channel
Allowed values: email, inApp, sms, whatsapp.
Required by the API.
notification_type: StringNotification type
Allowed values: booked, confirmation, cancellation, reminder, followup,
reschedule.
Required by the API.
is_active: Option<bool>Is the notification active
template_id: Option<String>Template ID for email notification. Not necessary for in-App notification
body: Option<String>Body for email notification. Not necessary for in-App notification
subject: Option<String>Subject for email notification. Not necessary for in-App notification
after_time: Vec<SchedulesDTO>Specifies the time after which the follow-up notification should be sent. This is not required for other notification types.
before_time: Vec<SchedulesDTO>Specifies the time before which the reminder notification should be sent. This is not required for other notification types.
additional_email_ids: Vec<String>Additional email addresses to receive notifications.
additional_phone_numbers: Vec<String>Additional phone numbers to receive notifications.
selected_users: Vec<String>Selected users for in-App and business email notifications. Supports user IDs and special keyword “sub_account_admin”
from_address: Option<String>from address for email notification
from_name: Option<String>from name for email/sms notification
from_number: Option<String>from number for sms notification
Trait Implementations§
Source§impl Clone for CreateCalendarNotificationDTO
impl Clone for CreateCalendarNotificationDTO
Source§fn clone(&self) -> CreateCalendarNotificationDTO
fn clone(&self) -> CreateCalendarNotificationDTO
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more