Documentation
¶
Index ¶
- type CreateApnsProviderOption
- type CreateApnsProviderOptions
- type CreateEmailOption
- type CreateEmailOptions
- type CreateFcmProviderOption
- type CreateFcmProviderOptions
- type CreateMailgunProviderOption
- type CreateMailgunProviderOptions
- type CreateMsg91ProviderOption
- type CreateMsg91ProviderOptions
- type CreatePushOption
- type CreatePushOptions
- 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) 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) 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) CreateSendgridProvider(ProviderId string, Name string, ...) (*models.Provider, 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) 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) UpdateEmail(MessageId string, optionalSetters ...UpdateEmailOption) (*models.Message, error)
- func (srv *Messaging) UpdateFcmProvider(ProviderId string, optionalSetters ...UpdateFcmProviderOption) (*models.Provider, error)
- 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) UpdateSendgridProvider(ProviderId string, optionalSetters ...UpdateSendgridProviderOption) (*models.Provider, 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) 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) 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) 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) 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) 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) 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) 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 UpdateEmailOption
- type UpdateEmailOptions
- type UpdateFcmProviderOption
- type UpdateFcmProviderOptions
- type UpdateMailgunProviderOption
- type UpdateMailgunProviderOptions
- type UpdateMsg91ProviderOption
- type UpdateMsg91ProviderOptions
- type UpdatePushOption
- type UpdatePushOptions
- 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 ¶
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 ¶
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 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 ¶
func (srv *Messaging) CreateApnsProvider(ProviderId string, Name string, optionalSetters ...CreateApnsProviderOption) (*models.Provider, error)
CreateApnsProvider create a new Apple Push Notification service provider.
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 ¶
func (srv *Messaging) CreateFcmProvider(ProviderId string, Name string, optionalSetters ...CreateFcmProviderOption) (*models.Provider, error)
CreateFcmProvider create a new Firebase Cloud Messaging provider.
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) CreateSendgridProvider ¶
func (srv *Messaging) CreateSendgridProvider(ProviderId string, Name string, optionalSetters ...CreateSendgridProviderOption) (*models.Provider, error)
CreateSendgridProvider create a new Sendgrid provider.
func (*Messaging) CreateSms ¶
func (srv *Messaging) CreateSms(MessageId string, Content string, optionalSetters ...CreateSmsOption) (*models.Message, error)
CreateSms create a new SMS message.
func (*Messaging) CreateSmtpProvider ¶
func (srv *Messaging) CreateSmtpProvider(ProviderId string, Name string, Host string, optionalSetters ...CreateSmtpProviderOption) (*models.Provider, error)
CreateSmtpProvider create a new SMTP provider.
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 ¶
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) 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 ¶
func (srv *Messaging) UpdateFcmProvider(ProviderId string, optionalSetters ...UpdateFcmProviderOption) (*models.Provider, error)
UpdateFcmProvider update a Firebase Cloud Messaging provider by its unique ID.
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) UpdateSendgridProvider ¶
func (srv *Messaging) UpdateSendgridProvider(ProviderId string, optionalSetters ...UpdateSendgridProviderOption) (*models.Provider, error)
UpdateSendgridProvider update a Sendgrid provider by its unique ID.
func (*Messaging) UpdateSms ¶
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 ¶
func (srv *Messaging) UpdateSmtpProvider(ProviderId string, optionalSetters ...UpdateSmtpProviderOption) (*models.Provider, error)
UpdateSmtpProvider update a SMTP provider by its unique ID.
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 ¶
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 ¶
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) 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 ¶
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 ¶
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) 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 ¶
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 ¶
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 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