Documentation
¶
Index ¶
- type CreateAPNSProviderOption
- type CreateAPNSProviderOptions
- type CreateApnsProviderOption
- type CreateApnsProviderOptions
- type CreateEmailOption
- type CreateEmailOptions
- type CreateFCMProviderOption
- type CreateFCMProviderOptions
- type CreateFcmProviderOption
- type CreateFcmProviderOptions
- type CreateMailgunProviderOption
- type CreateMailgunProviderOptions
- type CreateMsg91ProviderOption
- type CreateMsg91ProviderOptions
- type CreatePushOption
- type CreatePushOptions
- type CreateSMSOption
- type CreateSMSOptions
- type CreateSMTPProviderOption
- type CreateSMTPProviderOptions
- type CreateSendgridProviderOption
- type CreateSendgridProviderOptions
- type CreateSmsOption
- type CreateSmsOptions
- type CreateSmtpProviderOption
- type CreateSmtpProviderOptions
- type CreateTelesignProviderOption
- type CreateTelesignProviderOptions
- type CreateTextmagicProviderOption
- type CreateTextmagicProviderOptions
- type CreateTopicOption
- type CreateTopicOptions
- type CreateTwilioProviderOption
- type CreateTwilioProviderOptions
- type CreateVonageProviderOption
- type CreateVonageProviderOptions
- type ListMessageLogsOption
- type ListMessageLogsOptions
- type ListMessagesOption
- type ListMessagesOptions
- type ListProviderLogsOption
- type ListProviderLogsOptions
- type ListProvidersOption
- type ListProvidersOptions
- type ListSubscriberLogsOption
- type ListSubscriberLogsOptions
- type ListSubscribersOption
- type ListSubscribersOptions
- type ListTargetsOption
- type ListTargetsOptions
- type ListTopicLogsOption
- type ListTopicLogsOptions
- type ListTopicsOption
- type ListTopicsOptions
- type Messaging
- func (srv *Messaging) CreateAPNSProvider(ProviderId string, Name string, optionalSetters ...CreateAPNSProviderOption) (*models.Provider, error)
- func (srv *Messaging) CreateApnsProvider(ProviderId string, Name string, optionalSetters ...CreateApnsProviderOption) (*models.Provider, error)deprecated
- func (srv *Messaging) CreateEmail(MessageId string, Subject string, Content string, ...) (*models.Message, error)
- func (srv *Messaging) CreateFCMProvider(ProviderId string, Name string, optionalSetters ...CreateFCMProviderOption) (*models.Provider, error)
- func (srv *Messaging) CreateFcmProvider(ProviderId string, Name string, optionalSetters ...CreateFcmProviderOption) (*models.Provider, error)deprecated
- func (srv *Messaging) CreateMailgunProvider(ProviderId string, Name string, optionalSetters ...CreateMailgunProviderOption) (*models.Provider, error)
- func (srv *Messaging) CreateMsg91Provider(ProviderId string, Name string, optionalSetters ...CreateMsg91ProviderOption) (*models.Provider, error)
- func (srv *Messaging) CreatePush(MessageId string, optionalSetters ...CreatePushOption) (*models.Message, error)
- func (srv *Messaging) CreateSMS(MessageId string, Content string, optionalSetters ...CreateSMSOption) (*models.Message, error)
- func (srv *Messaging) CreateSMTPProvider(ProviderId string, Name string, Host string, ...) (*models.Provider, error)
- func (srv *Messaging) CreateSendgridProvider(ProviderId string, Name string, ...) (*models.Provider, error)
- func (srv *Messaging) CreateSms(MessageId string, Content string, optionalSetters ...CreateSmsOption) (*models.Message, error)deprecated
- func (srv *Messaging) CreateSmtpProvider(ProviderId string, Name string, Host string, ...) (*models.Provider, error)deprecated
- func (srv *Messaging) CreateSubscriber(TopicId string, SubscriberId string, TargetId string) (*models.Subscriber, error)
- func (srv *Messaging) CreateTelesignProvider(ProviderId string, Name string, ...) (*models.Provider, error)
- func (srv *Messaging) CreateTextmagicProvider(ProviderId string, Name string, ...) (*models.Provider, error)
- func (srv *Messaging) CreateTopic(TopicId string, Name string, optionalSetters ...CreateTopicOption) (*models.Topic, error)
- func (srv *Messaging) CreateTwilioProvider(ProviderId string, Name string, optionalSetters ...CreateTwilioProviderOption) (*models.Provider, error)
- func (srv *Messaging) CreateVonageProvider(ProviderId string, Name string, optionalSetters ...CreateVonageProviderOption) (*models.Provider, error)
- func (srv *Messaging) Delete(MessageId string) (*interface{}, error)
- func (srv *Messaging) DeleteProvider(ProviderId string) (*interface{}, error)
- func (srv *Messaging) DeleteSubscriber(TopicId string, SubscriberId string) (*interface{}, error)
- func (srv *Messaging) DeleteTopic(TopicId string) (*interface{}, error)
- func (srv *Messaging) GetMessage(MessageId string) (*models.Message, error)
- func (srv *Messaging) GetProvider(ProviderId string) (*models.Provider, error)
- func (srv *Messaging) GetSubscriber(TopicId string, SubscriberId string) (*models.Subscriber, error)
- func (srv *Messaging) GetTopic(TopicId string) (*models.Topic, error)
- func (srv *Messaging) ListMessageLogs(MessageId string, optionalSetters ...ListMessageLogsOption) (*models.LogList, error)
- func (srv *Messaging) ListMessages(optionalSetters ...ListMessagesOption) (*models.MessageList, error)
- func (srv *Messaging) ListProviderLogs(ProviderId string, optionalSetters ...ListProviderLogsOption) (*models.LogList, error)
- func (srv *Messaging) ListProviders(optionalSetters ...ListProvidersOption) (*models.ProviderList, error)
- func (srv *Messaging) ListSubscriberLogs(SubscriberId string, optionalSetters ...ListSubscriberLogsOption) (*models.LogList, error)
- func (srv *Messaging) ListSubscribers(TopicId string, optionalSetters ...ListSubscribersOption) (*models.SubscriberList, error)
- func (srv *Messaging) ListTargets(MessageId string, optionalSetters ...ListTargetsOption) (*models.TargetList, error)
- func (srv *Messaging) ListTopicLogs(TopicId string, optionalSetters ...ListTopicLogsOption) (*models.LogList, error)
- func (srv *Messaging) ListTopics(optionalSetters ...ListTopicsOption) (*models.TopicList, error)
- func (srv *Messaging) UpdateAPNSProvider(ProviderId string, optionalSetters ...UpdateAPNSProviderOption) (*models.Provider, error)
- func (srv *Messaging) UpdateApnsProvider(ProviderId string, optionalSetters ...UpdateApnsProviderOption) (*models.Provider, error)deprecated
- func (srv *Messaging) UpdateEmail(MessageId string, optionalSetters ...UpdateEmailOption) (*models.Message, error)
- func (srv *Messaging) UpdateFCMProvider(ProviderId string, optionalSetters ...UpdateFCMProviderOption) (*models.Provider, error)
- func (srv *Messaging) UpdateFcmProvider(ProviderId string, optionalSetters ...UpdateFcmProviderOption) (*models.Provider, error)deprecated
- func (srv *Messaging) UpdateMailgunProvider(ProviderId string, optionalSetters ...UpdateMailgunProviderOption) (*models.Provider, error)
- func (srv *Messaging) UpdateMsg91Provider(ProviderId string, optionalSetters ...UpdateMsg91ProviderOption) (*models.Provider, error)
- func (srv *Messaging) UpdatePush(MessageId string, optionalSetters ...UpdatePushOption) (*models.Message, error)
- func (srv *Messaging) UpdateSMS(MessageId string, optionalSetters ...UpdateSMSOption) (*models.Message, error)
- func (srv *Messaging) UpdateSMTPProvider(ProviderId string, optionalSetters ...UpdateSMTPProviderOption) (*models.Provider, error)
- func (srv *Messaging) UpdateSendgridProvider(ProviderId string, optionalSetters ...UpdateSendgridProviderOption) (*models.Provider, error)
- func (srv *Messaging) UpdateSms(MessageId string, optionalSetters ...UpdateSmsOption) (*models.Message, error)deprecated
- func (srv *Messaging) UpdateSmtpProvider(ProviderId string, optionalSetters ...UpdateSmtpProviderOption) (*models.Provider, error)deprecated
- func (srv *Messaging) UpdateTelesignProvider(ProviderId string, optionalSetters ...UpdateTelesignProviderOption) (*models.Provider, error)
- func (srv *Messaging) UpdateTextmagicProvider(ProviderId string, optionalSetters ...UpdateTextmagicProviderOption) (*models.Provider, error)
- func (srv *Messaging) UpdateTopic(TopicId string, optionalSetters ...UpdateTopicOption) (*models.Topic, error)
- func (srv *Messaging) UpdateTwilioProvider(ProviderId string, optionalSetters ...UpdateTwilioProviderOption) (*models.Provider, error)
- func (srv *Messaging) UpdateVonageProvider(ProviderId string, optionalSetters ...UpdateVonageProviderOption) (*models.Provider, error)
- func (srv *Messaging) WithCreateAPNSProviderAuthKey(v string) CreateAPNSProviderOption
- func (srv *Messaging) WithCreateAPNSProviderAuthKeyId(v string) CreateAPNSProviderOption
- func (srv *Messaging) WithCreateAPNSProviderBundleId(v string) CreateAPNSProviderOption
- func (srv *Messaging) WithCreateAPNSProviderEnabled(v bool) CreateAPNSProviderOption
- func (srv *Messaging) WithCreateAPNSProviderSandbox(v bool) CreateAPNSProviderOption
- func (srv *Messaging) WithCreateAPNSProviderTeamId(v string) CreateAPNSProviderOption
- func (srv *Messaging) WithCreateApnsProviderAuthKey(v string) CreateApnsProviderOption
- func (srv *Messaging) WithCreateApnsProviderAuthKeyId(v string) CreateApnsProviderOption
- func (srv *Messaging) WithCreateApnsProviderBundleId(v string) CreateApnsProviderOption
- func (srv *Messaging) WithCreateApnsProviderEnabled(v bool) CreateApnsProviderOption
- func (srv *Messaging) WithCreateApnsProviderSandbox(v bool) CreateApnsProviderOption
- func (srv *Messaging) WithCreateApnsProviderTeamId(v string) CreateApnsProviderOption
- func (srv *Messaging) WithCreateEmailAttachments(v []string) CreateEmailOption
- func (srv *Messaging) WithCreateEmailBcc(v []string) CreateEmailOption
- func (srv *Messaging) WithCreateEmailCc(v []string) CreateEmailOption
- func (srv *Messaging) WithCreateEmailDraft(v bool) CreateEmailOption
- func (srv *Messaging) WithCreateEmailHtml(v bool) CreateEmailOption
- func (srv *Messaging) WithCreateEmailScheduledAt(v string) CreateEmailOption
- func (srv *Messaging) WithCreateEmailTargets(v []string) CreateEmailOption
- func (srv *Messaging) WithCreateEmailTopics(v []string) CreateEmailOption
- func (srv *Messaging) WithCreateEmailUsers(v []string) CreateEmailOption
- func (srv *Messaging) WithCreateFCMProviderEnabled(v bool) CreateFCMProviderOption
- func (srv *Messaging) WithCreateFCMProviderServiceAccountJSON(v interface{}) CreateFCMProviderOption
- func (srv *Messaging) WithCreateFcmProviderEnabled(v bool) CreateFcmProviderOption
- func (srv *Messaging) WithCreateFcmProviderServiceAccountJSON(v interface{}) CreateFcmProviderOption
- func (srv *Messaging) WithCreateMailgunProviderApiKey(v string) CreateMailgunProviderOption
- func (srv *Messaging) WithCreateMailgunProviderDomain(v string) CreateMailgunProviderOption
- func (srv *Messaging) WithCreateMailgunProviderEnabled(v bool) CreateMailgunProviderOption
- func (srv *Messaging) WithCreateMailgunProviderFromEmail(v string) CreateMailgunProviderOption
- func (srv *Messaging) WithCreateMailgunProviderFromName(v string) CreateMailgunProviderOption
- func (srv *Messaging) WithCreateMailgunProviderIsEuRegion(v bool) CreateMailgunProviderOption
- func (srv *Messaging) WithCreateMailgunProviderReplyToEmail(v string) CreateMailgunProviderOption
- func (srv *Messaging) WithCreateMailgunProviderReplyToName(v string) CreateMailgunProviderOption
- func (srv *Messaging) WithCreateMsg91ProviderAuthKey(v string) CreateMsg91ProviderOption
- func (srv *Messaging) WithCreateMsg91ProviderEnabled(v bool) CreateMsg91ProviderOption
- func (srv *Messaging) WithCreateMsg91ProviderSenderId(v string) CreateMsg91ProviderOption
- func (srv *Messaging) WithCreateMsg91ProviderTemplateId(v string) CreateMsg91ProviderOption
- func (srv *Messaging) WithCreatePushAction(v string) CreatePushOption
- func (srv *Messaging) WithCreatePushBadge(v int) CreatePushOption
- func (srv *Messaging) WithCreatePushBody(v string) CreatePushOption
- func (srv *Messaging) WithCreatePushColor(v string) CreatePushOption
- func (srv *Messaging) WithCreatePushContentAvailable(v bool) CreatePushOption
- func (srv *Messaging) WithCreatePushCritical(v bool) CreatePushOption
- func (srv *Messaging) WithCreatePushData(v interface{}) CreatePushOption
- func (srv *Messaging) WithCreatePushDraft(v bool) CreatePushOption
- func (srv *Messaging) WithCreatePushIcon(v string) CreatePushOption
- func (srv *Messaging) WithCreatePushImage(v string) CreatePushOption
- func (srv *Messaging) WithCreatePushPriority(v string) CreatePushOption
- func (srv *Messaging) WithCreatePushScheduledAt(v string) CreatePushOption
- func (srv *Messaging) WithCreatePushSound(v string) CreatePushOption
- func (srv *Messaging) WithCreatePushTag(v string) CreatePushOption
- func (srv *Messaging) WithCreatePushTargets(v []string) CreatePushOption
- func (srv *Messaging) WithCreatePushTitle(v string) CreatePushOption
- func (srv *Messaging) WithCreatePushTopics(v []string) CreatePushOption
- func (srv *Messaging) WithCreatePushUsers(v []string) CreatePushOption
- func (srv *Messaging) WithCreateSMSDraft(v bool) CreateSMSOption
- func (srv *Messaging) WithCreateSMSScheduledAt(v string) CreateSMSOption
- func (srv *Messaging) WithCreateSMSTargets(v []string) CreateSMSOption
- func (srv *Messaging) WithCreateSMSTopics(v []string) CreateSMSOption
- func (srv *Messaging) WithCreateSMSUsers(v []string) CreateSMSOption
- func (srv *Messaging) WithCreateSMTPProviderAutoTLS(v bool) CreateSMTPProviderOption
- func (srv *Messaging) WithCreateSMTPProviderEnabled(v bool) CreateSMTPProviderOption
- func (srv *Messaging) WithCreateSMTPProviderEncryption(v string) CreateSMTPProviderOption
- func (srv *Messaging) WithCreateSMTPProviderFromEmail(v string) CreateSMTPProviderOption
- func (srv *Messaging) WithCreateSMTPProviderFromName(v string) CreateSMTPProviderOption
- func (srv *Messaging) WithCreateSMTPProviderMailer(v string) CreateSMTPProviderOption
- func (srv *Messaging) WithCreateSMTPProviderPassword(v string) CreateSMTPProviderOption
- func (srv *Messaging) WithCreateSMTPProviderPort(v int) CreateSMTPProviderOption
- func (srv *Messaging) WithCreateSMTPProviderReplyToEmail(v string) CreateSMTPProviderOption
- func (srv *Messaging) WithCreateSMTPProviderReplyToName(v string) CreateSMTPProviderOption
- func (srv *Messaging) WithCreateSMTPProviderUsername(v string) CreateSMTPProviderOption
- func (srv *Messaging) WithCreateSendgridProviderApiKey(v string) CreateSendgridProviderOption
- func (srv *Messaging) WithCreateSendgridProviderEnabled(v bool) CreateSendgridProviderOption
- func (srv *Messaging) WithCreateSendgridProviderFromEmail(v string) CreateSendgridProviderOption
- func (srv *Messaging) WithCreateSendgridProviderFromName(v string) CreateSendgridProviderOption
- func (srv *Messaging) WithCreateSendgridProviderReplyToEmail(v string) CreateSendgridProviderOption
- func (srv *Messaging) WithCreateSendgridProviderReplyToName(v string) CreateSendgridProviderOption
- func (srv *Messaging) WithCreateSmsDraft(v bool) CreateSmsOption
- func (srv *Messaging) WithCreateSmsScheduledAt(v string) CreateSmsOption
- func (srv *Messaging) WithCreateSmsTargets(v []string) CreateSmsOption
- func (srv *Messaging) WithCreateSmsTopics(v []string) CreateSmsOption
- func (srv *Messaging) WithCreateSmsUsers(v []string) CreateSmsOption
- func (srv *Messaging) WithCreateSmtpProviderAutoTLS(v bool) CreateSmtpProviderOption
- func (srv *Messaging) WithCreateSmtpProviderEnabled(v bool) CreateSmtpProviderOption
- func (srv *Messaging) WithCreateSmtpProviderEncryption(v string) CreateSmtpProviderOption
- func (srv *Messaging) WithCreateSmtpProviderFromEmail(v string) CreateSmtpProviderOption
- func (srv *Messaging) WithCreateSmtpProviderFromName(v string) CreateSmtpProviderOption
- func (srv *Messaging) WithCreateSmtpProviderMailer(v string) CreateSmtpProviderOption
- func (srv *Messaging) WithCreateSmtpProviderPassword(v string) CreateSmtpProviderOption
- func (srv *Messaging) WithCreateSmtpProviderPort(v int) CreateSmtpProviderOption
- func (srv *Messaging) WithCreateSmtpProviderReplyToEmail(v string) CreateSmtpProviderOption
- func (srv *Messaging) WithCreateSmtpProviderReplyToName(v string) CreateSmtpProviderOption
- func (srv *Messaging) WithCreateSmtpProviderUsername(v string) CreateSmtpProviderOption
- func (srv *Messaging) WithCreateTelesignProviderApiKey(v string) CreateTelesignProviderOption
- func (srv *Messaging) WithCreateTelesignProviderCustomerId(v string) CreateTelesignProviderOption
- func (srv *Messaging) WithCreateTelesignProviderEnabled(v bool) CreateTelesignProviderOption
- func (srv *Messaging) WithCreateTelesignProviderFrom(v string) CreateTelesignProviderOption
- func (srv *Messaging) WithCreateTextmagicProviderApiKey(v string) CreateTextmagicProviderOption
- func (srv *Messaging) WithCreateTextmagicProviderEnabled(v bool) CreateTextmagicProviderOption
- func (srv *Messaging) WithCreateTextmagicProviderFrom(v string) CreateTextmagicProviderOption
- func (srv *Messaging) WithCreateTextmagicProviderUsername(v string) CreateTextmagicProviderOption
- func (srv *Messaging) WithCreateTopicSubscribe(v []string) CreateTopicOption
- func (srv *Messaging) WithCreateTwilioProviderAccountSid(v string) CreateTwilioProviderOption
- func (srv *Messaging) WithCreateTwilioProviderAuthToken(v string) CreateTwilioProviderOption
- func (srv *Messaging) WithCreateTwilioProviderEnabled(v bool) CreateTwilioProviderOption
- func (srv *Messaging) WithCreateTwilioProviderFrom(v string) CreateTwilioProviderOption
- func (srv *Messaging) WithCreateVonageProviderApiKey(v string) CreateVonageProviderOption
- func (srv *Messaging) WithCreateVonageProviderApiSecret(v string) CreateVonageProviderOption
- func (srv *Messaging) WithCreateVonageProviderEnabled(v bool) CreateVonageProviderOption
- func (srv *Messaging) WithCreateVonageProviderFrom(v string) CreateVonageProviderOption
- func (srv *Messaging) WithListMessageLogsQueries(v []string) ListMessageLogsOption
- func (srv *Messaging) WithListMessagesQueries(v []string) ListMessagesOption
- func (srv *Messaging) WithListMessagesSearch(v string) ListMessagesOption
- func (srv *Messaging) WithListProviderLogsQueries(v []string) ListProviderLogsOption
- func (srv *Messaging) WithListProvidersQueries(v []string) ListProvidersOption
- func (srv *Messaging) WithListProvidersSearch(v string) ListProvidersOption
- func (srv *Messaging) WithListSubscriberLogsQueries(v []string) ListSubscriberLogsOption
- func (srv *Messaging) WithListSubscribersQueries(v []string) ListSubscribersOption
- func (srv *Messaging) WithListSubscribersSearch(v string) ListSubscribersOption
- func (srv *Messaging) WithListTargetsQueries(v []string) ListTargetsOption
- func (srv *Messaging) WithListTopicLogsQueries(v []string) ListTopicLogsOption
- func (srv *Messaging) WithListTopicsQueries(v []string) ListTopicsOption
- func (srv *Messaging) WithListTopicsSearch(v string) ListTopicsOption
- func (srv *Messaging) WithUpdateAPNSProviderAuthKey(v string) UpdateAPNSProviderOption
- func (srv *Messaging) WithUpdateAPNSProviderAuthKeyId(v string) UpdateAPNSProviderOption
- func (srv *Messaging) WithUpdateAPNSProviderBundleId(v string) UpdateAPNSProviderOption
- func (srv *Messaging) WithUpdateAPNSProviderEnabled(v bool) UpdateAPNSProviderOption
- func (srv *Messaging) WithUpdateAPNSProviderName(v string) UpdateAPNSProviderOption
- func (srv *Messaging) WithUpdateAPNSProviderSandbox(v bool) UpdateAPNSProviderOption
- func (srv *Messaging) WithUpdateAPNSProviderTeamId(v string) UpdateAPNSProviderOption
- func (srv *Messaging) WithUpdateApnsProviderAuthKey(v string) UpdateApnsProviderOption
- func (srv *Messaging) WithUpdateApnsProviderAuthKeyId(v string) UpdateApnsProviderOption
- func (srv *Messaging) WithUpdateApnsProviderBundleId(v string) UpdateApnsProviderOption
- func (srv *Messaging) WithUpdateApnsProviderEnabled(v bool) UpdateApnsProviderOption
- func (srv *Messaging) WithUpdateApnsProviderName(v string) UpdateApnsProviderOption
- func (srv *Messaging) WithUpdateApnsProviderSandbox(v bool) UpdateApnsProviderOption
- func (srv *Messaging) WithUpdateApnsProviderTeamId(v string) UpdateApnsProviderOption
- func (srv *Messaging) WithUpdateEmailAttachments(v []string) UpdateEmailOption
- func (srv *Messaging) WithUpdateEmailBcc(v []string) UpdateEmailOption
- func (srv *Messaging) WithUpdateEmailCc(v []string) UpdateEmailOption
- func (srv *Messaging) WithUpdateEmailContent(v string) UpdateEmailOption
- func (srv *Messaging) WithUpdateEmailDraft(v bool) UpdateEmailOption
- func (srv *Messaging) WithUpdateEmailHtml(v bool) UpdateEmailOption
- func (srv *Messaging) WithUpdateEmailScheduledAt(v string) UpdateEmailOption
- func (srv *Messaging) WithUpdateEmailSubject(v string) UpdateEmailOption
- func (srv *Messaging) WithUpdateEmailTargets(v []string) UpdateEmailOption
- func (srv *Messaging) WithUpdateEmailTopics(v []string) UpdateEmailOption
- func (srv *Messaging) WithUpdateEmailUsers(v []string) UpdateEmailOption
- func (srv *Messaging) WithUpdateFCMProviderEnabled(v bool) UpdateFCMProviderOption
- func (srv *Messaging) WithUpdateFCMProviderName(v string) UpdateFCMProviderOption
- func (srv *Messaging) WithUpdateFCMProviderServiceAccountJSON(v interface{}) UpdateFCMProviderOption
- func (srv *Messaging) WithUpdateFcmProviderEnabled(v bool) UpdateFcmProviderOption
- func (srv *Messaging) WithUpdateFcmProviderName(v string) UpdateFcmProviderOption
- func (srv *Messaging) WithUpdateFcmProviderServiceAccountJSON(v interface{}) UpdateFcmProviderOption
- func (srv *Messaging) WithUpdateMailgunProviderApiKey(v string) UpdateMailgunProviderOption
- func (srv *Messaging) WithUpdateMailgunProviderDomain(v string) UpdateMailgunProviderOption
- func (srv *Messaging) WithUpdateMailgunProviderEnabled(v bool) UpdateMailgunProviderOption
- func (srv *Messaging) WithUpdateMailgunProviderFromEmail(v string) UpdateMailgunProviderOption
- func (srv *Messaging) WithUpdateMailgunProviderFromName(v string) UpdateMailgunProviderOption
- func (srv *Messaging) WithUpdateMailgunProviderIsEuRegion(v bool) UpdateMailgunProviderOption
- func (srv *Messaging) WithUpdateMailgunProviderName(v string) UpdateMailgunProviderOption
- func (srv *Messaging) WithUpdateMailgunProviderReplyToEmail(v string) UpdateMailgunProviderOption
- func (srv *Messaging) WithUpdateMailgunProviderReplyToName(v string) UpdateMailgunProviderOption
- func (srv *Messaging) WithUpdateMsg91ProviderAuthKey(v string) UpdateMsg91ProviderOption
- func (srv *Messaging) WithUpdateMsg91ProviderEnabled(v bool) UpdateMsg91ProviderOption
- func (srv *Messaging) WithUpdateMsg91ProviderName(v string) UpdateMsg91ProviderOption
- func (srv *Messaging) WithUpdateMsg91ProviderSenderId(v string) UpdateMsg91ProviderOption
- func (srv *Messaging) WithUpdateMsg91ProviderTemplateId(v string) UpdateMsg91ProviderOption
- func (srv *Messaging) WithUpdatePushAction(v string) UpdatePushOption
- func (srv *Messaging) WithUpdatePushBadge(v int) UpdatePushOption
- func (srv *Messaging) WithUpdatePushBody(v string) UpdatePushOption
- func (srv *Messaging) WithUpdatePushColor(v string) UpdatePushOption
- func (srv *Messaging) WithUpdatePushContentAvailable(v bool) UpdatePushOption
- func (srv *Messaging) WithUpdatePushCritical(v bool) UpdatePushOption
- func (srv *Messaging) WithUpdatePushData(v interface{}) UpdatePushOption
- func (srv *Messaging) WithUpdatePushDraft(v bool) UpdatePushOption
- func (srv *Messaging) WithUpdatePushIcon(v string) UpdatePushOption
- func (srv *Messaging) WithUpdatePushImage(v string) UpdatePushOption
- func (srv *Messaging) WithUpdatePushPriority(v string) UpdatePushOption
- func (srv *Messaging) WithUpdatePushScheduledAt(v string) UpdatePushOption
- func (srv *Messaging) WithUpdatePushSound(v string) UpdatePushOption
- func (srv *Messaging) WithUpdatePushTag(v string) UpdatePushOption
- func (srv *Messaging) WithUpdatePushTargets(v []string) UpdatePushOption
- func (srv *Messaging) WithUpdatePushTitle(v string) UpdatePushOption
- func (srv *Messaging) WithUpdatePushTopics(v []string) UpdatePushOption
- func (srv *Messaging) WithUpdatePushUsers(v []string) UpdatePushOption
- func (srv *Messaging) WithUpdateSMSContent(v string) UpdateSMSOption
- func (srv *Messaging) WithUpdateSMSDraft(v bool) UpdateSMSOption
- func (srv *Messaging) WithUpdateSMSScheduledAt(v string) UpdateSMSOption
- func (srv *Messaging) WithUpdateSMSTargets(v []string) UpdateSMSOption
- func (srv *Messaging) WithUpdateSMSTopics(v []string) UpdateSMSOption
- func (srv *Messaging) WithUpdateSMSUsers(v []string) UpdateSMSOption
- func (srv *Messaging) WithUpdateSMTPProviderAutoTLS(v bool) UpdateSMTPProviderOption
- func (srv *Messaging) WithUpdateSMTPProviderEnabled(v bool) UpdateSMTPProviderOption
- func (srv *Messaging) WithUpdateSMTPProviderEncryption(v string) UpdateSMTPProviderOption
- func (srv *Messaging) WithUpdateSMTPProviderFromEmail(v string) UpdateSMTPProviderOption
- func (srv *Messaging) WithUpdateSMTPProviderFromName(v string) UpdateSMTPProviderOption
- func (srv *Messaging) WithUpdateSMTPProviderHost(v string) UpdateSMTPProviderOption
- func (srv *Messaging) WithUpdateSMTPProviderMailer(v string) UpdateSMTPProviderOption
- func (srv *Messaging) WithUpdateSMTPProviderName(v string) UpdateSMTPProviderOption
- func (srv *Messaging) WithUpdateSMTPProviderPassword(v string) UpdateSMTPProviderOption
- func (srv *Messaging) WithUpdateSMTPProviderPort(v int) UpdateSMTPProviderOption
- func (srv *Messaging) WithUpdateSMTPProviderReplyToEmail(v string) UpdateSMTPProviderOption
- func (srv *Messaging) WithUpdateSMTPProviderReplyToName(v string) UpdateSMTPProviderOption
- func (srv *Messaging) WithUpdateSMTPProviderUsername(v string) UpdateSMTPProviderOption
- func (srv *Messaging) WithUpdateSendgridProviderApiKey(v string) UpdateSendgridProviderOption
- func (srv *Messaging) WithUpdateSendgridProviderEnabled(v bool) UpdateSendgridProviderOption
- func (srv *Messaging) WithUpdateSendgridProviderFromEmail(v string) UpdateSendgridProviderOption
- func (srv *Messaging) WithUpdateSendgridProviderFromName(v string) UpdateSendgridProviderOption
- func (srv *Messaging) WithUpdateSendgridProviderName(v string) UpdateSendgridProviderOption
- func (srv *Messaging) WithUpdateSendgridProviderReplyToEmail(v string) UpdateSendgridProviderOption
- func (srv *Messaging) WithUpdateSendgridProviderReplyToName(v string) UpdateSendgridProviderOption
- func (srv *Messaging) WithUpdateSmsContent(v string) UpdateSmsOption
- func (srv *Messaging) WithUpdateSmsDraft(v bool) UpdateSmsOption
- func (srv *Messaging) WithUpdateSmsScheduledAt(v string) UpdateSmsOption
- func (srv *Messaging) WithUpdateSmsTargets(v []string) UpdateSmsOption
- func (srv *Messaging) WithUpdateSmsTopics(v []string) UpdateSmsOption
- func (srv *Messaging) WithUpdateSmsUsers(v []string) UpdateSmsOption
- func (srv *Messaging) WithUpdateSmtpProviderAutoTLS(v bool) UpdateSmtpProviderOption
- func (srv *Messaging) WithUpdateSmtpProviderEnabled(v bool) UpdateSmtpProviderOption
- func (srv *Messaging) WithUpdateSmtpProviderEncryption(v string) UpdateSmtpProviderOption
- func (srv *Messaging) WithUpdateSmtpProviderFromEmail(v string) UpdateSmtpProviderOption
- func (srv *Messaging) WithUpdateSmtpProviderFromName(v string) UpdateSmtpProviderOption
- func (srv *Messaging) WithUpdateSmtpProviderHost(v string) UpdateSmtpProviderOption
- func (srv *Messaging) WithUpdateSmtpProviderMailer(v string) UpdateSmtpProviderOption
- func (srv *Messaging) WithUpdateSmtpProviderName(v string) UpdateSmtpProviderOption
- func (srv *Messaging) WithUpdateSmtpProviderPassword(v string) UpdateSmtpProviderOption
- func (srv *Messaging) WithUpdateSmtpProviderPort(v int) UpdateSmtpProviderOption
- func (srv *Messaging) WithUpdateSmtpProviderReplyToEmail(v string) UpdateSmtpProviderOption
- func (srv *Messaging) WithUpdateSmtpProviderReplyToName(v string) UpdateSmtpProviderOption
- func (srv *Messaging) WithUpdateSmtpProviderUsername(v string) UpdateSmtpProviderOption
- func (srv *Messaging) WithUpdateTelesignProviderApiKey(v string) UpdateTelesignProviderOption
- func (srv *Messaging) WithUpdateTelesignProviderCustomerId(v string) UpdateTelesignProviderOption
- func (srv *Messaging) WithUpdateTelesignProviderEnabled(v bool) UpdateTelesignProviderOption
- func (srv *Messaging) WithUpdateTelesignProviderFrom(v string) UpdateTelesignProviderOption
- func (srv *Messaging) WithUpdateTelesignProviderName(v string) UpdateTelesignProviderOption
- func (srv *Messaging) WithUpdateTextmagicProviderApiKey(v string) UpdateTextmagicProviderOption
- func (srv *Messaging) WithUpdateTextmagicProviderEnabled(v bool) UpdateTextmagicProviderOption
- func (srv *Messaging) WithUpdateTextmagicProviderFrom(v string) UpdateTextmagicProviderOption
- func (srv *Messaging) WithUpdateTextmagicProviderName(v string) UpdateTextmagicProviderOption
- func (srv *Messaging) WithUpdateTextmagicProviderUsername(v string) UpdateTextmagicProviderOption
- func (srv *Messaging) WithUpdateTopicName(v string) UpdateTopicOption
- func (srv *Messaging) WithUpdateTopicSubscribe(v []string) UpdateTopicOption
- func (srv *Messaging) WithUpdateTwilioProviderAccountSid(v string) UpdateTwilioProviderOption
- func (srv *Messaging) WithUpdateTwilioProviderAuthToken(v string) UpdateTwilioProviderOption
- func (srv *Messaging) WithUpdateTwilioProviderEnabled(v bool) UpdateTwilioProviderOption
- func (srv *Messaging) WithUpdateTwilioProviderFrom(v string) UpdateTwilioProviderOption
- func (srv *Messaging) WithUpdateTwilioProviderName(v string) UpdateTwilioProviderOption
- func (srv *Messaging) WithUpdateVonageProviderApiKey(v string) UpdateVonageProviderOption
- func (srv *Messaging) WithUpdateVonageProviderApiSecret(v string) UpdateVonageProviderOption
- func (srv *Messaging) WithUpdateVonageProviderEnabled(v bool) UpdateVonageProviderOption
- func (srv *Messaging) WithUpdateVonageProviderFrom(v string) UpdateVonageProviderOption
- func (srv *Messaging) WithUpdateVonageProviderName(v string) UpdateVonageProviderOption
- type UpdateAPNSProviderOption
- type UpdateAPNSProviderOptions
- type UpdateApnsProviderOption
- type UpdateApnsProviderOptions
- type UpdateEmailOption
- type UpdateEmailOptions
- type UpdateFCMProviderOption
- type UpdateFCMProviderOptions
- type UpdateFcmProviderOption
- type UpdateFcmProviderOptions
- type UpdateMailgunProviderOption
- type UpdateMailgunProviderOptions
- type UpdateMsg91ProviderOption
- type UpdateMsg91ProviderOptions
- type UpdatePushOption
- type UpdatePushOptions
- type UpdateSMSOption
- type UpdateSMSOptions
- type UpdateSMTPProviderOption
- type UpdateSMTPProviderOptions
- type UpdateSendgridProviderOption
- type UpdateSendgridProviderOptions
- type UpdateSmsOption
- type UpdateSmsOptions
- type UpdateSmtpProviderOption
- type UpdateSmtpProviderOptions
- type UpdateTelesignProviderOption
- type UpdateTelesignProviderOptions
- type UpdateTextmagicProviderOption
- type UpdateTextmagicProviderOptions
- type UpdateTopicOption
- type UpdateTopicOptions
- type UpdateTwilioProviderOption
- type UpdateTwilioProviderOptions
- type UpdateVonageProviderOption
- type UpdateVonageProviderOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateAPNSProviderOption ¶ added in v0.10.0
type CreateAPNSProviderOption func(*CreateAPNSProviderOptions)
type CreateAPNSProviderOptions ¶ added in v0.10.0
type CreateAPNSProviderOptions struct { AuthKey string AuthKeyId string TeamId string BundleId string Sandbox bool Enabled bool // contains filtered or unexported fields }
func (CreateAPNSProviderOptions) New ¶ added in v0.10.0
func (options CreateAPNSProviderOptions) New() *CreateAPNSProviderOptions
type CreateApnsProviderOption ¶
type CreateApnsProviderOption func(*CreateApnsProviderOptions)
type CreateApnsProviderOptions ¶
type CreateApnsProviderOptions struct { AuthKey string AuthKeyId string TeamId string BundleId string Sandbox bool Enabled bool // contains filtered or unexported fields }
func (CreateApnsProviderOptions) New ¶
func (options CreateApnsProviderOptions) New() *CreateApnsProviderOptions
type CreateEmailOption ¶
type CreateEmailOption func(*CreateEmailOptions)
type CreateEmailOptions ¶
type CreateEmailOptions struct { Topics []string Users []string Targets []string Cc []string Bcc []string Attachments []string Draft bool Html bool ScheduledAt string // contains filtered or unexported fields }
func (CreateEmailOptions) New ¶
func (options CreateEmailOptions) New() *CreateEmailOptions
type CreateFCMProviderOption ¶ added in v0.10.0
type CreateFCMProviderOption func(*CreateFCMProviderOptions)
type CreateFCMProviderOptions ¶ added in v0.10.0
type CreateFCMProviderOptions struct { ServiceAccountJSON interface{} Enabled bool // contains filtered or unexported fields }
func (CreateFCMProviderOptions) New ¶ added in v0.10.0
func (options CreateFCMProviderOptions) New() *CreateFCMProviderOptions
type CreateFcmProviderOption ¶
type CreateFcmProviderOption func(*CreateFcmProviderOptions)
type CreateFcmProviderOptions ¶
type CreateFcmProviderOptions struct { ServiceAccountJSON interface{} Enabled bool // contains filtered or unexported fields }
func (CreateFcmProviderOptions) New ¶
func (options CreateFcmProviderOptions) New() *CreateFcmProviderOptions
type CreateMailgunProviderOption ¶
type CreateMailgunProviderOption func(*CreateMailgunProviderOptions)
type CreateMailgunProviderOptions ¶
type CreateMailgunProviderOptions struct { ApiKey string Domain string IsEuRegion bool FromName string FromEmail string ReplyToName string ReplyToEmail string Enabled bool // contains filtered or unexported fields }
func (CreateMailgunProviderOptions) New ¶
func (options CreateMailgunProviderOptions) New() *CreateMailgunProviderOptions
type CreateMsg91ProviderOption ¶
type CreateMsg91ProviderOption func(*CreateMsg91ProviderOptions)
type CreateMsg91ProviderOptions ¶
type CreateMsg91ProviderOptions struct { TemplateId string SenderId string AuthKey string Enabled bool // contains filtered or unexported fields }
func (CreateMsg91ProviderOptions) New ¶
func (options CreateMsg91ProviderOptions) New() *CreateMsg91ProviderOptions
type CreatePushOption ¶
type CreatePushOption func(*CreatePushOptions)
type CreatePushOptions ¶
type CreatePushOptions struct { Title string Body string Topics []string Users []string Targets []string Data interface{} Action string Image string Icon string Sound string Color string Tag string Badge int Draft bool ScheduledAt string ContentAvailable bool Critical bool Priority string // contains filtered or unexported fields }
func (CreatePushOptions) New ¶
func (options CreatePushOptions) New() *CreatePushOptions
type CreateSMSOption ¶ added in v0.10.0
type CreateSMSOption func(*CreateSMSOptions)
type CreateSMSOptions ¶ added in v0.10.0
type CreateSMSOptions struct { Topics []string Users []string Targets []string Draft bool ScheduledAt string // contains filtered or unexported fields }
func (CreateSMSOptions) New ¶ added in v0.10.0
func (options CreateSMSOptions) New() *CreateSMSOptions
type CreateSMTPProviderOption ¶ added in v0.10.0
type CreateSMTPProviderOption func(*CreateSMTPProviderOptions)
type CreateSMTPProviderOptions ¶ added in v0.10.0
type CreateSMTPProviderOptions struct { Port int Username string Password string Encryption string AutoTLS bool Mailer string FromName string FromEmail string ReplyToName string ReplyToEmail string Enabled bool // contains filtered or unexported fields }
func (CreateSMTPProviderOptions) New ¶ added in v0.10.0
func (options CreateSMTPProviderOptions) New() *CreateSMTPProviderOptions
type CreateSendgridProviderOption ¶
type CreateSendgridProviderOption func(*CreateSendgridProviderOptions)
type CreateSendgridProviderOptions ¶
type CreateSendgridProviderOptions struct { ApiKey string FromName string FromEmail string ReplyToName string ReplyToEmail string Enabled bool // contains filtered or unexported fields }
func (CreateSendgridProviderOptions) New ¶
func (options CreateSendgridProviderOptions) New() *CreateSendgridProviderOptions
type CreateSmsOption ¶
type CreateSmsOption func(*CreateSmsOptions)
type CreateSmsOptions ¶
type CreateSmsOptions struct { Topics []string Users []string Targets []string Draft bool ScheduledAt string // contains filtered or unexported fields }
func (CreateSmsOptions) New ¶
func (options CreateSmsOptions) New() *CreateSmsOptions
type CreateSmtpProviderOption ¶
type CreateSmtpProviderOption func(*CreateSmtpProviderOptions)
type CreateSmtpProviderOptions ¶
type CreateSmtpProviderOptions struct { Port int Username string Password string Encryption string AutoTLS bool Mailer string FromName string FromEmail string ReplyToName string ReplyToEmail string Enabled bool // contains filtered or unexported fields }
func (CreateSmtpProviderOptions) New ¶
func (options CreateSmtpProviderOptions) New() *CreateSmtpProviderOptions
type CreateTelesignProviderOption ¶
type CreateTelesignProviderOption func(*CreateTelesignProviderOptions)
type CreateTelesignProviderOptions ¶
type CreateTelesignProviderOptions struct { From string CustomerId string ApiKey string Enabled bool // contains filtered or unexported fields }
func (CreateTelesignProviderOptions) New ¶
func (options CreateTelesignProviderOptions) New() *CreateTelesignProviderOptions
type CreateTextmagicProviderOption ¶
type CreateTextmagicProviderOption func(*CreateTextmagicProviderOptions)
type CreateTextmagicProviderOptions ¶
type CreateTextmagicProviderOptions struct { From string Username string ApiKey string Enabled bool // contains filtered or unexported fields }
func (CreateTextmagicProviderOptions) New ¶
func (options CreateTextmagicProviderOptions) New() *CreateTextmagicProviderOptions
type CreateTopicOption ¶
type CreateTopicOption func(*CreateTopicOptions)
type CreateTopicOptions ¶
type CreateTopicOptions struct { Subscribe []string // contains filtered or unexported fields }
func (CreateTopicOptions) New ¶
func (options CreateTopicOptions) New() *CreateTopicOptions
type CreateTwilioProviderOption ¶
type CreateTwilioProviderOption func(*CreateTwilioProviderOptions)
type CreateTwilioProviderOptions ¶
type CreateTwilioProviderOptions struct { From string AccountSid string AuthToken string Enabled bool // contains filtered or unexported fields }
func (CreateTwilioProviderOptions) New ¶
func (options CreateTwilioProviderOptions) New() *CreateTwilioProviderOptions
type CreateVonageProviderOption ¶
type CreateVonageProviderOption func(*CreateVonageProviderOptions)
type CreateVonageProviderOptions ¶
type CreateVonageProviderOptions struct { From string ApiKey string ApiSecret string Enabled bool // contains filtered or unexported fields }
func (CreateVonageProviderOptions) New ¶
func (options CreateVonageProviderOptions) New() *CreateVonageProviderOptions
type ListMessageLogsOption ¶
type ListMessageLogsOption func(*ListMessageLogsOptions)
type ListMessageLogsOptions ¶
type ListMessageLogsOptions struct { Queries []string // contains filtered or unexported fields }
func (ListMessageLogsOptions) New ¶
func (options ListMessageLogsOptions) New() *ListMessageLogsOptions
type ListMessagesOption ¶
type ListMessagesOption func(*ListMessagesOptions)
type ListMessagesOptions ¶
type ListMessagesOptions struct { Queries []string Search string // contains filtered or unexported fields }
func (ListMessagesOptions) New ¶
func (options ListMessagesOptions) New() *ListMessagesOptions
type ListProviderLogsOption ¶
type ListProviderLogsOption func(*ListProviderLogsOptions)
type ListProviderLogsOptions ¶
type ListProviderLogsOptions struct { Queries []string // contains filtered or unexported fields }
func (ListProviderLogsOptions) New ¶
func (options ListProviderLogsOptions) New() *ListProviderLogsOptions
type ListProvidersOption ¶
type ListProvidersOption func(*ListProvidersOptions)
type ListProvidersOptions ¶
type ListProvidersOptions struct { Queries []string Search string // contains filtered or unexported fields }
func (ListProvidersOptions) New ¶
func (options ListProvidersOptions) New() *ListProvidersOptions
type ListSubscriberLogsOption ¶
type ListSubscriberLogsOption func(*ListSubscriberLogsOptions)
type ListSubscriberLogsOptions ¶
type ListSubscriberLogsOptions struct { Queries []string // contains filtered or unexported fields }
func (ListSubscriberLogsOptions) New ¶
func (options ListSubscriberLogsOptions) New() *ListSubscriberLogsOptions
type ListSubscribersOption ¶
type ListSubscribersOption func(*ListSubscribersOptions)
type ListSubscribersOptions ¶
type ListSubscribersOptions struct { Queries []string Search string // contains filtered or unexported fields }
func (ListSubscribersOptions) New ¶
func (options ListSubscribersOptions) New() *ListSubscribersOptions
type ListTargetsOption ¶
type ListTargetsOption func(*ListTargetsOptions)
type ListTargetsOptions ¶
type ListTargetsOptions struct { Queries []string // contains filtered or unexported fields }
func (ListTargetsOptions) New ¶
func (options ListTargetsOptions) New() *ListTargetsOptions
type ListTopicLogsOption ¶
type ListTopicLogsOption func(*ListTopicLogsOptions)
type ListTopicLogsOptions ¶
type ListTopicLogsOptions struct { Queries []string // contains filtered or unexported fields }
func (ListTopicLogsOptions) New ¶
func (options ListTopicLogsOptions) New() *ListTopicLogsOptions
type ListTopicsOption ¶
type ListTopicsOption func(*ListTopicsOptions)
type ListTopicsOptions ¶
type ListTopicsOptions struct { Queries []string Search string // contains filtered or unexported fields }
func (ListTopicsOptions) New ¶
func (options ListTopicsOptions) New() *ListTopicsOptions
type Messaging ¶
type Messaging struct {
// contains filtered or unexported fields
}
Messaging service
func (*Messaging) CreateAPNSProvider ¶ added in v0.10.0
func (srv *Messaging) CreateAPNSProvider(ProviderId string, Name string, optionalSetters ...CreateAPNSProviderOption) (*models.Provider, error)
CreateAPNSProvider create a new Apple Push Notification service provider.
func (*Messaging) CreateApnsProvider
deprecated
func (srv *Messaging) CreateApnsProvider(ProviderId string, Name string, optionalSetters ...CreateApnsProviderOption) (*models.Provider, error)
CreateApnsProvider create a new Apple Push Notification service provider.
Deprecated: This API has been deprecated since 1.8.0. Please use `Messaging.createAPNSProvider` instead.
func (*Messaging) CreateEmail ¶
func (srv *Messaging) CreateEmail(MessageId string, Subject string, Content string, optionalSetters ...CreateEmailOption) (*models.Message, error)
CreateEmail create a new email message.
func (*Messaging) CreateFCMProvider ¶ added in v0.10.0
func (srv *Messaging) CreateFCMProvider(ProviderId string, Name string, optionalSetters ...CreateFCMProviderOption) (*models.Provider, error)
CreateFCMProvider create a new Firebase Cloud Messaging provider.
func (*Messaging) CreateFcmProvider
deprecated
func (srv *Messaging) CreateFcmProvider(ProviderId string, Name string, optionalSetters ...CreateFcmProviderOption) (*models.Provider, error)
CreateFcmProvider create a new Firebase Cloud Messaging provider.
Deprecated: This API has been deprecated since 1.8.0. Please use `Messaging.createFCMProvider` instead.
func (*Messaging) CreateMailgunProvider ¶
func (srv *Messaging) CreateMailgunProvider(ProviderId string, Name string, optionalSetters ...CreateMailgunProviderOption) (*models.Provider, error)
CreateMailgunProvider create a new Mailgun provider.
func (*Messaging) CreateMsg91Provider ¶
func (srv *Messaging) CreateMsg91Provider(ProviderId string, Name string, optionalSetters ...CreateMsg91ProviderOption) (*models.Provider, error)
CreateMsg91Provider create a new MSG91 provider.
func (*Messaging) CreatePush ¶
func (srv *Messaging) CreatePush(MessageId string, optionalSetters ...CreatePushOption) (*models.Message, error)
CreatePush create a new push notification.
func (*Messaging) CreateSMS ¶ added in v0.10.0
func (srv *Messaging) CreateSMS(MessageId string, Content string, optionalSetters ...CreateSMSOption) (*models.Message, error)
CreateSMS create a new SMS message.
func (*Messaging) CreateSMTPProvider ¶ added in v0.10.0
func (srv *Messaging) CreateSMTPProvider(ProviderId string, Name string, Host string, optionalSetters ...CreateSMTPProviderOption) (*models.Provider, error)
CreateSMTPProvider create a new SMTP provider.
func (*Messaging) CreateSendgridProvider ¶
func (srv *Messaging) CreateSendgridProvider(ProviderId string, Name string, optionalSetters ...CreateSendgridProviderOption) (*models.Provider, error)
CreateSendgridProvider create a new Sendgrid provider.
func (*Messaging) CreateSmtpProvider
deprecated
func (srv *Messaging) CreateSmtpProvider(ProviderId string, Name string, Host string, optionalSetters ...CreateSmtpProviderOption) (*models.Provider, error)
CreateSmtpProvider create a new SMTP provider.
Deprecated: This API has been deprecated since 1.8.0. Please use `Messaging.createSMTPProvider` instead.
func (*Messaging) CreateSubscriber ¶
func (srv *Messaging) CreateSubscriber(TopicId string, SubscriberId string, TargetId string) (*models.Subscriber, error)
CreateSubscriber create a new subscriber.
func (*Messaging) CreateTelesignProvider ¶
func (srv *Messaging) CreateTelesignProvider(ProviderId string, Name string, optionalSetters ...CreateTelesignProviderOption) (*models.Provider, error)
CreateTelesignProvider create a new Telesign provider.
func (*Messaging) CreateTextmagicProvider ¶
func (srv *Messaging) CreateTextmagicProvider(ProviderId string, Name string, optionalSetters ...CreateTextmagicProviderOption) (*models.Provider, error)
CreateTextmagicProvider create a new Textmagic provider.
func (*Messaging) CreateTopic ¶
func (srv *Messaging) CreateTopic(TopicId string, Name string, optionalSetters ...CreateTopicOption) (*models.Topic, error)
CreateTopic create a new topic.
func (*Messaging) CreateTwilioProvider ¶
func (srv *Messaging) CreateTwilioProvider(ProviderId string, Name string, optionalSetters ...CreateTwilioProviderOption) (*models.Provider, error)
CreateTwilioProvider create a new Twilio provider.
func (*Messaging) CreateVonageProvider ¶
func (srv *Messaging) CreateVonageProvider(ProviderId string, Name string, optionalSetters ...CreateVonageProviderOption) (*models.Provider, error)
CreateVonageProvider create a new Vonage provider.
func (*Messaging) Delete ¶
Delete delete a message. If the message is not a draft or scheduled, but has been sent, this will not recall the message.
func (*Messaging) DeleteProvider ¶
DeleteProvider delete a provider by its unique ID.
func (*Messaging) DeleteSubscriber ¶
DeleteSubscriber delete a subscriber by its unique ID.
func (*Messaging) DeleteTopic ¶
DeleteTopic delete a topic by its unique ID.
func (*Messaging) GetMessage ¶
GetMessage get a message by its unique ID.
func (*Messaging) GetProvider ¶
GetProvider get a provider by its unique ID.
func (*Messaging) GetSubscriber ¶
func (srv *Messaging) GetSubscriber(TopicId string, SubscriberId string) (*models.Subscriber, error)
GetSubscriber get a subscriber by its unique ID.
func (*Messaging) ListMessageLogs ¶
func (srv *Messaging) ListMessageLogs(MessageId string, optionalSetters ...ListMessageLogsOption) (*models.LogList, error)
ListMessageLogs get the message activity logs listed by its unique ID.
func (*Messaging) ListMessages ¶
func (srv *Messaging) ListMessages(optionalSetters ...ListMessagesOption) (*models.MessageList, error)
ListMessages get a list of all messages from the current Appwrite project.
func (*Messaging) ListProviderLogs ¶
func (srv *Messaging) ListProviderLogs(ProviderId string, optionalSetters ...ListProviderLogsOption) (*models.LogList, error)
ListProviderLogs get the provider activity logs listed by its unique ID.
func (*Messaging) ListProviders ¶
func (srv *Messaging) ListProviders(optionalSetters ...ListProvidersOption) (*models.ProviderList, error)
ListProviders get a list of all providers from the current Appwrite project.
func (*Messaging) ListSubscriberLogs ¶
func (srv *Messaging) ListSubscriberLogs(SubscriberId string, optionalSetters ...ListSubscriberLogsOption) (*models.LogList, error)
ListSubscriberLogs get the subscriber activity logs listed by its unique ID.
func (*Messaging) ListSubscribers ¶
func (srv *Messaging) ListSubscribers(TopicId string, optionalSetters ...ListSubscribersOption) (*models.SubscriberList, error)
ListSubscribers get a list of all subscribers from the current Appwrite project.
func (*Messaging) ListTargets ¶
func (srv *Messaging) ListTargets(MessageId string, optionalSetters ...ListTargetsOption) (*models.TargetList, error)
ListTargets get a list of the targets associated with a message.
func (*Messaging) ListTopicLogs ¶
func (srv *Messaging) ListTopicLogs(TopicId string, optionalSetters ...ListTopicLogsOption) (*models.LogList, error)
ListTopicLogs get the topic activity logs listed by its unique ID.
func (*Messaging) ListTopics ¶
func (srv *Messaging) ListTopics(optionalSetters ...ListTopicsOption) (*models.TopicList, error)
ListTopics get a list of all topics from the current Appwrite project.
func (*Messaging) UpdateAPNSProvider ¶ added in v0.10.0
func (srv *Messaging) UpdateAPNSProvider(ProviderId string, optionalSetters ...UpdateAPNSProviderOption) (*models.Provider, error)
UpdateAPNSProvider update a Apple Push Notification service provider by its unique ID.
func (*Messaging) UpdateApnsProvider
deprecated
func (srv *Messaging) UpdateApnsProvider(ProviderId string, optionalSetters ...UpdateApnsProviderOption) (*models.Provider, error)
UpdateApnsProvider update a Apple Push Notification service provider by its unique ID.
Deprecated: This API has been deprecated since 1.8.0. Please use `Messaging.updateAPNSProvider` instead.
func (*Messaging) UpdateEmail ¶
func (srv *Messaging) UpdateEmail(MessageId string, optionalSetters ...UpdateEmailOption) (*models.Message, error)
UpdateEmail update an email message by its unique ID. This endpoint only works on messages that are in draft status. Messages that are already processing, sent, or failed cannot be updated.
func (*Messaging) UpdateFCMProvider ¶ added in v0.10.0
func (srv *Messaging) UpdateFCMProvider(ProviderId string, optionalSetters ...UpdateFCMProviderOption) (*models.Provider, error)
UpdateFCMProvider update a Firebase Cloud Messaging provider by its unique ID.
func (*Messaging) UpdateFcmProvider
deprecated
func (srv *Messaging) UpdateFcmProvider(ProviderId string, optionalSetters ...UpdateFcmProviderOption) (*models.Provider, error)
UpdateFcmProvider update a Firebase Cloud Messaging provider by its unique ID.
Deprecated: This API has been deprecated since 1.8.0. Please use `Messaging.updateFCMProvider` instead.
func (*Messaging) UpdateMailgunProvider ¶
func (srv *Messaging) UpdateMailgunProvider(ProviderId string, optionalSetters ...UpdateMailgunProviderOption) (*models.Provider, error)
UpdateMailgunProvider update a Mailgun provider by its unique ID.
func (*Messaging) UpdateMsg91Provider ¶
func (srv *Messaging) UpdateMsg91Provider(ProviderId string, optionalSetters ...UpdateMsg91ProviderOption) (*models.Provider, error)
UpdateMsg91Provider update a MSG91 provider by its unique ID.
func (*Messaging) UpdatePush ¶
func (srv *Messaging) UpdatePush(MessageId string, optionalSetters ...UpdatePushOption) (*models.Message, error)
UpdatePush update a push notification by its unique ID. This endpoint only works on messages that are in draft status. Messages that are already processing, sent, or failed cannot be updated.
func (*Messaging) UpdateSMS ¶ added in v0.10.0
func (srv *Messaging) UpdateSMS(MessageId string, optionalSetters ...UpdateSMSOption) (*models.Message, error)
UpdateSMS update an SMS message by its unique ID. This endpoint only works on messages that are in draft status. Messages that are already processing, sent, or failed cannot be updated.
func (*Messaging) UpdateSMTPProvider ¶ added in v0.10.0
func (srv *Messaging) UpdateSMTPProvider(ProviderId string, optionalSetters ...UpdateSMTPProviderOption) (*models.Provider, error)
UpdateSMTPProvider update a SMTP provider by its unique ID.
func (*Messaging) UpdateSendgridProvider ¶
func (srv *Messaging) UpdateSendgridProvider(ProviderId string, optionalSetters ...UpdateSendgridProviderOption) (*models.Provider, error)
UpdateSendgridProvider update a Sendgrid provider by its unique ID.
func (*Messaging) UpdateSms
deprecated
func (srv *Messaging) UpdateSms(MessageId string, optionalSetters ...UpdateSmsOption) (*models.Message, error)
UpdateSms update an SMS message by its unique ID. This endpoint only works on messages that are in draft status. Messages that are already processing, sent, or failed cannot be updated.
Deprecated: This API has been deprecated since 1.8.0. Please use `Messaging.updateSMS` instead.
func (*Messaging) UpdateSmtpProvider
deprecated
func (*Messaging) UpdateTelesignProvider ¶
func (srv *Messaging) UpdateTelesignProvider(ProviderId string, optionalSetters ...UpdateTelesignProviderOption) (*models.Provider, error)
UpdateTelesignProvider update a Telesign provider by its unique ID.
func (*Messaging) UpdateTextmagicProvider ¶
func (srv *Messaging) UpdateTextmagicProvider(ProviderId string, optionalSetters ...UpdateTextmagicProviderOption) (*models.Provider, error)
UpdateTextmagicProvider update a Textmagic provider by its unique ID.
func (*Messaging) UpdateTopic ¶
func (srv *Messaging) UpdateTopic(TopicId string, optionalSetters ...UpdateTopicOption) (*models.Topic, error)
UpdateTopic update a topic by its unique ID.
func (*Messaging) UpdateTwilioProvider ¶
func (srv *Messaging) UpdateTwilioProvider(ProviderId string, optionalSetters ...UpdateTwilioProviderOption) (*models.Provider, error)
UpdateTwilioProvider update a Twilio provider by its unique ID.
func (*Messaging) UpdateVonageProvider ¶
func (srv *Messaging) UpdateVonageProvider(ProviderId string, optionalSetters ...UpdateVonageProviderOption) (*models.Provider, error)
UpdateVonageProvider update a Vonage provider by its unique ID.
func (*Messaging) WithCreateAPNSProviderAuthKey ¶ added in v0.10.0
func (srv *Messaging) WithCreateAPNSProviderAuthKey(v string) CreateAPNSProviderOption
func (*Messaging) WithCreateAPNSProviderAuthKeyId ¶ added in v0.10.0
func (srv *Messaging) WithCreateAPNSProviderAuthKeyId(v string) CreateAPNSProviderOption
func (*Messaging) WithCreateAPNSProviderBundleId ¶ added in v0.10.0
func (srv *Messaging) WithCreateAPNSProviderBundleId(v string) CreateAPNSProviderOption
func (*Messaging) WithCreateAPNSProviderEnabled ¶ added in v0.10.0
func (srv *Messaging) WithCreateAPNSProviderEnabled(v bool) CreateAPNSProviderOption
func (*Messaging) WithCreateAPNSProviderSandbox ¶ added in v0.10.0
func (srv *Messaging) WithCreateAPNSProviderSandbox(v bool) CreateAPNSProviderOption
func (*Messaging) WithCreateAPNSProviderTeamId ¶ added in v0.10.0
func (srv *Messaging) WithCreateAPNSProviderTeamId(v string) CreateAPNSProviderOption
func (*Messaging) WithCreateApnsProviderAuthKey ¶
func (srv *Messaging) WithCreateApnsProviderAuthKey(v string) CreateApnsProviderOption
func (*Messaging) WithCreateApnsProviderAuthKeyId ¶
func (srv *Messaging) WithCreateApnsProviderAuthKeyId(v string) CreateApnsProviderOption
func (*Messaging) WithCreateApnsProviderBundleId ¶
func (srv *Messaging) WithCreateApnsProviderBundleId(v string) CreateApnsProviderOption
func (*Messaging) WithCreateApnsProviderEnabled ¶
func (srv *Messaging) WithCreateApnsProviderEnabled(v bool) CreateApnsProviderOption
func (*Messaging) WithCreateApnsProviderSandbox ¶
func (srv *Messaging) WithCreateApnsProviderSandbox(v bool) CreateApnsProviderOption
func (*Messaging) WithCreateApnsProviderTeamId ¶
func (srv *Messaging) WithCreateApnsProviderTeamId(v string) CreateApnsProviderOption
func (*Messaging) WithCreateEmailAttachments ¶
func (srv *Messaging) WithCreateEmailAttachments(v []string) CreateEmailOption
func (*Messaging) WithCreateEmailBcc ¶
func (srv *Messaging) WithCreateEmailBcc(v []string) CreateEmailOption
func (*Messaging) WithCreateEmailCc ¶
func (srv *Messaging) WithCreateEmailCc(v []string) CreateEmailOption
func (*Messaging) WithCreateEmailDraft ¶
func (srv *Messaging) WithCreateEmailDraft(v bool) CreateEmailOption
func (*Messaging) WithCreateEmailHtml ¶
func (srv *Messaging) WithCreateEmailHtml(v bool) CreateEmailOption
func (*Messaging) WithCreateEmailScheduledAt ¶
func (srv *Messaging) WithCreateEmailScheduledAt(v string) CreateEmailOption
func (*Messaging) WithCreateEmailTargets ¶
func (srv *Messaging) WithCreateEmailTargets(v []string) CreateEmailOption
func (*Messaging) WithCreateEmailTopics ¶
func (srv *Messaging) WithCreateEmailTopics(v []string) CreateEmailOption
func (*Messaging) WithCreateEmailUsers ¶
func (srv *Messaging) WithCreateEmailUsers(v []string) CreateEmailOption
func (*Messaging) WithCreateFCMProviderEnabled ¶ added in v0.10.0
func (srv *Messaging) WithCreateFCMProviderEnabled(v bool) CreateFCMProviderOption
func (*Messaging) WithCreateFCMProviderServiceAccountJSON ¶ added in v0.10.0
func (srv *Messaging) WithCreateFCMProviderServiceAccountJSON(v interface{}) CreateFCMProviderOption
func (*Messaging) WithCreateFcmProviderEnabled ¶
func (srv *Messaging) WithCreateFcmProviderEnabled(v bool) CreateFcmProviderOption
func (*Messaging) WithCreateFcmProviderServiceAccountJSON ¶
func (srv *Messaging) WithCreateFcmProviderServiceAccountJSON(v interface{}) CreateFcmProviderOption
func (*Messaging) WithCreateMailgunProviderApiKey ¶
func (srv *Messaging) WithCreateMailgunProviderApiKey(v string) CreateMailgunProviderOption
func (*Messaging) WithCreateMailgunProviderDomain ¶
func (srv *Messaging) WithCreateMailgunProviderDomain(v string) CreateMailgunProviderOption
func (*Messaging) WithCreateMailgunProviderEnabled ¶
func (srv *Messaging) WithCreateMailgunProviderEnabled(v bool) CreateMailgunProviderOption
func (*Messaging) WithCreateMailgunProviderFromEmail ¶
func (srv *Messaging) WithCreateMailgunProviderFromEmail(v string) CreateMailgunProviderOption
func (*Messaging) WithCreateMailgunProviderFromName ¶
func (srv *Messaging) WithCreateMailgunProviderFromName(v string) CreateMailgunProviderOption
func (*Messaging) WithCreateMailgunProviderIsEuRegion ¶
func (srv *Messaging) WithCreateMailgunProviderIsEuRegion(v bool) CreateMailgunProviderOption
func (*Messaging) WithCreateMailgunProviderReplyToEmail ¶
func (srv *Messaging) WithCreateMailgunProviderReplyToEmail(v string) CreateMailgunProviderOption
func (*Messaging) WithCreateMailgunProviderReplyToName ¶
func (srv *Messaging) WithCreateMailgunProviderReplyToName(v string) CreateMailgunProviderOption
func (*Messaging) WithCreateMsg91ProviderAuthKey ¶
func (srv *Messaging) WithCreateMsg91ProviderAuthKey(v string) CreateMsg91ProviderOption
func (*Messaging) WithCreateMsg91ProviderEnabled ¶
func (srv *Messaging) WithCreateMsg91ProviderEnabled(v bool) CreateMsg91ProviderOption
func (*Messaging) WithCreateMsg91ProviderSenderId ¶
func (srv *Messaging) WithCreateMsg91ProviderSenderId(v string) CreateMsg91ProviderOption
func (*Messaging) WithCreateMsg91ProviderTemplateId ¶
func (srv *Messaging) WithCreateMsg91ProviderTemplateId(v string) CreateMsg91ProviderOption
func (*Messaging) WithCreatePushAction ¶
func (srv *Messaging) WithCreatePushAction(v string) CreatePushOption
func (*Messaging) WithCreatePushBadge ¶
func (srv *Messaging) WithCreatePushBadge(v int) CreatePushOption
func (*Messaging) WithCreatePushBody ¶ added in v0.3.0
func (srv *Messaging) WithCreatePushBody(v string) CreatePushOption
func (*Messaging) WithCreatePushColor ¶
func (srv *Messaging) WithCreatePushColor(v string) CreatePushOption
func (*Messaging) WithCreatePushContentAvailable ¶ added in v0.3.0
func (srv *Messaging) WithCreatePushContentAvailable(v bool) CreatePushOption
func (*Messaging) WithCreatePushCritical ¶ added in v0.3.0
func (srv *Messaging) WithCreatePushCritical(v bool) CreatePushOption
func (*Messaging) WithCreatePushData ¶
func (srv *Messaging) WithCreatePushData(v interface{}) CreatePushOption
func (*Messaging) WithCreatePushDraft ¶
func (srv *Messaging) WithCreatePushDraft(v bool) CreatePushOption
func (*Messaging) WithCreatePushIcon ¶
func (srv *Messaging) WithCreatePushIcon(v string) CreatePushOption
func (*Messaging) WithCreatePushImage ¶
func (srv *Messaging) WithCreatePushImage(v string) CreatePushOption
func (*Messaging) WithCreatePushPriority ¶ added in v0.3.0
func (srv *Messaging) WithCreatePushPriority(v string) CreatePushOption
func (*Messaging) WithCreatePushScheduledAt ¶
func (srv *Messaging) WithCreatePushScheduledAt(v string) CreatePushOption
func (*Messaging) WithCreatePushSound ¶
func (srv *Messaging) WithCreatePushSound(v string) CreatePushOption
func (*Messaging) WithCreatePushTag ¶
func (srv *Messaging) WithCreatePushTag(v string) CreatePushOption
func (*Messaging) WithCreatePushTargets ¶
func (srv *Messaging) WithCreatePushTargets(v []string) CreatePushOption
func (*Messaging) WithCreatePushTitle ¶ added in v0.3.0
func (srv *Messaging) WithCreatePushTitle(v string) CreatePushOption
func (*Messaging) WithCreatePushTopics ¶
func (srv *Messaging) WithCreatePushTopics(v []string) CreatePushOption
func (*Messaging) WithCreatePushUsers ¶
func (srv *Messaging) WithCreatePushUsers(v []string) CreatePushOption
func (*Messaging) WithCreateSMSDraft ¶ added in v0.10.0
func (srv *Messaging) WithCreateSMSDraft(v bool) CreateSMSOption
func (*Messaging) WithCreateSMSScheduledAt ¶ added in v0.10.0
func (srv *Messaging) WithCreateSMSScheduledAt(v string) CreateSMSOption
func (*Messaging) WithCreateSMSTargets ¶ added in v0.10.0
func (srv *Messaging) WithCreateSMSTargets(v []string) CreateSMSOption
func (*Messaging) WithCreateSMSTopics ¶ added in v0.10.0
func (srv *Messaging) WithCreateSMSTopics(v []string) CreateSMSOption
func (*Messaging) WithCreateSMSUsers ¶ added in v0.10.0
func (srv *Messaging) WithCreateSMSUsers(v []string) CreateSMSOption
func (*Messaging) WithCreateSMTPProviderAutoTLS ¶ added in v0.10.0
func (srv *Messaging) WithCreateSMTPProviderAutoTLS(v bool) CreateSMTPProviderOption
func (*Messaging) WithCreateSMTPProviderEnabled ¶ added in v0.10.0
func (srv *Messaging) WithCreateSMTPProviderEnabled(v bool) CreateSMTPProviderOption
func (*Messaging) WithCreateSMTPProviderEncryption ¶ added in v0.10.0
func (srv *Messaging) WithCreateSMTPProviderEncryption(v string) CreateSMTPProviderOption
func (*Messaging) WithCreateSMTPProviderFromEmail ¶ added in v0.10.0
func (srv *Messaging) WithCreateSMTPProviderFromEmail(v string) CreateSMTPProviderOption
func (*Messaging) WithCreateSMTPProviderFromName ¶ added in v0.10.0
func (srv *Messaging) WithCreateSMTPProviderFromName(v string) CreateSMTPProviderOption
func (*Messaging) WithCreateSMTPProviderMailer ¶ added in v0.10.0
func (srv *Messaging) WithCreateSMTPProviderMailer(v string) CreateSMTPProviderOption
func (*Messaging) WithCreateSMTPProviderPassword ¶ added in v0.10.0
func (srv *Messaging) WithCreateSMTPProviderPassword(v string) CreateSMTPProviderOption
func (*Messaging) WithCreateSMTPProviderPort ¶ added in v0.10.0
func (srv *Messaging) WithCreateSMTPProviderPort(v int) CreateSMTPProviderOption
func (*Messaging) WithCreateSMTPProviderReplyToEmail ¶ added in v0.10.0
func (srv *Messaging) WithCreateSMTPProviderReplyToEmail(v string) CreateSMTPProviderOption
func (*Messaging) WithCreateSMTPProviderReplyToName ¶ added in v0.10.0
func (srv *Messaging) WithCreateSMTPProviderReplyToName(v string) CreateSMTPProviderOption
func (*Messaging) WithCreateSMTPProviderUsername ¶ added in v0.10.0
func (srv *Messaging) WithCreateSMTPProviderUsername(v string) CreateSMTPProviderOption
func (*Messaging) WithCreateSendgridProviderApiKey ¶
func (srv *Messaging) WithCreateSendgridProviderApiKey(v string) CreateSendgridProviderOption
func (*Messaging) WithCreateSendgridProviderEnabled ¶
func (srv *Messaging) WithCreateSendgridProviderEnabled(v bool) CreateSendgridProviderOption
func (*Messaging) WithCreateSendgridProviderFromEmail ¶
func (srv *Messaging) WithCreateSendgridProviderFromEmail(v string) CreateSendgridProviderOption
func (*Messaging) WithCreateSendgridProviderFromName ¶
func (srv *Messaging) WithCreateSendgridProviderFromName(v string) CreateSendgridProviderOption
func (*Messaging) WithCreateSendgridProviderReplyToEmail ¶
func (srv *Messaging) WithCreateSendgridProviderReplyToEmail(v string) CreateSendgridProviderOption
func (*Messaging) WithCreateSendgridProviderReplyToName ¶
func (srv *Messaging) WithCreateSendgridProviderReplyToName(v string) CreateSendgridProviderOption
func (*Messaging) WithCreateSmsDraft ¶
func (srv *Messaging) WithCreateSmsDraft(v bool) CreateSmsOption
func (*Messaging) WithCreateSmsScheduledAt ¶
func (srv *Messaging) WithCreateSmsScheduledAt(v string) CreateSmsOption
func (*Messaging) WithCreateSmsTargets ¶
func (srv *Messaging) WithCreateSmsTargets(v []string) CreateSmsOption
func (*Messaging) WithCreateSmsTopics ¶
func (srv *Messaging) WithCreateSmsTopics(v []string) CreateSmsOption
func (*Messaging) WithCreateSmsUsers ¶
func (srv *Messaging) WithCreateSmsUsers(v []string) CreateSmsOption
func (*Messaging) WithCreateSmtpProviderAutoTLS ¶
func (srv *Messaging) WithCreateSmtpProviderAutoTLS(v bool) CreateSmtpProviderOption
func (*Messaging) WithCreateSmtpProviderEnabled ¶
func (srv *Messaging) WithCreateSmtpProviderEnabled(v bool) CreateSmtpProviderOption
func (*Messaging) WithCreateSmtpProviderEncryption ¶
func (srv *Messaging) WithCreateSmtpProviderEncryption(v string) CreateSmtpProviderOption
func (*Messaging) WithCreateSmtpProviderFromEmail ¶
func (srv *Messaging) WithCreateSmtpProviderFromEmail(v string) CreateSmtpProviderOption
func (*Messaging) WithCreateSmtpProviderFromName ¶
func (srv *Messaging) WithCreateSmtpProviderFromName(v string) CreateSmtpProviderOption
func (*Messaging) WithCreateSmtpProviderMailer ¶
func (srv *Messaging) WithCreateSmtpProviderMailer(v string) CreateSmtpProviderOption
func (*Messaging) WithCreateSmtpProviderPassword ¶
func (srv *Messaging) WithCreateSmtpProviderPassword(v string) CreateSmtpProviderOption
func (*Messaging) WithCreateSmtpProviderPort ¶
func (srv *Messaging) WithCreateSmtpProviderPort(v int) CreateSmtpProviderOption
func (*Messaging) WithCreateSmtpProviderReplyToEmail ¶
func (srv *Messaging) WithCreateSmtpProviderReplyToEmail(v string) CreateSmtpProviderOption
func (*Messaging) WithCreateSmtpProviderReplyToName ¶
func (srv *Messaging) WithCreateSmtpProviderReplyToName(v string) CreateSmtpProviderOption
func (*Messaging) WithCreateSmtpProviderUsername ¶
func (srv *Messaging) WithCreateSmtpProviderUsername(v string) CreateSmtpProviderOption
func (*Messaging) WithCreateTelesignProviderApiKey ¶
func (srv *Messaging) WithCreateTelesignProviderApiKey(v string) CreateTelesignProviderOption
func (*Messaging) WithCreateTelesignProviderCustomerId ¶
func (srv *Messaging) WithCreateTelesignProviderCustomerId(v string) CreateTelesignProviderOption
func (*Messaging) WithCreateTelesignProviderEnabled ¶
func (srv *Messaging) WithCreateTelesignProviderEnabled(v bool) CreateTelesignProviderOption
func (*Messaging) WithCreateTelesignProviderFrom ¶
func (srv *Messaging) WithCreateTelesignProviderFrom(v string) CreateTelesignProviderOption
func (*Messaging) WithCreateTextmagicProviderApiKey ¶
func (srv *Messaging) WithCreateTextmagicProviderApiKey(v string) CreateTextmagicProviderOption
func (*Messaging) WithCreateTextmagicProviderEnabled ¶
func (srv *Messaging) WithCreateTextmagicProviderEnabled(v bool) CreateTextmagicProviderOption
func (*Messaging) WithCreateTextmagicProviderFrom ¶
func (srv *Messaging) WithCreateTextmagicProviderFrom(v string) CreateTextmagicProviderOption
func (*Messaging) WithCreateTextmagicProviderUsername ¶
func (srv *Messaging) WithCreateTextmagicProviderUsername(v string) CreateTextmagicProviderOption
func (*Messaging) WithCreateTopicSubscribe ¶
func (srv *Messaging) WithCreateTopicSubscribe(v []string) CreateTopicOption
func (*Messaging) WithCreateTwilioProviderAccountSid ¶
func (srv *Messaging) WithCreateTwilioProviderAccountSid(v string) CreateTwilioProviderOption
func (*Messaging) WithCreateTwilioProviderAuthToken ¶
func (srv *Messaging) WithCreateTwilioProviderAuthToken(v string) CreateTwilioProviderOption
func (*Messaging) WithCreateTwilioProviderEnabled ¶
func (srv *Messaging) WithCreateTwilioProviderEnabled(v bool) CreateTwilioProviderOption
func (*Messaging) WithCreateTwilioProviderFrom ¶
func (srv *Messaging) WithCreateTwilioProviderFrom(v string) CreateTwilioProviderOption
func (*Messaging) WithCreateVonageProviderApiKey ¶
func (srv *Messaging) WithCreateVonageProviderApiKey(v string) CreateVonageProviderOption
func (*Messaging) WithCreateVonageProviderApiSecret ¶
func (srv *Messaging) WithCreateVonageProviderApiSecret(v string) CreateVonageProviderOption
func (*Messaging) WithCreateVonageProviderEnabled ¶
func (srv *Messaging) WithCreateVonageProviderEnabled(v bool) CreateVonageProviderOption
func (*Messaging) WithCreateVonageProviderFrom ¶
func (srv *Messaging) WithCreateVonageProviderFrom(v string) CreateVonageProviderOption
func (*Messaging) WithListMessageLogsQueries ¶
func (srv *Messaging) WithListMessageLogsQueries(v []string) ListMessageLogsOption
func (*Messaging) WithListMessagesQueries ¶
func (srv *Messaging) WithListMessagesQueries(v []string) ListMessagesOption
func (*Messaging) WithListMessagesSearch ¶
func (srv *Messaging) WithListMessagesSearch(v string) ListMessagesOption
func (*Messaging) WithListProviderLogsQueries ¶
func (srv *Messaging) WithListProviderLogsQueries(v []string) ListProviderLogsOption
func (*Messaging) WithListProvidersQueries ¶
func (srv *Messaging) WithListProvidersQueries(v []string) ListProvidersOption
func (*Messaging) WithListProvidersSearch ¶
func (srv *Messaging) WithListProvidersSearch(v string) ListProvidersOption
func (*Messaging) WithListSubscriberLogsQueries ¶
func (srv *Messaging) WithListSubscriberLogsQueries(v []string) ListSubscriberLogsOption
func (*Messaging) WithListSubscribersQueries ¶
func (srv *Messaging) WithListSubscribersQueries(v []string) ListSubscribersOption
func (*Messaging) WithListSubscribersSearch ¶
func (srv *Messaging) WithListSubscribersSearch(v string) ListSubscribersOption
func (*Messaging) WithListTargetsQueries ¶
func (srv *Messaging) WithListTargetsQueries(v []string) ListTargetsOption
func (*Messaging) WithListTopicLogsQueries ¶
func (srv *Messaging) WithListTopicLogsQueries(v []string) ListTopicLogsOption
func (*Messaging) WithListTopicsQueries ¶
func (srv *Messaging) WithListTopicsQueries(v []string) ListTopicsOption
func (*Messaging) WithListTopicsSearch ¶
func (srv *Messaging) WithListTopicsSearch(v string) ListTopicsOption
func (*Messaging) WithUpdateAPNSProviderAuthKey ¶ added in v0.10.0
func (srv *Messaging) WithUpdateAPNSProviderAuthKey(v string) UpdateAPNSProviderOption
func (*Messaging) WithUpdateAPNSProviderAuthKeyId ¶ added in v0.10.0
func (srv *Messaging) WithUpdateAPNSProviderAuthKeyId(v string) UpdateAPNSProviderOption
func (*Messaging) WithUpdateAPNSProviderBundleId ¶ added in v0.10.0
func (srv *Messaging) WithUpdateAPNSProviderBundleId(v string) UpdateAPNSProviderOption
func (*Messaging) WithUpdateAPNSProviderEnabled ¶ added in v0.10.0
func (srv *Messaging) WithUpdateAPNSProviderEnabled(v bool) UpdateAPNSProviderOption
func (*Messaging) WithUpdateAPNSProviderName ¶ added in v0.10.0
func (srv *Messaging) WithUpdateAPNSProviderName(v string) UpdateAPNSProviderOption
func (*Messaging) WithUpdateAPNSProviderSandbox ¶ added in v0.10.0
func (srv *Messaging) WithUpdateAPNSProviderSandbox(v bool) UpdateAPNSProviderOption
func (*Messaging) WithUpdateAPNSProviderTeamId ¶ added in v0.10.0
func (srv *Messaging) WithUpdateAPNSProviderTeamId(v string) UpdateAPNSProviderOption
func (*Messaging) WithUpdateApnsProviderAuthKey ¶
func (srv *Messaging) WithUpdateApnsProviderAuthKey(v string) UpdateApnsProviderOption
func (*Messaging) WithUpdateApnsProviderAuthKeyId ¶
func (srv *Messaging) WithUpdateApnsProviderAuthKeyId(v string) UpdateApnsProviderOption
func (*Messaging) WithUpdateApnsProviderBundleId ¶
func (srv *Messaging) WithUpdateApnsProviderBundleId(v string) UpdateApnsProviderOption
func (*Messaging) WithUpdateApnsProviderEnabled ¶
func (srv *Messaging) WithUpdateApnsProviderEnabled(v bool) UpdateApnsProviderOption
func (*Messaging) WithUpdateApnsProviderName ¶
func (srv *Messaging) WithUpdateApnsProviderName(v string) UpdateApnsProviderOption
func (*Messaging) WithUpdateApnsProviderSandbox ¶
func (srv *Messaging) WithUpdateApnsProviderSandbox(v bool) UpdateApnsProviderOption
func (*Messaging) WithUpdateApnsProviderTeamId ¶
func (srv *Messaging) WithUpdateApnsProviderTeamId(v string) UpdateApnsProviderOption
func (*Messaging) WithUpdateEmailAttachments ¶
func (srv *Messaging) WithUpdateEmailAttachments(v []string) UpdateEmailOption
func (*Messaging) WithUpdateEmailBcc ¶
func (srv *Messaging) WithUpdateEmailBcc(v []string) UpdateEmailOption
func (*Messaging) WithUpdateEmailCc ¶
func (srv *Messaging) WithUpdateEmailCc(v []string) UpdateEmailOption
func (*Messaging) WithUpdateEmailContent ¶
func (srv *Messaging) WithUpdateEmailContent(v string) UpdateEmailOption
func (*Messaging) WithUpdateEmailDraft ¶
func (srv *Messaging) WithUpdateEmailDraft(v bool) UpdateEmailOption
func (*Messaging) WithUpdateEmailHtml ¶
func (srv *Messaging) WithUpdateEmailHtml(v bool) UpdateEmailOption
func (*Messaging) WithUpdateEmailScheduledAt ¶
func (srv *Messaging) WithUpdateEmailScheduledAt(v string) UpdateEmailOption
func (*Messaging) WithUpdateEmailSubject ¶
func (srv *Messaging) WithUpdateEmailSubject(v string) UpdateEmailOption
func (*Messaging) WithUpdateEmailTargets ¶
func (srv *Messaging) WithUpdateEmailTargets(v []string) UpdateEmailOption
func (*Messaging) WithUpdateEmailTopics ¶
func (srv *Messaging) WithUpdateEmailTopics(v []string) UpdateEmailOption
func (*Messaging) WithUpdateEmailUsers ¶
func (srv *Messaging) WithUpdateEmailUsers(v []string) UpdateEmailOption
func (*Messaging) WithUpdateFCMProviderEnabled ¶ added in v0.10.0
func (srv *Messaging) WithUpdateFCMProviderEnabled(v bool) UpdateFCMProviderOption
func (*Messaging) WithUpdateFCMProviderName ¶ added in v0.10.0
func (srv *Messaging) WithUpdateFCMProviderName(v string) UpdateFCMProviderOption
func (*Messaging) WithUpdateFCMProviderServiceAccountJSON ¶ added in v0.10.0
func (srv *Messaging) WithUpdateFCMProviderServiceAccountJSON(v interface{}) UpdateFCMProviderOption
func (*Messaging) WithUpdateFcmProviderEnabled ¶
func (srv *Messaging) WithUpdateFcmProviderEnabled(v bool) UpdateFcmProviderOption
func (*Messaging) WithUpdateFcmProviderName ¶
func (srv *Messaging) WithUpdateFcmProviderName(v string) UpdateFcmProviderOption
func (*Messaging) WithUpdateFcmProviderServiceAccountJSON ¶
func (srv *Messaging) WithUpdateFcmProviderServiceAccountJSON(v interface{}) UpdateFcmProviderOption
func (*Messaging) WithUpdateMailgunProviderApiKey ¶
func (srv *Messaging) WithUpdateMailgunProviderApiKey(v string) UpdateMailgunProviderOption
func (*Messaging) WithUpdateMailgunProviderDomain ¶
func (srv *Messaging) WithUpdateMailgunProviderDomain(v string) UpdateMailgunProviderOption
func (*Messaging) WithUpdateMailgunProviderEnabled ¶
func (srv *Messaging) WithUpdateMailgunProviderEnabled(v bool) UpdateMailgunProviderOption
func (*Messaging) WithUpdateMailgunProviderFromEmail ¶
func (srv *Messaging) WithUpdateMailgunProviderFromEmail(v string) UpdateMailgunProviderOption
func (*Messaging) WithUpdateMailgunProviderFromName ¶
func (srv *Messaging) WithUpdateMailgunProviderFromName(v string) UpdateMailgunProviderOption
func (*Messaging) WithUpdateMailgunProviderIsEuRegion ¶
func (srv *Messaging) WithUpdateMailgunProviderIsEuRegion(v bool) UpdateMailgunProviderOption
func (*Messaging) WithUpdateMailgunProviderName ¶
func (srv *Messaging) WithUpdateMailgunProviderName(v string) UpdateMailgunProviderOption
func (*Messaging) WithUpdateMailgunProviderReplyToEmail ¶
func (srv *Messaging) WithUpdateMailgunProviderReplyToEmail(v string) UpdateMailgunProviderOption
func (*Messaging) WithUpdateMailgunProviderReplyToName ¶
func (srv *Messaging) WithUpdateMailgunProviderReplyToName(v string) UpdateMailgunProviderOption
func (*Messaging) WithUpdateMsg91ProviderAuthKey ¶
func (srv *Messaging) WithUpdateMsg91ProviderAuthKey(v string) UpdateMsg91ProviderOption
func (*Messaging) WithUpdateMsg91ProviderEnabled ¶
func (srv *Messaging) WithUpdateMsg91ProviderEnabled(v bool) UpdateMsg91ProviderOption
func (*Messaging) WithUpdateMsg91ProviderName ¶
func (srv *Messaging) WithUpdateMsg91ProviderName(v string) UpdateMsg91ProviderOption
func (*Messaging) WithUpdateMsg91ProviderSenderId ¶
func (srv *Messaging) WithUpdateMsg91ProviderSenderId(v string) UpdateMsg91ProviderOption
func (*Messaging) WithUpdateMsg91ProviderTemplateId ¶
func (srv *Messaging) WithUpdateMsg91ProviderTemplateId(v string) UpdateMsg91ProviderOption
func (*Messaging) WithUpdatePushAction ¶
func (srv *Messaging) WithUpdatePushAction(v string) UpdatePushOption
func (*Messaging) WithUpdatePushBadge ¶
func (srv *Messaging) WithUpdatePushBadge(v int) UpdatePushOption
func (*Messaging) WithUpdatePushBody ¶
func (srv *Messaging) WithUpdatePushBody(v string) UpdatePushOption
func (*Messaging) WithUpdatePushColor ¶
func (srv *Messaging) WithUpdatePushColor(v string) UpdatePushOption
func (*Messaging) WithUpdatePushContentAvailable ¶ added in v0.3.0
func (srv *Messaging) WithUpdatePushContentAvailable(v bool) UpdatePushOption
func (*Messaging) WithUpdatePushCritical ¶ added in v0.3.0
func (srv *Messaging) WithUpdatePushCritical(v bool) UpdatePushOption
func (*Messaging) WithUpdatePushData ¶
func (srv *Messaging) WithUpdatePushData(v interface{}) UpdatePushOption
func (*Messaging) WithUpdatePushDraft ¶
func (srv *Messaging) WithUpdatePushDraft(v bool) UpdatePushOption
func (*Messaging) WithUpdatePushIcon ¶
func (srv *Messaging) WithUpdatePushIcon(v string) UpdatePushOption
func (*Messaging) WithUpdatePushImage ¶
func (srv *Messaging) WithUpdatePushImage(v string) UpdatePushOption
func (*Messaging) WithUpdatePushPriority ¶ added in v0.3.0
func (srv *Messaging) WithUpdatePushPriority(v string) UpdatePushOption
func (*Messaging) WithUpdatePushScheduledAt ¶
func (srv *Messaging) WithUpdatePushScheduledAt(v string) UpdatePushOption
func (*Messaging) WithUpdatePushSound ¶
func (srv *Messaging) WithUpdatePushSound(v string) UpdatePushOption
func (*Messaging) WithUpdatePushTag ¶
func (srv *Messaging) WithUpdatePushTag(v string) UpdatePushOption
func (*Messaging) WithUpdatePushTargets ¶
func (srv *Messaging) WithUpdatePushTargets(v []string) UpdatePushOption
func (*Messaging) WithUpdatePushTitle ¶
func (srv *Messaging) WithUpdatePushTitle(v string) UpdatePushOption
func (*Messaging) WithUpdatePushTopics ¶
func (srv *Messaging) WithUpdatePushTopics(v []string) UpdatePushOption
func (*Messaging) WithUpdatePushUsers ¶
func (srv *Messaging) WithUpdatePushUsers(v []string) UpdatePushOption
func (*Messaging) WithUpdateSMSContent ¶ added in v0.10.0
func (srv *Messaging) WithUpdateSMSContent(v string) UpdateSMSOption
func (*Messaging) WithUpdateSMSDraft ¶ added in v0.10.0
func (srv *Messaging) WithUpdateSMSDraft(v bool) UpdateSMSOption
func (*Messaging) WithUpdateSMSScheduledAt ¶ added in v0.10.0
func (srv *Messaging) WithUpdateSMSScheduledAt(v string) UpdateSMSOption
func (*Messaging) WithUpdateSMSTargets ¶ added in v0.10.0
func (srv *Messaging) WithUpdateSMSTargets(v []string) UpdateSMSOption
func (*Messaging) WithUpdateSMSTopics ¶ added in v0.10.0
func (srv *Messaging) WithUpdateSMSTopics(v []string) UpdateSMSOption
func (*Messaging) WithUpdateSMSUsers ¶ added in v0.10.0
func (srv *Messaging) WithUpdateSMSUsers(v []string) UpdateSMSOption
func (*Messaging) WithUpdateSMTPProviderAutoTLS ¶ added in v0.10.0
func (srv *Messaging) WithUpdateSMTPProviderAutoTLS(v bool) UpdateSMTPProviderOption
func (*Messaging) WithUpdateSMTPProviderEnabled ¶ added in v0.10.0
func (srv *Messaging) WithUpdateSMTPProviderEnabled(v bool) UpdateSMTPProviderOption
func (*Messaging) WithUpdateSMTPProviderEncryption ¶ added in v0.10.0
func (srv *Messaging) WithUpdateSMTPProviderEncryption(v string) UpdateSMTPProviderOption
func (*Messaging) WithUpdateSMTPProviderFromEmail ¶ added in v0.10.0
func (srv *Messaging) WithUpdateSMTPProviderFromEmail(v string) UpdateSMTPProviderOption
func (*Messaging) WithUpdateSMTPProviderFromName ¶ added in v0.10.0
func (srv *Messaging) WithUpdateSMTPProviderFromName(v string) UpdateSMTPProviderOption
func (*Messaging) WithUpdateSMTPProviderHost ¶ added in v0.10.0
func (srv *Messaging) WithUpdateSMTPProviderHost(v string) UpdateSMTPProviderOption
func (*Messaging) WithUpdateSMTPProviderMailer ¶ added in v0.10.0
func (srv *Messaging) WithUpdateSMTPProviderMailer(v string) UpdateSMTPProviderOption
func (*Messaging) WithUpdateSMTPProviderName ¶ added in v0.10.0
func (srv *Messaging) WithUpdateSMTPProviderName(v string) UpdateSMTPProviderOption
func (*Messaging) WithUpdateSMTPProviderPassword ¶ added in v0.10.0
func (srv *Messaging) WithUpdateSMTPProviderPassword(v string) UpdateSMTPProviderOption
func (*Messaging) WithUpdateSMTPProviderPort ¶ added in v0.10.0
func (srv *Messaging) WithUpdateSMTPProviderPort(v int) UpdateSMTPProviderOption
func (*Messaging) WithUpdateSMTPProviderReplyToEmail ¶ added in v0.10.0
func (srv *Messaging) WithUpdateSMTPProviderReplyToEmail(v string) UpdateSMTPProviderOption
func (*Messaging) WithUpdateSMTPProviderReplyToName ¶ added in v0.10.0
func (srv *Messaging) WithUpdateSMTPProviderReplyToName(v string) UpdateSMTPProviderOption
func (*Messaging) WithUpdateSMTPProviderUsername ¶ added in v0.10.0
func (srv *Messaging) WithUpdateSMTPProviderUsername(v string) UpdateSMTPProviderOption
func (*Messaging) WithUpdateSendgridProviderApiKey ¶
func (srv *Messaging) WithUpdateSendgridProviderApiKey(v string) UpdateSendgridProviderOption
func (*Messaging) WithUpdateSendgridProviderEnabled ¶
func (srv *Messaging) WithUpdateSendgridProviderEnabled(v bool) UpdateSendgridProviderOption
func (*Messaging) WithUpdateSendgridProviderFromEmail ¶
func (srv *Messaging) WithUpdateSendgridProviderFromEmail(v string) UpdateSendgridProviderOption
func (*Messaging) WithUpdateSendgridProviderFromName ¶
func (srv *Messaging) WithUpdateSendgridProviderFromName(v string) UpdateSendgridProviderOption
func (*Messaging) WithUpdateSendgridProviderName ¶
func (srv *Messaging) WithUpdateSendgridProviderName(v string) UpdateSendgridProviderOption
func (*Messaging) WithUpdateSendgridProviderReplyToEmail ¶
func (srv *Messaging) WithUpdateSendgridProviderReplyToEmail(v string) UpdateSendgridProviderOption
func (*Messaging) WithUpdateSendgridProviderReplyToName ¶
func (srv *Messaging) WithUpdateSendgridProviderReplyToName(v string) UpdateSendgridProviderOption
func (*Messaging) WithUpdateSmsContent ¶
func (srv *Messaging) WithUpdateSmsContent(v string) UpdateSmsOption
func (*Messaging) WithUpdateSmsDraft ¶
func (srv *Messaging) WithUpdateSmsDraft(v bool) UpdateSmsOption
func (*Messaging) WithUpdateSmsScheduledAt ¶
func (srv *Messaging) WithUpdateSmsScheduledAt(v string) UpdateSmsOption
func (*Messaging) WithUpdateSmsTargets ¶
func (srv *Messaging) WithUpdateSmsTargets(v []string) UpdateSmsOption
func (*Messaging) WithUpdateSmsTopics ¶
func (srv *Messaging) WithUpdateSmsTopics(v []string) UpdateSmsOption
func (*Messaging) WithUpdateSmsUsers ¶
func (srv *Messaging) WithUpdateSmsUsers(v []string) UpdateSmsOption
func (*Messaging) WithUpdateSmtpProviderAutoTLS ¶
func (srv *Messaging) WithUpdateSmtpProviderAutoTLS(v bool) UpdateSmtpProviderOption
func (*Messaging) WithUpdateSmtpProviderEnabled ¶
func (srv *Messaging) WithUpdateSmtpProviderEnabled(v bool) UpdateSmtpProviderOption
func (*Messaging) WithUpdateSmtpProviderEncryption ¶
func (srv *Messaging) WithUpdateSmtpProviderEncryption(v string) UpdateSmtpProviderOption
func (*Messaging) WithUpdateSmtpProviderFromEmail ¶
func (srv *Messaging) WithUpdateSmtpProviderFromEmail(v string) UpdateSmtpProviderOption
func (*Messaging) WithUpdateSmtpProviderFromName ¶
func (srv *Messaging) WithUpdateSmtpProviderFromName(v string) UpdateSmtpProviderOption
func (*Messaging) WithUpdateSmtpProviderHost ¶
func (srv *Messaging) WithUpdateSmtpProviderHost(v string) UpdateSmtpProviderOption
func (*Messaging) WithUpdateSmtpProviderMailer ¶
func (srv *Messaging) WithUpdateSmtpProviderMailer(v string) UpdateSmtpProviderOption
func (*Messaging) WithUpdateSmtpProviderName ¶
func (srv *Messaging) WithUpdateSmtpProviderName(v string) UpdateSmtpProviderOption
func (*Messaging) WithUpdateSmtpProviderPassword ¶
func (srv *Messaging) WithUpdateSmtpProviderPassword(v string) UpdateSmtpProviderOption
func (*Messaging) WithUpdateSmtpProviderPort ¶
func (srv *Messaging) WithUpdateSmtpProviderPort(v int) UpdateSmtpProviderOption
func (*Messaging) WithUpdateSmtpProviderReplyToEmail ¶
func (srv *Messaging) WithUpdateSmtpProviderReplyToEmail(v string) UpdateSmtpProviderOption
func (*Messaging) WithUpdateSmtpProviderReplyToName ¶
func (srv *Messaging) WithUpdateSmtpProviderReplyToName(v string) UpdateSmtpProviderOption
func (*Messaging) WithUpdateSmtpProviderUsername ¶
func (srv *Messaging) WithUpdateSmtpProviderUsername(v string) UpdateSmtpProviderOption
func (*Messaging) WithUpdateTelesignProviderApiKey ¶
func (srv *Messaging) WithUpdateTelesignProviderApiKey(v string) UpdateTelesignProviderOption
func (*Messaging) WithUpdateTelesignProviderCustomerId ¶
func (srv *Messaging) WithUpdateTelesignProviderCustomerId(v string) UpdateTelesignProviderOption
func (*Messaging) WithUpdateTelesignProviderEnabled ¶
func (srv *Messaging) WithUpdateTelesignProviderEnabled(v bool) UpdateTelesignProviderOption
func (*Messaging) WithUpdateTelesignProviderFrom ¶
func (srv *Messaging) WithUpdateTelesignProviderFrom(v string) UpdateTelesignProviderOption
func (*Messaging) WithUpdateTelesignProviderName ¶
func (srv *Messaging) WithUpdateTelesignProviderName(v string) UpdateTelesignProviderOption
func (*Messaging) WithUpdateTextmagicProviderApiKey ¶
func (srv *Messaging) WithUpdateTextmagicProviderApiKey(v string) UpdateTextmagicProviderOption
func (*Messaging) WithUpdateTextmagicProviderEnabled ¶
func (srv *Messaging) WithUpdateTextmagicProviderEnabled(v bool) UpdateTextmagicProviderOption
func (*Messaging) WithUpdateTextmagicProviderFrom ¶
func (srv *Messaging) WithUpdateTextmagicProviderFrom(v string) UpdateTextmagicProviderOption
func (*Messaging) WithUpdateTextmagicProviderName ¶
func (srv *Messaging) WithUpdateTextmagicProviderName(v string) UpdateTextmagicProviderOption
func (*Messaging) WithUpdateTextmagicProviderUsername ¶
func (srv *Messaging) WithUpdateTextmagicProviderUsername(v string) UpdateTextmagicProviderOption
func (*Messaging) WithUpdateTopicName ¶
func (srv *Messaging) WithUpdateTopicName(v string) UpdateTopicOption
func (*Messaging) WithUpdateTopicSubscribe ¶
func (srv *Messaging) WithUpdateTopicSubscribe(v []string) UpdateTopicOption
func (*Messaging) WithUpdateTwilioProviderAccountSid ¶
func (srv *Messaging) WithUpdateTwilioProviderAccountSid(v string) UpdateTwilioProviderOption
func (*Messaging) WithUpdateTwilioProviderAuthToken ¶
func (srv *Messaging) WithUpdateTwilioProviderAuthToken(v string) UpdateTwilioProviderOption
func (*Messaging) WithUpdateTwilioProviderEnabled ¶
func (srv *Messaging) WithUpdateTwilioProviderEnabled(v bool) UpdateTwilioProviderOption
func (*Messaging) WithUpdateTwilioProviderFrom ¶
func (srv *Messaging) WithUpdateTwilioProviderFrom(v string) UpdateTwilioProviderOption
func (*Messaging) WithUpdateTwilioProviderName ¶
func (srv *Messaging) WithUpdateTwilioProviderName(v string) UpdateTwilioProviderOption
func (*Messaging) WithUpdateVonageProviderApiKey ¶
func (srv *Messaging) WithUpdateVonageProviderApiKey(v string) UpdateVonageProviderOption
func (*Messaging) WithUpdateVonageProviderApiSecret ¶
func (srv *Messaging) WithUpdateVonageProviderApiSecret(v string) UpdateVonageProviderOption
func (*Messaging) WithUpdateVonageProviderEnabled ¶
func (srv *Messaging) WithUpdateVonageProviderEnabled(v bool) UpdateVonageProviderOption
func (*Messaging) WithUpdateVonageProviderFrom ¶
func (srv *Messaging) WithUpdateVonageProviderFrom(v string) UpdateVonageProviderOption
func (*Messaging) WithUpdateVonageProviderName ¶
func (srv *Messaging) WithUpdateVonageProviderName(v string) UpdateVonageProviderOption
type UpdateAPNSProviderOption ¶ added in v0.10.0
type UpdateAPNSProviderOption func(*UpdateAPNSProviderOptions)
type UpdateAPNSProviderOptions ¶ added in v0.10.0
type UpdateAPNSProviderOptions struct { Name string Enabled bool AuthKey string AuthKeyId string TeamId string BundleId string Sandbox bool // contains filtered or unexported fields }
func (UpdateAPNSProviderOptions) New ¶ added in v0.10.0
func (options UpdateAPNSProviderOptions) New() *UpdateAPNSProviderOptions
type UpdateApnsProviderOption ¶
type UpdateApnsProviderOption func(*UpdateApnsProviderOptions)
type UpdateApnsProviderOptions ¶
type UpdateApnsProviderOptions struct { Name string Enabled bool AuthKey string AuthKeyId string TeamId string BundleId string Sandbox bool // contains filtered or unexported fields }
func (UpdateApnsProviderOptions) New ¶
func (options UpdateApnsProviderOptions) New() *UpdateApnsProviderOptions
type UpdateEmailOption ¶
type UpdateEmailOption func(*UpdateEmailOptions)
type UpdateEmailOptions ¶
type UpdateEmailOptions struct { Topics []string Users []string Targets []string Subject string Content string Draft bool Html bool Cc []string Bcc []string ScheduledAt string Attachments []string // contains filtered or unexported fields }
func (UpdateEmailOptions) New ¶
func (options UpdateEmailOptions) New() *UpdateEmailOptions
type UpdateFCMProviderOption ¶ added in v0.10.0
type UpdateFCMProviderOption func(*UpdateFCMProviderOptions)
type UpdateFCMProviderOptions ¶ added in v0.10.0
type UpdateFCMProviderOptions struct { Name string Enabled bool ServiceAccountJSON interface{} // contains filtered or unexported fields }
func (UpdateFCMProviderOptions) New ¶ added in v0.10.0
func (options UpdateFCMProviderOptions) New() *UpdateFCMProviderOptions
type UpdateFcmProviderOption ¶
type UpdateFcmProviderOption func(*UpdateFcmProviderOptions)
type UpdateFcmProviderOptions ¶
type UpdateFcmProviderOptions struct { Name string Enabled bool ServiceAccountJSON interface{} // contains filtered or unexported fields }
func (UpdateFcmProviderOptions) New ¶
func (options UpdateFcmProviderOptions) New() *UpdateFcmProviderOptions
type UpdateMailgunProviderOption ¶
type UpdateMailgunProviderOption func(*UpdateMailgunProviderOptions)
type UpdateMailgunProviderOptions ¶
type UpdateMailgunProviderOptions struct { Name string ApiKey string Domain string IsEuRegion bool Enabled bool FromName string FromEmail string ReplyToName string ReplyToEmail string // contains filtered or unexported fields }
func (UpdateMailgunProviderOptions) New ¶
func (options UpdateMailgunProviderOptions) New() *UpdateMailgunProviderOptions
type UpdateMsg91ProviderOption ¶
type UpdateMsg91ProviderOption func(*UpdateMsg91ProviderOptions)
type UpdateMsg91ProviderOptions ¶
type UpdateMsg91ProviderOptions struct { Name string Enabled bool TemplateId string SenderId string AuthKey string // contains filtered or unexported fields }
func (UpdateMsg91ProviderOptions) New ¶
func (options UpdateMsg91ProviderOptions) New() *UpdateMsg91ProviderOptions
type UpdatePushOption ¶
type UpdatePushOption func(*UpdatePushOptions)
type UpdatePushOptions ¶
type UpdatePushOptions struct { Topics []string Users []string Targets []string Title string Body string Data interface{} Action string Image string Icon string Sound string Color string Tag string Badge int Draft bool ScheduledAt string ContentAvailable bool Critical bool Priority string // contains filtered or unexported fields }
func (UpdatePushOptions) New ¶
func (options UpdatePushOptions) New() *UpdatePushOptions
type UpdateSMSOption ¶ added in v0.10.0
type UpdateSMSOption func(*UpdateSMSOptions)
type UpdateSMSOptions ¶ added in v0.10.0
type UpdateSMSOptions struct { Topics []string Users []string Targets []string Content string Draft bool ScheduledAt string // contains filtered or unexported fields }
func (UpdateSMSOptions) New ¶ added in v0.10.0
func (options UpdateSMSOptions) New() *UpdateSMSOptions
type UpdateSMTPProviderOption ¶ added in v0.10.0
type UpdateSMTPProviderOption func(*UpdateSMTPProviderOptions)
type UpdateSMTPProviderOptions ¶ added in v0.10.0
type UpdateSMTPProviderOptions struct { Name string Host string Port int Username string Password string Encryption string AutoTLS bool Mailer string FromName string FromEmail string ReplyToName string ReplyToEmail string Enabled bool // contains filtered or unexported fields }
func (UpdateSMTPProviderOptions) New ¶ added in v0.10.0
func (options UpdateSMTPProviderOptions) New() *UpdateSMTPProviderOptions
type UpdateSendgridProviderOption ¶
type UpdateSendgridProviderOption func(*UpdateSendgridProviderOptions)
type UpdateSendgridProviderOptions ¶
type UpdateSendgridProviderOptions struct { Name string Enabled bool ApiKey string FromName string FromEmail string ReplyToName string ReplyToEmail string // contains filtered or unexported fields }
func (UpdateSendgridProviderOptions) New ¶
func (options UpdateSendgridProviderOptions) New() *UpdateSendgridProviderOptions
type UpdateSmsOption ¶
type UpdateSmsOption func(*UpdateSmsOptions)
type UpdateSmsOptions ¶
type UpdateSmsOptions struct { Topics []string Users []string Targets []string Content string Draft bool ScheduledAt string // contains filtered or unexported fields }
func (UpdateSmsOptions) New ¶
func (options UpdateSmsOptions) New() *UpdateSmsOptions
type UpdateSmtpProviderOption ¶
type UpdateSmtpProviderOption func(*UpdateSmtpProviderOptions)
type UpdateSmtpProviderOptions ¶
type UpdateSmtpProviderOptions struct { Name string Host string Port int Username string Password string Encryption string AutoTLS bool Mailer string FromName string FromEmail string ReplyToName string ReplyToEmail string Enabled bool // contains filtered or unexported fields }
func (UpdateSmtpProviderOptions) New ¶
func (options UpdateSmtpProviderOptions) New() *UpdateSmtpProviderOptions
type UpdateTelesignProviderOption ¶
type UpdateTelesignProviderOption func(*UpdateTelesignProviderOptions)
type UpdateTelesignProviderOptions ¶
type UpdateTelesignProviderOptions struct { Name string Enabled bool CustomerId string ApiKey string From string // contains filtered or unexported fields }
func (UpdateTelesignProviderOptions) New ¶
func (options UpdateTelesignProviderOptions) New() *UpdateTelesignProviderOptions
type UpdateTextmagicProviderOption ¶
type UpdateTextmagicProviderOption func(*UpdateTextmagicProviderOptions)
type UpdateTextmagicProviderOptions ¶
type UpdateTextmagicProviderOptions struct { Name string Enabled bool Username string ApiKey string From string // contains filtered or unexported fields }
func (UpdateTextmagicProviderOptions) New ¶
func (options UpdateTextmagicProviderOptions) New() *UpdateTextmagicProviderOptions
type UpdateTopicOption ¶
type UpdateTopicOption func(*UpdateTopicOptions)
type UpdateTopicOptions ¶
type UpdateTopicOptions struct { Name string Subscribe []string // contains filtered or unexported fields }
func (UpdateTopicOptions) New ¶
func (options UpdateTopicOptions) New() *UpdateTopicOptions
type UpdateTwilioProviderOption ¶
type UpdateTwilioProviderOption func(*UpdateTwilioProviderOptions)
type UpdateTwilioProviderOptions ¶
type UpdateTwilioProviderOptions struct { Name string Enabled bool AccountSid string AuthToken string From string // contains filtered or unexported fields }
func (UpdateTwilioProviderOptions) New ¶
func (options UpdateTwilioProviderOptions) New() *UpdateTwilioProviderOptions
type UpdateVonageProviderOption ¶
type UpdateVonageProviderOption func(*UpdateVonageProviderOptions)
type UpdateVonageProviderOptions ¶
type UpdateVonageProviderOptions struct { Name string Enabled bool ApiKey string ApiSecret string From string // contains filtered or unexported fields }
func (UpdateVonageProviderOptions) New ¶
func (options UpdateVonageProviderOptions) New() *UpdateVonageProviderOptions