Documentation ¶
Index ¶
- type ApiService
- func (c *ApiService) CreateConfigurationAddress(params *CreateConfigurationAddressParams) (*ConversationsV1ConfigurationAddress, error)
- func (c *ApiService) CreateConversation(params *CreateConversationParams) (*ConversationsV1Conversation, error)
- func (c *ApiService) CreateConversationMessage(ConversationSid string, params *CreateConversationMessageParams) (*ConversationsV1ConversationMessage, error)
- func (c *ApiService) CreateConversationParticipant(ConversationSid string, params *CreateConversationParticipantParams) (*ConversationsV1ConversationParticipant, error)
- func (c *ApiService) CreateConversationScopedWebhook(ConversationSid string, params *CreateConversationScopedWebhookParams) (*ConversationsV1ConversationScopedWebhook, error)
- func (c *ApiService) CreateCredential(params *CreateCredentialParams) (*ConversationsV1Credential, error)
- func (c *ApiService) CreateRole(params *CreateRoleParams) (*ConversationsV1Role, error)
- func (c *ApiService) CreateService(params *CreateServiceParams) (*ConversationsV1Service, error)
- func (c *ApiService) CreateServiceConversation(ChatServiceSid string, params *CreateServiceConversationParams) (*ConversationsV1ServiceConversation, error)
- func (c *ApiService) CreateServiceConversationMessage(ChatServiceSid string, ConversationSid string, ...) (*ConversationsV1ServiceConversationMessage, error)
- func (c *ApiService) CreateServiceConversationParticipant(ChatServiceSid string, ConversationSid string, ...) (*ConversationsV1ServiceConversationParticipant, error)
- func (c *ApiService) CreateServiceConversationScopedWebhook(ChatServiceSid string, ConversationSid string, ...) (*ConversationsV1ServiceConversationScopedWebhook, error)
- func (c *ApiService) CreateServiceRole(ChatServiceSid string, params *CreateServiceRoleParams) (*ConversationsV1ServiceRole, error)
- func (c *ApiService) CreateServiceUser(ChatServiceSid string, params *CreateServiceUserParams) (*ConversationsV1ServiceUser, error)
- func (c *ApiService) CreateUser(params *CreateUserParams) (*ConversationsV1User, error)
- func (c *ApiService) DeleteConfigurationAddress(Sid string) error
- func (c *ApiService) DeleteConversation(Sid string, params *DeleteConversationParams) error
- func (c *ApiService) DeleteConversationMessage(ConversationSid string, Sid string, params *DeleteConversationMessageParams) error
- func (c *ApiService) DeleteConversationParticipant(ConversationSid string, Sid string, ...) error
- func (c *ApiService) DeleteConversationScopedWebhook(ConversationSid string, Sid string) error
- func (c *ApiService) DeleteCredential(Sid string) error
- func (c *ApiService) DeleteRole(Sid string) error
- func (c *ApiService) DeleteService(Sid string) error
- func (c *ApiService) DeleteServiceBinding(ChatServiceSid string, Sid string) error
- func (c *ApiService) DeleteServiceConversation(ChatServiceSid string, Sid string, params *DeleteServiceConversationParams) error
- func (c *ApiService) DeleteServiceConversationMessage(ChatServiceSid string, ConversationSid string, Sid string, ...) error
- func (c *ApiService) DeleteServiceConversationParticipant(ChatServiceSid string, ConversationSid string, Sid string, ...) error
- func (c *ApiService) DeleteServiceConversationScopedWebhook(ChatServiceSid string, ConversationSid string, Sid string) error
- func (c *ApiService) DeleteServiceRole(ChatServiceSid string, Sid string) error
- func (c *ApiService) DeleteServiceUser(ChatServiceSid string, Sid string, params *DeleteServiceUserParams) error
- func (c *ApiService) DeleteServiceUserConversation(ChatServiceSid string, UserSid string, ConversationSid string) error
- func (c *ApiService) DeleteUser(Sid string, params *DeleteUserParams) error
- func (c *ApiService) DeleteUserConversation(UserSid string, ConversationSid string) error
- func (c *ApiService) FetchConfiguration() (*ConversationsV1Configuration, error)
- func (c *ApiService) FetchConfigurationAddress(Sid string) (*ConversationsV1ConfigurationAddress, error)
- func (c *ApiService) FetchConfigurationWebhook() (*ConversationsV1ConfigurationWebhook, error)
- func (c *ApiService) FetchConversation(Sid string) (*ConversationsV1Conversation, error)
- func (c *ApiService) FetchConversationMessage(ConversationSid string, Sid string) (*ConversationsV1ConversationMessage, error)
- func (c *ApiService) FetchConversationMessageReceipt(ConversationSid string, MessageSid string, Sid string) (*ConversationsV1ConversationMessageReceipt, error)
- func (c *ApiService) FetchConversationParticipant(ConversationSid string, Sid string) (*ConversationsV1ConversationParticipant, error)
- func (c *ApiService) FetchConversationScopedWebhook(ConversationSid string, Sid string) (*ConversationsV1ConversationScopedWebhook, error)
- func (c *ApiService) FetchCredential(Sid string) (*ConversationsV1Credential, error)
- func (c *ApiService) FetchRole(Sid string) (*ConversationsV1Role, error)
- func (c *ApiService) FetchService(Sid string) (*ConversationsV1Service, error)
- func (c *ApiService) FetchServiceBinding(ChatServiceSid string, Sid string) (*ConversationsV1ServiceBinding, error)
- func (c *ApiService) FetchServiceConfiguration(ChatServiceSid string) (*ConversationsV1ServiceConfiguration, error)
- func (c *ApiService) FetchServiceConversation(ChatServiceSid string, Sid string) (*ConversationsV1ServiceConversation, error)
- func (c *ApiService) FetchServiceConversationMessage(ChatServiceSid string, ConversationSid string, Sid string) (*ConversationsV1ServiceConversationMessage, error)
- func (c *ApiService) FetchServiceConversationMessageReceipt(ChatServiceSid string, ConversationSid string, MessageSid string, Sid string) (*ConversationsV1ServiceConversationMessageReceipt, error)
- func (c *ApiService) FetchServiceConversationParticipant(ChatServiceSid string, ConversationSid string, Sid string) (*ConversationsV1ServiceConversationParticipant, error)
- func (c *ApiService) FetchServiceConversationScopedWebhook(ChatServiceSid string, ConversationSid string, Sid string) (*ConversationsV1ServiceConversationScopedWebhook, error)
- func (c *ApiService) FetchServiceNotification(ChatServiceSid string) (*ConversationsV1ServiceNotification, error)
- func (c *ApiService) FetchServiceRole(ChatServiceSid string, Sid string) (*ConversationsV1ServiceRole, error)
- func (c *ApiService) FetchServiceUser(ChatServiceSid string, Sid string) (*ConversationsV1ServiceUser, error)
- func (c *ApiService) FetchServiceUserConversation(ChatServiceSid string, UserSid string, ConversationSid string) (*ConversationsV1ServiceUserConversation, error)
- func (c *ApiService) FetchServiceWebhookConfiguration(ChatServiceSid string) (*ConversationsV1ServiceWebhookConfiguration, error)
- func (c *ApiService) FetchUser(Sid string) (*ConversationsV1User, error)
- func (c *ApiService) FetchUserConversation(UserSid string, ConversationSid string) (*ConversationsV1UserConversation, error)
- func (c *ApiService) ListConfigurationAddress(params *ListConfigurationAddressParams) ([]ConversationsV1ConfigurationAddress, error)
- func (c *ApiService) ListConversation(params *ListConversationParams) ([]ConversationsV1Conversation, error)
- func (c *ApiService) ListConversationMessage(ConversationSid string, params *ListConversationMessageParams) ([]ConversationsV1ConversationMessage, error)
- func (c *ApiService) ListConversationMessageReceipt(ConversationSid string, MessageSid string, ...) ([]ConversationsV1ConversationMessageReceipt, error)
- func (c *ApiService) ListConversationParticipant(ConversationSid string, params *ListConversationParticipantParams) ([]ConversationsV1ConversationParticipant, error)
- func (c *ApiService) ListConversationScopedWebhook(ConversationSid string, params *ListConversationScopedWebhookParams) ([]ConversationsV1ConversationScopedWebhook, error)
- func (c *ApiService) ListCredential(params *ListCredentialParams) ([]ConversationsV1Credential, error)
- func (c *ApiService) ListParticipantConversation(params *ListParticipantConversationParams) ([]ConversationsV1ParticipantConversation, error)
- func (c *ApiService) ListRole(params *ListRoleParams) ([]ConversationsV1Role, error)
- func (c *ApiService) ListService(params *ListServiceParams) ([]ConversationsV1Service, error)
- func (c *ApiService) ListServiceBinding(ChatServiceSid string, params *ListServiceBindingParams) ([]ConversationsV1ServiceBinding, error)
- func (c *ApiService) ListServiceConversation(ChatServiceSid string, params *ListServiceConversationParams) ([]ConversationsV1ServiceConversation, error)
- func (c *ApiService) ListServiceConversationMessage(ChatServiceSid string, ConversationSid string, ...) ([]ConversationsV1ServiceConversationMessage, error)
- func (c *ApiService) ListServiceConversationMessageReceipt(ChatServiceSid string, ConversationSid string, MessageSid string, ...) ([]ConversationsV1ServiceConversationMessageReceipt, error)
- func (c *ApiService) ListServiceConversationParticipant(ChatServiceSid string, ConversationSid string, ...) ([]ConversationsV1ServiceConversationParticipant, error)
- func (c *ApiService) ListServiceConversationScopedWebhook(ChatServiceSid string, ConversationSid string, ...) ([]ConversationsV1ServiceConversationScopedWebhook, error)
- func (c *ApiService) ListServiceParticipantConversation(ChatServiceSid string, params *ListServiceParticipantConversationParams) ([]ConversationsV1ServiceParticipantConversation, error)
- func (c *ApiService) ListServiceRole(ChatServiceSid string, params *ListServiceRoleParams) ([]ConversationsV1ServiceRole, error)
- func (c *ApiService) ListServiceUser(ChatServiceSid string, params *ListServiceUserParams) ([]ConversationsV1ServiceUser, error)
- func (c *ApiService) ListServiceUserConversation(ChatServiceSid string, UserSid string, ...) ([]ConversationsV1ServiceUserConversation, error)
- func (c *ApiService) ListUser(params *ListUserParams) ([]ConversationsV1User, error)
- func (c *ApiService) ListUserConversation(UserSid string, params *ListUserConversationParams) ([]ConversationsV1UserConversation, error)
- func (c *ApiService) PageConfigurationAddress(params *ListConfigurationAddressParams, pageToken, pageNumber string) (*ListConfigurationAddressResponse, error)
- func (c *ApiService) PageConversation(params *ListConversationParams, pageToken, pageNumber string) (*ListConversationResponse, error)
- func (c *ApiService) PageConversationMessage(ConversationSid string, params *ListConversationMessageParams, ...) (*ListConversationMessageResponse, error)
- func (c *ApiService) PageConversationMessageReceipt(ConversationSid string, MessageSid string, ...) (*ListConversationMessageReceiptResponse, error)
- func (c *ApiService) PageConversationParticipant(ConversationSid string, params *ListConversationParticipantParams, ...) (*ListConversationParticipantResponse, error)
- func (c *ApiService) PageConversationScopedWebhook(ConversationSid string, params *ListConversationScopedWebhookParams, ...) (*ListConversationScopedWebhookResponse, error)
- func (c *ApiService) PageCredential(params *ListCredentialParams, pageToken, pageNumber string) (*ListCredentialResponse, error)
- func (c *ApiService) PageParticipantConversation(params *ListParticipantConversationParams, pageToken, pageNumber string) (*ListParticipantConversationResponse, error)
- func (c *ApiService) PageRole(params *ListRoleParams, pageToken, pageNumber string) (*ListRoleResponse, error)
- func (c *ApiService) PageService(params *ListServiceParams, pageToken, pageNumber string) (*ListServiceResponse, error)
- func (c *ApiService) PageServiceBinding(ChatServiceSid string, params *ListServiceBindingParams, ...) (*ListServiceBindingResponse, error)
- func (c *ApiService) PageServiceConversation(ChatServiceSid string, params *ListServiceConversationParams, ...) (*ListServiceConversationResponse, error)
- func (c *ApiService) PageServiceConversationMessage(ChatServiceSid string, ConversationSid string, ...) (*ListServiceConversationMessageResponse, error)
- func (c *ApiService) PageServiceConversationMessageReceipt(ChatServiceSid string, ConversationSid string, MessageSid string, ...) (*ListServiceConversationMessageReceiptResponse, error)
- func (c *ApiService) PageServiceConversationParticipant(ChatServiceSid string, ConversationSid string, ...) (*ListServiceConversationParticipantResponse, error)
- func (c *ApiService) PageServiceConversationScopedWebhook(ChatServiceSid string, ConversationSid string, ...) (*ListServiceConversationScopedWebhookResponse, error)
- func (c *ApiService) PageServiceParticipantConversation(ChatServiceSid string, params *ListServiceParticipantConversationParams, ...) (*ListServiceParticipantConversationResponse, error)
- func (c *ApiService) PageServiceRole(ChatServiceSid string, params *ListServiceRoleParams, ...) (*ListServiceRoleResponse, error)
- func (c *ApiService) PageServiceUser(ChatServiceSid string, params *ListServiceUserParams, ...) (*ListServiceUserResponse, error)
- func (c *ApiService) PageServiceUserConversation(ChatServiceSid string, UserSid string, ...) (*ListServiceUserConversationResponse, error)
- func (c *ApiService) PageUser(params *ListUserParams, pageToken, pageNumber string) (*ListUserResponse, error)
- func (c *ApiService) PageUserConversation(UserSid string, params *ListUserConversationParams, ...) (*ListUserConversationResponse, error)
- func (c *ApiService) StreamConfigurationAddress(params *ListConfigurationAddressParams) (chan ConversationsV1ConfigurationAddress, chan error)
- func (c *ApiService) StreamConversation(params *ListConversationParams) (chan ConversationsV1Conversation, chan error)
- func (c *ApiService) StreamConversationMessage(ConversationSid string, params *ListConversationMessageParams) (chan ConversationsV1ConversationMessage, chan error)
- func (c *ApiService) StreamConversationMessageReceipt(ConversationSid string, MessageSid string, ...) (chan ConversationsV1ConversationMessageReceipt, chan error)
- func (c *ApiService) StreamConversationParticipant(ConversationSid string, params *ListConversationParticipantParams) (chan ConversationsV1ConversationParticipant, chan error)
- func (c *ApiService) StreamConversationScopedWebhook(ConversationSid string, params *ListConversationScopedWebhookParams) (chan ConversationsV1ConversationScopedWebhook, chan error)
- func (c *ApiService) StreamCredential(params *ListCredentialParams) (chan ConversationsV1Credential, chan error)
- func (c *ApiService) StreamParticipantConversation(params *ListParticipantConversationParams) (chan ConversationsV1ParticipantConversation, chan error)
- func (c *ApiService) StreamRole(params *ListRoleParams) (chan ConversationsV1Role, chan error)
- func (c *ApiService) StreamService(params *ListServiceParams) (chan ConversationsV1Service, chan error)
- func (c *ApiService) StreamServiceBinding(ChatServiceSid string, params *ListServiceBindingParams) (chan ConversationsV1ServiceBinding, chan error)
- func (c *ApiService) StreamServiceConversation(ChatServiceSid string, params *ListServiceConversationParams) (chan ConversationsV1ServiceConversation, chan error)
- func (c *ApiService) StreamServiceConversationMessage(ChatServiceSid string, ConversationSid string, ...) (chan ConversationsV1ServiceConversationMessage, chan error)
- func (c *ApiService) StreamServiceConversationMessageReceipt(ChatServiceSid string, ConversationSid string, MessageSid string, ...) (chan ConversationsV1ServiceConversationMessageReceipt, chan error)
- func (c *ApiService) StreamServiceConversationParticipant(ChatServiceSid string, ConversationSid string, ...) (chan ConversationsV1ServiceConversationParticipant, chan error)
- func (c *ApiService) StreamServiceConversationScopedWebhook(ChatServiceSid string, ConversationSid string, ...) (chan ConversationsV1ServiceConversationScopedWebhook, chan error)
- func (c *ApiService) StreamServiceParticipantConversation(ChatServiceSid string, params *ListServiceParticipantConversationParams) (chan ConversationsV1ServiceParticipantConversation, chan error)
- func (c *ApiService) StreamServiceRole(ChatServiceSid string, params *ListServiceRoleParams) (chan ConversationsV1ServiceRole, chan error)
- func (c *ApiService) StreamServiceUser(ChatServiceSid string, params *ListServiceUserParams) (chan ConversationsV1ServiceUser, chan error)
- func (c *ApiService) StreamServiceUserConversation(ChatServiceSid string, UserSid string, ...) (chan ConversationsV1ServiceUserConversation, chan error)
- func (c *ApiService) StreamUser(params *ListUserParams) (chan ConversationsV1User, chan error)
- func (c *ApiService) StreamUserConversation(UserSid string, params *ListUserConversationParams) (chan ConversationsV1UserConversation, chan error)
- func (c *ApiService) UpdateConfiguration(params *UpdateConfigurationParams) (*ConversationsV1Configuration, error)
- func (c *ApiService) UpdateConfigurationAddress(Sid string, params *UpdateConfigurationAddressParams) (*ConversationsV1ConfigurationAddress, error)
- func (c *ApiService) UpdateConfigurationWebhook(params *UpdateConfigurationWebhookParams) (*ConversationsV1ConfigurationWebhook, error)
- func (c *ApiService) UpdateConversation(Sid string, params *UpdateConversationParams) (*ConversationsV1Conversation, error)
- func (c *ApiService) UpdateConversationMessage(ConversationSid string, Sid string, params *UpdateConversationMessageParams) (*ConversationsV1ConversationMessage, error)
- func (c *ApiService) UpdateConversationParticipant(ConversationSid string, Sid string, ...) (*ConversationsV1ConversationParticipant, error)
- func (c *ApiService) UpdateConversationScopedWebhook(ConversationSid string, Sid string, ...) (*ConversationsV1ConversationScopedWebhook, error)
- func (c *ApiService) UpdateCredential(Sid string, params *UpdateCredentialParams) (*ConversationsV1Credential, error)
- func (c *ApiService) UpdateRole(Sid string, params *UpdateRoleParams) (*ConversationsV1Role, error)
- func (c *ApiService) UpdateServiceConfiguration(ChatServiceSid string, params *UpdateServiceConfigurationParams) (*ConversationsV1ServiceConfiguration, error)
- func (c *ApiService) UpdateServiceConversation(ChatServiceSid string, Sid string, params *UpdateServiceConversationParams) (*ConversationsV1ServiceConversation, error)
- func (c *ApiService) UpdateServiceConversationMessage(ChatServiceSid string, ConversationSid string, Sid string, ...) (*ConversationsV1ServiceConversationMessage, error)
- func (c *ApiService) UpdateServiceConversationParticipant(ChatServiceSid string, ConversationSid string, Sid string, ...) (*ConversationsV1ServiceConversationParticipant, error)
- func (c *ApiService) UpdateServiceConversationScopedWebhook(ChatServiceSid string, ConversationSid string, Sid string, ...) (*ConversationsV1ServiceConversationScopedWebhook, error)
- func (c *ApiService) UpdateServiceNotification(ChatServiceSid string, params *UpdateServiceNotificationParams) (*ConversationsV1ServiceNotification, error)
- func (c *ApiService) UpdateServiceRole(ChatServiceSid string, Sid string, params *UpdateServiceRoleParams) (*ConversationsV1ServiceRole, error)
- func (c *ApiService) UpdateServiceUser(ChatServiceSid string, Sid string, params *UpdateServiceUserParams) (*ConversationsV1ServiceUser, error)
- func (c *ApiService) UpdateServiceUserConversation(ChatServiceSid string, UserSid string, ConversationSid string, ...) (*ConversationsV1ServiceUserConversation, error)
- func (c *ApiService) UpdateServiceWebhookConfiguration(ChatServiceSid string, params *UpdateServiceWebhookConfigurationParams) (*ConversationsV1ServiceWebhookConfiguration, error)
- func (c *ApiService) UpdateUser(Sid string, params *UpdateUserParams) (*ConversationsV1User, error)
- func (c *ApiService) UpdateUserConversation(UserSid string, ConversationSid string, params *UpdateUserConversationParams) (*ConversationsV1UserConversation, error)
- type ConversationsV1Configuration
- type ConversationsV1ConfigurationAddress
- type ConversationsV1ConfigurationWebhook
- type ConversationsV1Conversation
- type ConversationsV1ConversationMessage
- type ConversationsV1ConversationMessageReceipt
- type ConversationsV1ConversationParticipant
- type ConversationsV1ConversationScopedWebhook
- type ConversationsV1Credential
- type ConversationsV1ParticipantConversation
- type ConversationsV1Role
- type ConversationsV1Service
- type ConversationsV1ServiceBinding
- type ConversationsV1ServiceConfiguration
- type ConversationsV1ServiceConversation
- type ConversationsV1ServiceConversationMessage
- type ConversationsV1ServiceConversationMessageReceipt
- type ConversationsV1ServiceConversationParticipant
- type ConversationsV1ServiceConversationScopedWebhook
- type ConversationsV1ServiceNotification
- type ConversationsV1ServiceParticipantConversation
- type ConversationsV1ServiceRole
- type ConversationsV1ServiceUser
- type ConversationsV1ServiceUserConversation
- type ConversationsV1ServiceWebhookConfiguration
- type ConversationsV1User
- type ConversationsV1UserConversation
- type CreateConfigurationAddressParams
- func (params *CreateConfigurationAddressParams) SetAddress(Address string) *CreateConfigurationAddressParams
- func (params *CreateConfigurationAddressParams) SetAddressCountry(AddressCountry string) *CreateConfigurationAddressParams
- func (params *CreateConfigurationAddressParams) SetAutoCreationConversationServiceSid(AutoCreationConversationServiceSid string) *CreateConfigurationAddressParams
- func (params *CreateConfigurationAddressParams) SetAutoCreationEnabled(AutoCreationEnabled bool) *CreateConfigurationAddressParams
- func (params *CreateConfigurationAddressParams) SetAutoCreationStudioFlowSid(AutoCreationStudioFlowSid string) *CreateConfigurationAddressParams
- func (params *CreateConfigurationAddressParams) SetAutoCreationStudioRetryCount(AutoCreationStudioRetryCount int) *CreateConfigurationAddressParams
- func (params *CreateConfigurationAddressParams) SetAutoCreationType(AutoCreationType string) *CreateConfigurationAddressParams
- func (params *CreateConfigurationAddressParams) SetAutoCreationWebhookFilters(AutoCreationWebhookFilters []string) *CreateConfigurationAddressParams
- func (params *CreateConfigurationAddressParams) SetAutoCreationWebhookMethod(AutoCreationWebhookMethod string) *CreateConfigurationAddressParams
- func (params *CreateConfigurationAddressParams) SetAutoCreationWebhookUrl(AutoCreationWebhookUrl string) *CreateConfigurationAddressParams
- func (params *CreateConfigurationAddressParams) SetFriendlyName(FriendlyName string) *CreateConfigurationAddressParams
- func (params *CreateConfigurationAddressParams) SetType(Type string) *CreateConfigurationAddressParams
- type CreateConversationMessageParams
- func (params *CreateConversationMessageParams) SetAttributes(Attributes string) *CreateConversationMessageParams
- func (params *CreateConversationMessageParams) SetAuthor(Author string) *CreateConversationMessageParams
- func (params *CreateConversationMessageParams) SetBody(Body string) *CreateConversationMessageParams
- func (params *CreateConversationMessageParams) SetContentSid(ContentSid string) *CreateConversationMessageParams
- func (params *CreateConversationMessageParams) SetContentVariables(ContentVariables string) *CreateConversationMessageParams
- func (params *CreateConversationMessageParams) SetDateCreated(DateCreated time.Time) *CreateConversationMessageParams
- func (params *CreateConversationMessageParams) SetDateUpdated(DateUpdated time.Time) *CreateConversationMessageParams
- func (params *CreateConversationMessageParams) SetMediaSid(MediaSid string) *CreateConversationMessageParams
- func (params *CreateConversationMessageParams) SetSubject(Subject string) *CreateConversationMessageParams
- func (params *CreateConversationMessageParams) SetXTwilioWebhookEnabled(XTwilioWebhookEnabled string) *CreateConversationMessageParams
- type CreateConversationParams
- func (params *CreateConversationParams) SetAttributes(Attributes string) *CreateConversationParams
- func (params *CreateConversationParams) SetBindingsEmailAddress(BindingsEmailAddress string) *CreateConversationParams
- func (params *CreateConversationParams) SetBindingsEmailName(BindingsEmailName string) *CreateConversationParams
- func (params *CreateConversationParams) SetDateCreated(DateCreated time.Time) *CreateConversationParams
- func (params *CreateConversationParams) SetDateUpdated(DateUpdated time.Time) *CreateConversationParams
- func (params *CreateConversationParams) SetFriendlyName(FriendlyName string) *CreateConversationParams
- func (params *CreateConversationParams) SetMessagingServiceSid(MessagingServiceSid string) *CreateConversationParams
- func (params *CreateConversationParams) SetState(State string) *CreateConversationParams
- func (params *CreateConversationParams) SetTimersClosed(TimersClosed string) *CreateConversationParams
- func (params *CreateConversationParams) SetTimersInactive(TimersInactive string) *CreateConversationParams
- func (params *CreateConversationParams) SetUniqueName(UniqueName string) *CreateConversationParams
- func (params *CreateConversationParams) SetXTwilioWebhookEnabled(XTwilioWebhookEnabled string) *CreateConversationParams
- type CreateConversationParticipantParams
- func (params *CreateConversationParticipantParams) SetAttributes(Attributes string) *CreateConversationParticipantParams
- func (params *CreateConversationParticipantParams) SetDateCreated(DateCreated time.Time) *CreateConversationParticipantParams
- func (params *CreateConversationParticipantParams) SetDateUpdated(DateUpdated time.Time) *CreateConversationParticipantParams
- func (params *CreateConversationParticipantParams) SetIdentity(Identity string) *CreateConversationParticipantParams
- func (params *CreateConversationParticipantParams) SetMessagingBindingAddress(MessagingBindingAddress string) *CreateConversationParticipantParams
- func (params *CreateConversationParticipantParams) SetMessagingBindingProjectedAddress(MessagingBindingProjectedAddress string) *CreateConversationParticipantParams
- func (params *CreateConversationParticipantParams) SetMessagingBindingProxyAddress(MessagingBindingProxyAddress string) *CreateConversationParticipantParams
- func (params *CreateConversationParticipantParams) SetRoleSid(RoleSid string) *CreateConversationParticipantParams
- func (params *CreateConversationParticipantParams) SetXTwilioWebhookEnabled(XTwilioWebhookEnabled string) *CreateConversationParticipantParams
- type CreateConversationScopedWebhookParams
- func (params *CreateConversationScopedWebhookParams) SetConfigurationFilters(ConfigurationFilters []string) *CreateConversationScopedWebhookParams
- func (params *CreateConversationScopedWebhookParams) SetConfigurationFlowSid(ConfigurationFlowSid string) *CreateConversationScopedWebhookParams
- func (params *CreateConversationScopedWebhookParams) SetConfigurationMethod(ConfigurationMethod string) *CreateConversationScopedWebhookParams
- func (params *CreateConversationScopedWebhookParams) SetConfigurationReplayAfter(ConfigurationReplayAfter int) *CreateConversationScopedWebhookParams
- func (params *CreateConversationScopedWebhookParams) SetConfigurationTriggers(ConfigurationTriggers []string) *CreateConversationScopedWebhookParams
- func (params *CreateConversationScopedWebhookParams) SetConfigurationUrl(ConfigurationUrl string) *CreateConversationScopedWebhookParams
- func (params *CreateConversationScopedWebhookParams) SetTarget(Target string) *CreateConversationScopedWebhookParams
- type CreateCredentialParams
- func (params *CreateCredentialParams) SetApiKey(ApiKey string) *CreateCredentialParams
- func (params *CreateCredentialParams) SetCertificate(Certificate string) *CreateCredentialParams
- func (params *CreateCredentialParams) SetFriendlyName(FriendlyName string) *CreateCredentialParams
- func (params *CreateCredentialParams) SetPrivateKey(PrivateKey string) *CreateCredentialParams
- func (params *CreateCredentialParams) SetSandbox(Sandbox bool) *CreateCredentialParams
- func (params *CreateCredentialParams) SetSecret(Secret string) *CreateCredentialParams
- func (params *CreateCredentialParams) SetType(Type string) *CreateCredentialParams
- type CreateRoleParams
- type CreateServiceConversationMessageParams
- func (params *CreateServiceConversationMessageParams) SetAttributes(Attributes string) *CreateServiceConversationMessageParams
- func (params *CreateServiceConversationMessageParams) SetAuthor(Author string) *CreateServiceConversationMessageParams
- func (params *CreateServiceConversationMessageParams) SetBody(Body string) *CreateServiceConversationMessageParams
- func (params *CreateServiceConversationMessageParams) SetContentSid(ContentSid string) *CreateServiceConversationMessageParams
- func (params *CreateServiceConversationMessageParams) SetContentVariables(ContentVariables string) *CreateServiceConversationMessageParams
- func (params *CreateServiceConversationMessageParams) SetDateCreated(DateCreated time.Time) *CreateServiceConversationMessageParams
- func (params *CreateServiceConversationMessageParams) SetDateUpdated(DateUpdated time.Time) *CreateServiceConversationMessageParams
- func (params *CreateServiceConversationMessageParams) SetMediaSid(MediaSid string) *CreateServiceConversationMessageParams
- func (params *CreateServiceConversationMessageParams) SetSubject(Subject string) *CreateServiceConversationMessageParams
- func (params *CreateServiceConversationMessageParams) SetXTwilioWebhookEnabled(XTwilioWebhookEnabled string) *CreateServiceConversationMessageParams
- type CreateServiceConversationParams
- func (params *CreateServiceConversationParams) SetAttributes(Attributes string) *CreateServiceConversationParams
- func (params *CreateServiceConversationParams) SetBindingsEmailAddress(BindingsEmailAddress string) *CreateServiceConversationParams
- func (params *CreateServiceConversationParams) SetBindingsEmailName(BindingsEmailName string) *CreateServiceConversationParams
- func (params *CreateServiceConversationParams) SetDateCreated(DateCreated time.Time) *CreateServiceConversationParams
- func (params *CreateServiceConversationParams) SetDateUpdated(DateUpdated time.Time) *CreateServiceConversationParams
- func (params *CreateServiceConversationParams) SetFriendlyName(FriendlyName string) *CreateServiceConversationParams
- func (params *CreateServiceConversationParams) SetMessagingServiceSid(MessagingServiceSid string) *CreateServiceConversationParams
- func (params *CreateServiceConversationParams) SetState(State string) *CreateServiceConversationParams
- func (params *CreateServiceConversationParams) SetTimersClosed(TimersClosed string) *CreateServiceConversationParams
- func (params *CreateServiceConversationParams) SetTimersInactive(TimersInactive string) *CreateServiceConversationParams
- func (params *CreateServiceConversationParams) SetUniqueName(UniqueName string) *CreateServiceConversationParams
- func (params *CreateServiceConversationParams) SetXTwilioWebhookEnabled(XTwilioWebhookEnabled string) *CreateServiceConversationParams
- type CreateServiceConversationParticipantParams
- func (params *CreateServiceConversationParticipantParams) SetAttributes(Attributes string) *CreateServiceConversationParticipantParams
- func (params *CreateServiceConversationParticipantParams) SetDateCreated(DateCreated time.Time) *CreateServiceConversationParticipantParams
- func (params *CreateServiceConversationParticipantParams) SetDateUpdated(DateUpdated time.Time) *CreateServiceConversationParticipantParams
- func (params *CreateServiceConversationParticipantParams) SetIdentity(Identity string) *CreateServiceConversationParticipantParams
- func (params *CreateServiceConversationParticipantParams) SetMessagingBindingAddress(MessagingBindingAddress string) *CreateServiceConversationParticipantParams
- func (params *CreateServiceConversationParticipantParams) SetMessagingBindingProjectedAddress(MessagingBindingProjectedAddress string) *CreateServiceConversationParticipantParams
- func (params *CreateServiceConversationParticipantParams) SetMessagingBindingProxyAddress(MessagingBindingProxyAddress string) *CreateServiceConversationParticipantParams
- func (params *CreateServiceConversationParticipantParams) SetRoleSid(RoleSid string) *CreateServiceConversationParticipantParams
- func (params *CreateServiceConversationParticipantParams) SetXTwilioWebhookEnabled(XTwilioWebhookEnabled string) *CreateServiceConversationParticipantParams
- type CreateServiceConversationScopedWebhookParams
- func (params *CreateServiceConversationScopedWebhookParams) SetConfigurationFilters(ConfigurationFilters []string) *CreateServiceConversationScopedWebhookParams
- func (params *CreateServiceConversationScopedWebhookParams) SetConfigurationFlowSid(ConfigurationFlowSid string) *CreateServiceConversationScopedWebhookParams
- func (params *CreateServiceConversationScopedWebhookParams) SetConfigurationMethod(ConfigurationMethod string) *CreateServiceConversationScopedWebhookParams
- func (params *CreateServiceConversationScopedWebhookParams) SetConfigurationReplayAfter(ConfigurationReplayAfter int) *CreateServiceConversationScopedWebhookParams
- func (params *CreateServiceConversationScopedWebhookParams) SetConfigurationTriggers(ConfigurationTriggers []string) *CreateServiceConversationScopedWebhookParams
- func (params *CreateServiceConversationScopedWebhookParams) SetConfigurationUrl(ConfigurationUrl string) *CreateServiceConversationScopedWebhookParams
- func (params *CreateServiceConversationScopedWebhookParams) SetTarget(Target string) *CreateServiceConversationScopedWebhookParams
- type CreateServiceParams
- type CreateServiceRoleParams
- type CreateServiceUserParams
- func (params *CreateServiceUserParams) SetAttributes(Attributes string) *CreateServiceUserParams
- func (params *CreateServiceUserParams) SetFriendlyName(FriendlyName string) *CreateServiceUserParams
- func (params *CreateServiceUserParams) SetIdentity(Identity string) *CreateServiceUserParams
- func (params *CreateServiceUserParams) SetRoleSid(RoleSid string) *CreateServiceUserParams
- func (params *CreateServiceUserParams) SetXTwilioWebhookEnabled(XTwilioWebhookEnabled string) *CreateServiceUserParams
- type CreateUserParams
- func (params *CreateUserParams) SetAttributes(Attributes string) *CreateUserParams
- func (params *CreateUserParams) SetFriendlyName(FriendlyName string) *CreateUserParams
- func (params *CreateUserParams) SetIdentity(Identity string) *CreateUserParams
- func (params *CreateUserParams) SetRoleSid(RoleSid string) *CreateUserParams
- func (params *CreateUserParams) SetXTwilioWebhookEnabled(XTwilioWebhookEnabled string) *CreateUserParams
- type DeleteConversationMessageParams
- type DeleteConversationParams
- type DeleteConversationParticipantParams
- type DeleteServiceConversationMessageParams
- type DeleteServiceConversationParams
- type DeleteServiceConversationParticipantParams
- type DeleteServiceUserParams
- type DeleteUserParams
- type ListConfigurationAddressParams
- func (params *ListConfigurationAddressParams) SetLimit(Limit int) *ListConfigurationAddressParams
- func (params *ListConfigurationAddressParams) SetPageSize(PageSize int) *ListConfigurationAddressParams
- func (params *ListConfigurationAddressParams) SetType(Type string) *ListConfigurationAddressParams
- type ListConfigurationAddressResponse
- type ListConfigurationAddressResponseMeta
- type ListConversationMessageParams
- type ListConversationMessageReceiptParams
- type ListConversationMessageReceiptResponse
- type ListConversationMessageResponse
- type ListConversationParams
- func (params *ListConversationParams) SetEndDate(EndDate string) *ListConversationParams
- func (params *ListConversationParams) SetLimit(Limit int) *ListConversationParams
- func (params *ListConversationParams) SetPageSize(PageSize int) *ListConversationParams
- func (params *ListConversationParams) SetStartDate(StartDate string) *ListConversationParams
- func (params *ListConversationParams) SetState(State string) *ListConversationParams
- type ListConversationParticipantParams
- type ListConversationParticipantResponse
- type ListConversationResponse
- type ListConversationScopedWebhookParams
- type ListConversationScopedWebhookResponse
- type ListCredentialParams
- type ListCredentialResponse
- type ListParticipantConversationParams
- func (params *ListParticipantConversationParams) SetAddress(Address string) *ListParticipantConversationParams
- func (params *ListParticipantConversationParams) SetIdentity(Identity string) *ListParticipantConversationParams
- func (params *ListParticipantConversationParams) SetLimit(Limit int) *ListParticipantConversationParams
- func (params *ListParticipantConversationParams) SetPageSize(PageSize int) *ListParticipantConversationParams
- type ListParticipantConversationResponse
- type ListRoleParams
- type ListRoleResponse
- type ListServiceBindingParams
- func (params *ListServiceBindingParams) SetBindingType(BindingType []string) *ListServiceBindingParams
- func (params *ListServiceBindingParams) SetIdentity(Identity []string) *ListServiceBindingParams
- func (params *ListServiceBindingParams) SetLimit(Limit int) *ListServiceBindingParams
- func (params *ListServiceBindingParams) SetPageSize(PageSize int) *ListServiceBindingParams
- type ListServiceBindingResponse
- type ListServiceConversationMessageParams
- func (params *ListServiceConversationMessageParams) SetLimit(Limit int) *ListServiceConversationMessageParams
- func (params *ListServiceConversationMessageParams) SetOrder(Order string) *ListServiceConversationMessageParams
- func (params *ListServiceConversationMessageParams) SetPageSize(PageSize int) *ListServiceConversationMessageParams
- type ListServiceConversationMessageReceiptParams
- type ListServiceConversationMessageReceiptResponse
- type ListServiceConversationMessageResponse
- type ListServiceConversationParams
- func (params *ListServiceConversationParams) SetEndDate(EndDate string) *ListServiceConversationParams
- func (params *ListServiceConversationParams) SetLimit(Limit int) *ListServiceConversationParams
- func (params *ListServiceConversationParams) SetPageSize(PageSize int) *ListServiceConversationParams
- func (params *ListServiceConversationParams) SetStartDate(StartDate string) *ListServiceConversationParams
- func (params *ListServiceConversationParams) SetState(State string) *ListServiceConversationParams
- type ListServiceConversationParticipantParams
- type ListServiceConversationParticipantResponse
- type ListServiceConversationResponse
- type ListServiceConversationScopedWebhookParams
- type ListServiceConversationScopedWebhookResponse
- type ListServiceParams
- type ListServiceParticipantConversationParams
- func (params *ListServiceParticipantConversationParams) SetAddress(Address string) *ListServiceParticipantConversationParams
- func (params *ListServiceParticipantConversationParams) SetIdentity(Identity string) *ListServiceParticipantConversationParams
- func (params *ListServiceParticipantConversationParams) SetLimit(Limit int) *ListServiceParticipantConversationParams
- func (params *ListServiceParticipantConversationParams) SetPageSize(PageSize int) *ListServiceParticipantConversationParams
- type ListServiceParticipantConversationResponse
- type ListServiceResponse
- type ListServiceRoleParams
- type ListServiceRoleResponse
- type ListServiceUserConversationParams
- type ListServiceUserConversationResponse
- type ListServiceUserParams
- type ListServiceUserResponse
- type ListUserConversationParams
- type ListUserConversationResponse
- type ListUserParams
- type ListUserResponse
- type UpdateConfigurationAddressParams
- func (params *UpdateConfigurationAddressParams) SetAutoCreationConversationServiceSid(AutoCreationConversationServiceSid string) *UpdateConfigurationAddressParams
- func (params *UpdateConfigurationAddressParams) SetAutoCreationEnabled(AutoCreationEnabled bool) *UpdateConfigurationAddressParams
- func (params *UpdateConfigurationAddressParams) SetAutoCreationStudioFlowSid(AutoCreationStudioFlowSid string) *UpdateConfigurationAddressParams
- func (params *UpdateConfigurationAddressParams) SetAutoCreationStudioRetryCount(AutoCreationStudioRetryCount int) *UpdateConfigurationAddressParams
- func (params *UpdateConfigurationAddressParams) SetAutoCreationType(AutoCreationType string) *UpdateConfigurationAddressParams
- func (params *UpdateConfigurationAddressParams) SetAutoCreationWebhookFilters(AutoCreationWebhookFilters []string) *UpdateConfigurationAddressParams
- func (params *UpdateConfigurationAddressParams) SetAutoCreationWebhookMethod(AutoCreationWebhookMethod string) *UpdateConfigurationAddressParams
- func (params *UpdateConfigurationAddressParams) SetAutoCreationWebhookUrl(AutoCreationWebhookUrl string) *UpdateConfigurationAddressParams
- func (params *UpdateConfigurationAddressParams) SetFriendlyName(FriendlyName string) *UpdateConfigurationAddressParams
- type UpdateConfigurationParams
- func (params *UpdateConfigurationParams) SetDefaultChatServiceSid(DefaultChatServiceSid string) *UpdateConfigurationParams
- func (params *UpdateConfigurationParams) SetDefaultClosedTimer(DefaultClosedTimer string) *UpdateConfigurationParams
- func (params *UpdateConfigurationParams) SetDefaultInactiveTimer(DefaultInactiveTimer string) *UpdateConfigurationParams
- func (params *UpdateConfigurationParams) SetDefaultMessagingServiceSid(DefaultMessagingServiceSid string) *UpdateConfigurationParams
- type UpdateConfigurationWebhookParams
- func (params *UpdateConfigurationWebhookParams) SetFilters(Filters []string) *UpdateConfigurationWebhookParams
- func (params *UpdateConfigurationWebhookParams) SetMethod(Method string) *UpdateConfigurationWebhookParams
- func (params *UpdateConfigurationWebhookParams) SetPostWebhookUrl(PostWebhookUrl string) *UpdateConfigurationWebhookParams
- func (params *UpdateConfigurationWebhookParams) SetPreWebhookUrl(PreWebhookUrl string) *UpdateConfigurationWebhookParams
- func (params *UpdateConfigurationWebhookParams) SetTarget(Target string) *UpdateConfigurationWebhookParams
- type UpdateConversationMessageParams
- func (params *UpdateConversationMessageParams) SetAttributes(Attributes string) *UpdateConversationMessageParams
- func (params *UpdateConversationMessageParams) SetAuthor(Author string) *UpdateConversationMessageParams
- func (params *UpdateConversationMessageParams) SetBody(Body string) *UpdateConversationMessageParams
- func (params *UpdateConversationMessageParams) SetDateCreated(DateCreated time.Time) *UpdateConversationMessageParams
- func (params *UpdateConversationMessageParams) SetDateUpdated(DateUpdated time.Time) *UpdateConversationMessageParams
- func (params *UpdateConversationMessageParams) SetSubject(Subject string) *UpdateConversationMessageParams
- func (params *UpdateConversationMessageParams) SetXTwilioWebhookEnabled(XTwilioWebhookEnabled string) *UpdateConversationMessageParams
- type UpdateConversationParams
- func (params *UpdateConversationParams) SetAttributes(Attributes string) *UpdateConversationParams
- func (params *UpdateConversationParams) SetBindingsEmailAddress(BindingsEmailAddress string) *UpdateConversationParams
- func (params *UpdateConversationParams) SetBindingsEmailName(BindingsEmailName string) *UpdateConversationParams
- func (params *UpdateConversationParams) SetDateCreated(DateCreated time.Time) *UpdateConversationParams
- func (params *UpdateConversationParams) SetDateUpdated(DateUpdated time.Time) *UpdateConversationParams
- func (params *UpdateConversationParams) SetFriendlyName(FriendlyName string) *UpdateConversationParams
- func (params *UpdateConversationParams) SetMessagingServiceSid(MessagingServiceSid string) *UpdateConversationParams
- func (params *UpdateConversationParams) SetState(State string) *UpdateConversationParams
- func (params *UpdateConversationParams) SetTimersClosed(TimersClosed string) *UpdateConversationParams
- func (params *UpdateConversationParams) SetTimersInactive(TimersInactive string) *UpdateConversationParams
- func (params *UpdateConversationParams) SetUniqueName(UniqueName string) *UpdateConversationParams
- func (params *UpdateConversationParams) SetXTwilioWebhookEnabled(XTwilioWebhookEnabled string) *UpdateConversationParams
- type UpdateConversationParticipantParams
- func (params *UpdateConversationParticipantParams) SetAttributes(Attributes string) *UpdateConversationParticipantParams
- func (params *UpdateConversationParticipantParams) SetDateCreated(DateCreated time.Time) *UpdateConversationParticipantParams
- func (params *UpdateConversationParticipantParams) SetDateUpdated(DateUpdated time.Time) *UpdateConversationParticipantParams
- func (params *UpdateConversationParticipantParams) SetIdentity(Identity string) *UpdateConversationParticipantParams
- func (params *UpdateConversationParticipantParams) SetLastReadMessageIndex(LastReadMessageIndex int) *UpdateConversationParticipantParams
- func (params *UpdateConversationParticipantParams) SetLastReadTimestamp(LastReadTimestamp string) *UpdateConversationParticipantParams
- func (params *UpdateConversationParticipantParams) SetMessagingBindingProjectedAddress(MessagingBindingProjectedAddress string) *UpdateConversationParticipantParams
- func (params *UpdateConversationParticipantParams) SetMessagingBindingProxyAddress(MessagingBindingProxyAddress string) *UpdateConversationParticipantParams
- func (params *UpdateConversationParticipantParams) SetRoleSid(RoleSid string) *UpdateConversationParticipantParams
- func (params *UpdateConversationParticipantParams) SetXTwilioWebhookEnabled(XTwilioWebhookEnabled string) *UpdateConversationParticipantParams
- type UpdateConversationScopedWebhookParams
- func (params *UpdateConversationScopedWebhookParams) SetConfigurationFilters(ConfigurationFilters []string) *UpdateConversationScopedWebhookParams
- func (params *UpdateConversationScopedWebhookParams) SetConfigurationFlowSid(ConfigurationFlowSid string) *UpdateConversationScopedWebhookParams
- func (params *UpdateConversationScopedWebhookParams) SetConfigurationMethod(ConfigurationMethod string) *UpdateConversationScopedWebhookParams
- func (params *UpdateConversationScopedWebhookParams) SetConfigurationTriggers(ConfigurationTriggers []string) *UpdateConversationScopedWebhookParams
- func (params *UpdateConversationScopedWebhookParams) SetConfigurationUrl(ConfigurationUrl string) *UpdateConversationScopedWebhookParams
- type UpdateCredentialParams
- func (params *UpdateCredentialParams) SetApiKey(ApiKey string) *UpdateCredentialParams
- func (params *UpdateCredentialParams) SetCertificate(Certificate string) *UpdateCredentialParams
- func (params *UpdateCredentialParams) SetFriendlyName(FriendlyName string) *UpdateCredentialParams
- func (params *UpdateCredentialParams) SetPrivateKey(PrivateKey string) *UpdateCredentialParams
- func (params *UpdateCredentialParams) SetSandbox(Sandbox bool) *UpdateCredentialParams
- func (params *UpdateCredentialParams) SetSecret(Secret string) *UpdateCredentialParams
- func (params *UpdateCredentialParams) SetType(Type string) *UpdateCredentialParams
- type UpdateRoleParams
- type UpdateServiceConfigurationParams
- func (params *UpdateServiceConfigurationParams) SetDefaultChatServiceRoleSid(DefaultChatServiceRoleSid string) *UpdateServiceConfigurationParams
- func (params *UpdateServiceConfigurationParams) SetDefaultConversationCreatorRoleSid(DefaultConversationCreatorRoleSid string) *UpdateServiceConfigurationParams
- func (params *UpdateServiceConfigurationParams) SetDefaultConversationRoleSid(DefaultConversationRoleSid string) *UpdateServiceConfigurationParams
- func (params *UpdateServiceConfigurationParams) SetReachabilityEnabled(ReachabilityEnabled bool) *UpdateServiceConfigurationParams
- type UpdateServiceConversationMessageParams
- func (params *UpdateServiceConversationMessageParams) SetAttributes(Attributes string) *UpdateServiceConversationMessageParams
- func (params *UpdateServiceConversationMessageParams) SetAuthor(Author string) *UpdateServiceConversationMessageParams
- func (params *UpdateServiceConversationMessageParams) SetBody(Body string) *UpdateServiceConversationMessageParams
- func (params *UpdateServiceConversationMessageParams) SetDateCreated(DateCreated time.Time) *UpdateServiceConversationMessageParams
- func (params *UpdateServiceConversationMessageParams) SetDateUpdated(DateUpdated time.Time) *UpdateServiceConversationMessageParams
- func (params *UpdateServiceConversationMessageParams) SetSubject(Subject string) *UpdateServiceConversationMessageParams
- func (params *UpdateServiceConversationMessageParams) SetXTwilioWebhookEnabled(XTwilioWebhookEnabled string) *UpdateServiceConversationMessageParams
- type UpdateServiceConversationParams
- func (params *UpdateServiceConversationParams) SetAttributes(Attributes string) *UpdateServiceConversationParams
- func (params *UpdateServiceConversationParams) SetBindingsEmailAddress(BindingsEmailAddress string) *UpdateServiceConversationParams
- func (params *UpdateServiceConversationParams) SetBindingsEmailName(BindingsEmailName string) *UpdateServiceConversationParams
- func (params *UpdateServiceConversationParams) SetDateCreated(DateCreated time.Time) *UpdateServiceConversationParams
- func (params *UpdateServiceConversationParams) SetDateUpdated(DateUpdated time.Time) *UpdateServiceConversationParams
- func (params *UpdateServiceConversationParams) SetFriendlyName(FriendlyName string) *UpdateServiceConversationParams
- func (params *UpdateServiceConversationParams) SetMessagingServiceSid(MessagingServiceSid string) *UpdateServiceConversationParams
- func (params *UpdateServiceConversationParams) SetState(State string) *UpdateServiceConversationParams
- func (params *UpdateServiceConversationParams) SetTimersClosed(TimersClosed string) *UpdateServiceConversationParams
- func (params *UpdateServiceConversationParams) SetTimersInactive(TimersInactive string) *UpdateServiceConversationParams
- func (params *UpdateServiceConversationParams) SetUniqueName(UniqueName string) *UpdateServiceConversationParams
- func (params *UpdateServiceConversationParams) SetXTwilioWebhookEnabled(XTwilioWebhookEnabled string) *UpdateServiceConversationParams
- type UpdateServiceConversationParticipantParams
- func (params *UpdateServiceConversationParticipantParams) SetAttributes(Attributes string) *UpdateServiceConversationParticipantParams
- func (params *UpdateServiceConversationParticipantParams) SetDateCreated(DateCreated time.Time) *UpdateServiceConversationParticipantParams
- func (params *UpdateServiceConversationParticipantParams) SetDateUpdated(DateUpdated time.Time) *UpdateServiceConversationParticipantParams
- func (params *UpdateServiceConversationParticipantParams) SetIdentity(Identity string) *UpdateServiceConversationParticipantParams
- func (params *UpdateServiceConversationParticipantParams) SetLastReadMessageIndex(LastReadMessageIndex int) *UpdateServiceConversationParticipantParams
- func (params *UpdateServiceConversationParticipantParams) SetLastReadTimestamp(LastReadTimestamp string) *UpdateServiceConversationParticipantParams
- func (params *UpdateServiceConversationParticipantParams) SetMessagingBindingProjectedAddress(MessagingBindingProjectedAddress string) *UpdateServiceConversationParticipantParams
- func (params *UpdateServiceConversationParticipantParams) SetMessagingBindingProxyAddress(MessagingBindingProxyAddress string) *UpdateServiceConversationParticipantParams
- func (params *UpdateServiceConversationParticipantParams) SetRoleSid(RoleSid string) *UpdateServiceConversationParticipantParams
- func (params *UpdateServiceConversationParticipantParams) SetXTwilioWebhookEnabled(XTwilioWebhookEnabled string) *UpdateServiceConversationParticipantParams
- type UpdateServiceConversationScopedWebhookParams
- func (params *UpdateServiceConversationScopedWebhookParams) SetConfigurationFilters(ConfigurationFilters []string) *UpdateServiceConversationScopedWebhookParams
- func (params *UpdateServiceConversationScopedWebhookParams) SetConfigurationFlowSid(ConfigurationFlowSid string) *UpdateServiceConversationScopedWebhookParams
- func (params *UpdateServiceConversationScopedWebhookParams) SetConfigurationMethod(ConfigurationMethod string) *UpdateServiceConversationScopedWebhookParams
- func (params *UpdateServiceConversationScopedWebhookParams) SetConfigurationTriggers(ConfigurationTriggers []string) *UpdateServiceConversationScopedWebhookParams
- func (params *UpdateServiceConversationScopedWebhookParams) SetConfigurationUrl(ConfigurationUrl string) *UpdateServiceConversationScopedWebhookParams
- type UpdateServiceNotificationParams
- func (params *UpdateServiceNotificationParams) SetAddedToConversationEnabled(AddedToConversationEnabled bool) *UpdateServiceNotificationParams
- func (params *UpdateServiceNotificationParams) SetAddedToConversationSound(AddedToConversationSound string) *UpdateServiceNotificationParams
- func (params *UpdateServiceNotificationParams) SetAddedToConversationTemplate(AddedToConversationTemplate string) *UpdateServiceNotificationParams
- func (params *UpdateServiceNotificationParams) SetLogEnabled(LogEnabled bool) *UpdateServiceNotificationParams
- func (params *UpdateServiceNotificationParams) SetNewMessageBadgeCountEnabled(NewMessageBadgeCountEnabled bool) *UpdateServiceNotificationParams
- func (params *UpdateServiceNotificationParams) SetNewMessageEnabled(NewMessageEnabled bool) *UpdateServiceNotificationParams
- func (params *UpdateServiceNotificationParams) SetNewMessageSound(NewMessageSound string) *UpdateServiceNotificationParams
- func (params *UpdateServiceNotificationParams) SetNewMessageTemplate(NewMessageTemplate string) *UpdateServiceNotificationParams
- func (params *UpdateServiceNotificationParams) SetNewMessageWithMediaEnabled(NewMessageWithMediaEnabled bool) *UpdateServiceNotificationParams
- func (params *UpdateServiceNotificationParams) SetNewMessageWithMediaTemplate(NewMessageWithMediaTemplate string) *UpdateServiceNotificationParams
- func (params *UpdateServiceNotificationParams) SetRemovedFromConversationEnabled(RemovedFromConversationEnabled bool) *UpdateServiceNotificationParams
- func (params *UpdateServiceNotificationParams) SetRemovedFromConversationSound(RemovedFromConversationSound string) *UpdateServiceNotificationParams
- func (params *UpdateServiceNotificationParams) SetRemovedFromConversationTemplate(RemovedFromConversationTemplate string) *UpdateServiceNotificationParams
- type UpdateServiceRoleParams
- type UpdateServiceUserConversationParams
- func (params *UpdateServiceUserConversationParams) SetLastReadMessageIndex(LastReadMessageIndex int) *UpdateServiceUserConversationParams
- func (params *UpdateServiceUserConversationParams) SetLastReadTimestamp(LastReadTimestamp time.Time) *UpdateServiceUserConversationParams
- func (params *UpdateServiceUserConversationParams) SetNotificationLevel(NotificationLevel string) *UpdateServiceUserConversationParams
- type UpdateServiceUserParams
- func (params *UpdateServiceUserParams) SetAttributes(Attributes string) *UpdateServiceUserParams
- func (params *UpdateServiceUserParams) SetFriendlyName(FriendlyName string) *UpdateServiceUserParams
- func (params *UpdateServiceUserParams) SetRoleSid(RoleSid string) *UpdateServiceUserParams
- func (params *UpdateServiceUserParams) SetXTwilioWebhookEnabled(XTwilioWebhookEnabled string) *UpdateServiceUserParams
- type UpdateServiceWebhookConfigurationParams
- func (params *UpdateServiceWebhookConfigurationParams) SetFilters(Filters []string) *UpdateServiceWebhookConfigurationParams
- func (params *UpdateServiceWebhookConfigurationParams) SetMethod(Method string) *UpdateServiceWebhookConfigurationParams
- func (params *UpdateServiceWebhookConfigurationParams) SetPostWebhookUrl(PostWebhookUrl string) *UpdateServiceWebhookConfigurationParams
- func (params *UpdateServiceWebhookConfigurationParams) SetPreWebhookUrl(PreWebhookUrl string) *UpdateServiceWebhookConfigurationParams
- type UpdateUserConversationParams
- func (params *UpdateUserConversationParams) SetLastReadMessageIndex(LastReadMessageIndex int) *UpdateUserConversationParams
- func (params *UpdateUserConversationParams) SetLastReadTimestamp(LastReadTimestamp time.Time) *UpdateUserConversationParams
- func (params *UpdateUserConversationParams) SetNotificationLevel(NotificationLevel string) *UpdateUserConversationParams
- type UpdateUserParams
- func (params *UpdateUserParams) SetAttributes(Attributes string) *UpdateUserParams
- func (params *UpdateUserParams) SetFriendlyName(FriendlyName string) *UpdateUserParams
- func (params *UpdateUserParams) SetRoleSid(RoleSid string) *UpdateUserParams
- func (params *UpdateUserParams) SetXTwilioWebhookEnabled(XTwilioWebhookEnabled string) *UpdateUserParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiService ¶ added in v0.11.0
type ApiService struct {
// contains filtered or unexported fields
}
func NewApiService ¶ added in v0.11.0
func NewApiService(requestHandler *twilio.RequestHandler) *ApiService
func NewApiServiceWithClient ¶ added in v0.11.0
func NewApiServiceWithClient(client twilio.BaseClient) *ApiService
func (*ApiService) CreateConfigurationAddress ¶ added in v0.21.0
func (c *ApiService) CreateConfigurationAddress(params *CreateConfigurationAddressParams) (*ConversationsV1ConfigurationAddress, error)
Create a new address configuration
func (*ApiService) CreateConversation ¶ added in v0.11.0
func (c *ApiService) CreateConversation(params *CreateConversationParams) (*ConversationsV1Conversation, error)
Create a new conversation in your account's default service
func (*ApiService) CreateConversationMessage ¶ added in v0.11.0
func (c *ApiService) CreateConversationMessage(ConversationSid string, params *CreateConversationMessageParams) (*ConversationsV1ConversationMessage, error)
Add a new message to the conversation
func (*ApiService) CreateConversationParticipant ¶ added in v0.11.0
func (c *ApiService) CreateConversationParticipant(ConversationSid string, params *CreateConversationParticipantParams) (*ConversationsV1ConversationParticipant, error)
Add a new participant to the conversation
func (*ApiService) CreateConversationScopedWebhook ¶ added in v0.11.0
func (c *ApiService) CreateConversationScopedWebhook(ConversationSid string, params *CreateConversationScopedWebhookParams) (*ConversationsV1ConversationScopedWebhook, error)
Create a new webhook scoped to the conversation
func (*ApiService) CreateCredential ¶ added in v0.11.0
func (c *ApiService) CreateCredential(params *CreateCredentialParams) (*ConversationsV1Credential, error)
Add a new push notification credential to your account
func (*ApiService) CreateRole ¶ added in v0.11.0
func (c *ApiService) CreateRole(params *CreateRoleParams) (*ConversationsV1Role, error)
Create a new user role in your account's default service
func (*ApiService) CreateService ¶ added in v0.11.0
func (c *ApiService) CreateService(params *CreateServiceParams) (*ConversationsV1Service, error)
Create a new conversation service on your account
func (*ApiService) CreateServiceConversation ¶ added in v0.11.0
func (c *ApiService) CreateServiceConversation(ChatServiceSid string, params *CreateServiceConversationParams) (*ConversationsV1ServiceConversation, error)
Create a new conversation in your service
func (*ApiService) CreateServiceConversationMessage ¶ added in v0.11.0
func (c *ApiService) CreateServiceConversationMessage(ChatServiceSid string, ConversationSid string, params *CreateServiceConversationMessageParams) (*ConversationsV1ServiceConversationMessage, error)
Add a new message to the conversation in a specific service
func (*ApiService) CreateServiceConversationParticipant ¶ added in v0.11.0
func (c *ApiService) CreateServiceConversationParticipant(ChatServiceSid string, ConversationSid string, params *CreateServiceConversationParticipantParams) (*ConversationsV1ServiceConversationParticipant, error)
Add a new participant to the conversation in a specific service
func (*ApiService) CreateServiceConversationScopedWebhook ¶ added in v0.11.0
func (c *ApiService) CreateServiceConversationScopedWebhook(ChatServiceSid string, ConversationSid string, params *CreateServiceConversationScopedWebhookParams) (*ConversationsV1ServiceConversationScopedWebhook, error)
Create a new webhook scoped to the conversation in a specific service
func (*ApiService) CreateServiceRole ¶ added in v0.11.0
func (c *ApiService) CreateServiceRole(ChatServiceSid string, params *CreateServiceRoleParams) (*ConversationsV1ServiceRole, error)
Create a new user role in your service
func (*ApiService) CreateServiceUser ¶ added in v0.11.0
func (c *ApiService) CreateServiceUser(ChatServiceSid string, params *CreateServiceUserParams) (*ConversationsV1ServiceUser, error)
Add a new conversation user to your service
func (*ApiService) CreateUser ¶ added in v0.11.0
func (c *ApiService) CreateUser(params *CreateUserParams) (*ConversationsV1User, error)
Add a new conversation user to your account's default service
func (*ApiService) DeleteConfigurationAddress ¶ added in v0.21.0
func (c *ApiService) DeleteConfigurationAddress(Sid string) error
Remove an existing address configuration
func (*ApiService) DeleteConversation ¶ added in v0.11.0
func (c *ApiService) DeleteConversation(Sid string, params *DeleteConversationParams) error
Remove a conversation from your account's default service
func (*ApiService) DeleteConversationMessage ¶ added in v0.11.0
func (c *ApiService) DeleteConversationMessage(ConversationSid string, Sid string, params *DeleteConversationMessageParams) error
Remove a message from the conversation
func (*ApiService) DeleteConversationParticipant ¶ added in v0.11.0
func (c *ApiService) DeleteConversationParticipant(ConversationSid string, Sid string, params *DeleteConversationParticipantParams) error
Remove a participant from the conversation
func (*ApiService) DeleteConversationScopedWebhook ¶ added in v0.11.0
func (c *ApiService) DeleteConversationScopedWebhook(ConversationSid string, Sid string) error
Remove an existing webhook scoped to the conversation
func (*ApiService) DeleteCredential ¶ added in v0.11.0
func (c *ApiService) DeleteCredential(Sid string) error
Remove a push notification credential from your account
func (*ApiService) DeleteRole ¶ added in v0.11.0
func (c *ApiService) DeleteRole(Sid string) error
Remove a user role from your account's default service
func (*ApiService) DeleteService ¶ added in v0.11.0
func (c *ApiService) DeleteService(Sid string) error
Remove a conversation service with all its nested resources from your account
func (*ApiService) DeleteServiceBinding ¶ added in v0.11.0
func (c *ApiService) DeleteServiceBinding(ChatServiceSid string, Sid string) error
Remove a push notification binding from the conversation service
func (*ApiService) DeleteServiceConversation ¶ added in v0.11.0
func (c *ApiService) DeleteServiceConversation(ChatServiceSid string, Sid string, params *DeleteServiceConversationParams) error
Remove a conversation from your service
func (*ApiService) DeleteServiceConversationMessage ¶ added in v0.11.0
func (c *ApiService) DeleteServiceConversationMessage(ChatServiceSid string, ConversationSid string, Sid string, params *DeleteServiceConversationMessageParams) error
Remove a message from the conversation
func (*ApiService) DeleteServiceConversationParticipant ¶ added in v0.11.0
func (c *ApiService) DeleteServiceConversationParticipant(ChatServiceSid string, ConversationSid string, Sid string, params *DeleteServiceConversationParticipantParams) error
Remove a participant from the conversation
func (*ApiService) DeleteServiceConversationScopedWebhook ¶ added in v0.11.0
func (c *ApiService) DeleteServiceConversationScopedWebhook(ChatServiceSid string, ConversationSid string, Sid string) error
Remove an existing webhook scoped to the conversation
func (*ApiService) DeleteServiceRole ¶ added in v0.11.0
func (c *ApiService) DeleteServiceRole(ChatServiceSid string, Sid string) error
Remove a user role from your service
func (*ApiService) DeleteServiceUser ¶ added in v0.11.0
func (c *ApiService) DeleteServiceUser(ChatServiceSid string, Sid string, params *DeleteServiceUserParams) error
Remove a conversation user from your service
func (*ApiService) DeleteServiceUserConversation ¶ added in v0.12.0
func (c *ApiService) DeleteServiceUserConversation(ChatServiceSid string, UserSid string, ConversationSid string) error
Delete a specific User Conversation.
func (*ApiService) DeleteUser ¶ added in v0.11.0
func (c *ApiService) DeleteUser(Sid string, params *DeleteUserParams) error
Remove a conversation user from your account's default service
func (*ApiService) DeleteUserConversation ¶ added in v0.12.0
func (c *ApiService) DeleteUserConversation(UserSid string, ConversationSid string) error
Delete a specific User Conversation.
func (*ApiService) FetchConfiguration ¶ added in v0.11.0
func (c *ApiService) FetchConfiguration() (*ConversationsV1Configuration, error)
Fetch the global configuration of conversations on your account
func (*ApiService) FetchConfigurationAddress ¶ added in v0.21.0
func (c *ApiService) FetchConfigurationAddress(Sid string) (*ConversationsV1ConfigurationAddress, error)
Fetch an address configuration
func (*ApiService) FetchConfigurationWebhook ¶ added in v0.11.0
func (c *ApiService) FetchConfigurationWebhook() (*ConversationsV1ConfigurationWebhook, error)
func (*ApiService) FetchConversation ¶ added in v0.11.0
func (c *ApiService) FetchConversation(Sid string) (*ConversationsV1Conversation, error)
Fetch a conversation from your account's default service
func (*ApiService) FetchConversationMessage ¶ added in v0.11.0
func (c *ApiService) FetchConversationMessage(ConversationSid string, Sid string) (*ConversationsV1ConversationMessage, error)
Fetch a message from the conversation
func (*ApiService) FetchConversationMessageReceipt ¶ added in v0.11.0
func (c *ApiService) FetchConversationMessageReceipt(ConversationSid string, MessageSid string, Sid string) (*ConversationsV1ConversationMessageReceipt, error)
Fetch the delivery and read receipts of the conversation message
func (*ApiService) FetchConversationParticipant ¶ added in v0.11.0
func (c *ApiService) FetchConversationParticipant(ConversationSid string, Sid string) (*ConversationsV1ConversationParticipant, error)
Fetch a participant of the conversation
func (*ApiService) FetchConversationScopedWebhook ¶ added in v0.11.0
func (c *ApiService) FetchConversationScopedWebhook(ConversationSid string, Sid string) (*ConversationsV1ConversationScopedWebhook, error)
Fetch the configuration of a conversation-scoped webhook
func (*ApiService) FetchCredential ¶ added in v0.11.0
func (c *ApiService) FetchCredential(Sid string) (*ConversationsV1Credential, error)
Fetch a push notification credential from your account
func (*ApiService) FetchRole ¶ added in v0.11.0
func (c *ApiService) FetchRole(Sid string) (*ConversationsV1Role, error)
Fetch a user role from your account's default service
func (*ApiService) FetchService ¶ added in v0.11.0
func (c *ApiService) FetchService(Sid string) (*ConversationsV1Service, error)
Fetch a conversation service from your account
func (*ApiService) FetchServiceBinding ¶ added in v0.11.0
func (c *ApiService) FetchServiceBinding(ChatServiceSid string, Sid string) (*ConversationsV1ServiceBinding, error)
Fetch a push notification binding from the conversation service
func (*ApiService) FetchServiceConfiguration ¶ added in v0.11.0
func (c *ApiService) FetchServiceConfiguration(ChatServiceSid string) (*ConversationsV1ServiceConfiguration, error)
Fetch the configuration of a conversation service
func (*ApiService) FetchServiceConversation ¶ added in v0.11.0
func (c *ApiService) FetchServiceConversation(ChatServiceSid string, Sid string) (*ConversationsV1ServiceConversation, error)
Fetch a conversation from your service
func (*ApiService) FetchServiceConversationMessage ¶ added in v0.11.0
func (c *ApiService) FetchServiceConversationMessage(ChatServiceSid string, ConversationSid string, Sid string) (*ConversationsV1ServiceConversationMessage, error)
Fetch a message from the conversation
func (*ApiService) FetchServiceConversationMessageReceipt ¶ added in v0.11.0
func (c *ApiService) FetchServiceConversationMessageReceipt(ChatServiceSid string, ConversationSid string, MessageSid string, Sid string) (*ConversationsV1ServiceConversationMessageReceipt, error)
Fetch the delivery and read receipts of the conversation message
func (*ApiService) FetchServiceConversationParticipant ¶ added in v0.11.0
func (c *ApiService) FetchServiceConversationParticipant(ChatServiceSid string, ConversationSid string, Sid string) (*ConversationsV1ServiceConversationParticipant, error)
Fetch a participant of the conversation
func (*ApiService) FetchServiceConversationScopedWebhook ¶ added in v0.11.0
func (c *ApiService) FetchServiceConversationScopedWebhook(ChatServiceSid string, ConversationSid string, Sid string) (*ConversationsV1ServiceConversationScopedWebhook, error)
Fetch the configuration of a conversation-scoped webhook
func (*ApiService) FetchServiceNotification ¶ added in v0.11.0
func (c *ApiService) FetchServiceNotification(ChatServiceSid string) (*ConversationsV1ServiceNotification, error)
Fetch push notification service settings
func (*ApiService) FetchServiceRole ¶ added in v0.11.0
func (c *ApiService) FetchServiceRole(ChatServiceSid string, Sid string) (*ConversationsV1ServiceRole, error)
Fetch a user role from your service
func (*ApiService) FetchServiceUser ¶ added in v0.11.0
func (c *ApiService) FetchServiceUser(ChatServiceSid string, Sid string) (*ConversationsV1ServiceUser, error)
Fetch a conversation user from your service
func (*ApiService) FetchServiceUserConversation ¶ added in v0.12.0
func (c *ApiService) FetchServiceUserConversation(ChatServiceSid string, UserSid string, ConversationSid string) (*ConversationsV1ServiceUserConversation, error)
Fetch a specific User Conversation.
func (*ApiService) FetchServiceWebhookConfiguration ¶ added in v0.18.2
func (c *ApiService) FetchServiceWebhookConfiguration(ChatServiceSid string) (*ConversationsV1ServiceWebhookConfiguration, error)
Fetch a specific service webhook configuration.
func (*ApiService) FetchUser ¶ added in v0.11.0
func (c *ApiService) FetchUser(Sid string) (*ConversationsV1User, error)
Fetch a conversation user from your account's default service
func (*ApiService) FetchUserConversation ¶ added in v0.12.0
func (c *ApiService) FetchUserConversation(UserSid string, ConversationSid string) (*ConversationsV1UserConversation, error)
Fetch a specific User Conversation.
func (*ApiService) ListConfigurationAddress ¶ added in v0.21.0
func (c *ApiService) ListConfigurationAddress(params *ListConfigurationAddressParams) ([]ConversationsV1ConfigurationAddress, error)
Lists ConfigurationAddress records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.
func (*ApiService) ListConversation ¶ added in v0.11.0
func (c *ApiService) ListConversation(params *ListConversationParams) ([]ConversationsV1Conversation, error)
Lists Conversation records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.
func (*ApiService) ListConversationMessage ¶ added in v0.11.0
func (c *ApiService) ListConversationMessage(ConversationSid string, params *ListConversationMessageParams) ([]ConversationsV1ConversationMessage, error)
Lists ConversationMessage records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.
func (*ApiService) ListConversationMessageReceipt ¶ added in v0.11.0
func (c *ApiService) ListConversationMessageReceipt(ConversationSid string, MessageSid string, params *ListConversationMessageReceiptParams) ([]ConversationsV1ConversationMessageReceipt, error)
Lists ConversationMessageReceipt records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.
func (*ApiService) ListConversationParticipant ¶ added in v0.11.0
func (c *ApiService) ListConversationParticipant(ConversationSid string, params *ListConversationParticipantParams) ([]ConversationsV1ConversationParticipant, error)
Lists ConversationParticipant records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.
func (*ApiService) ListConversationScopedWebhook ¶ added in v0.11.0
func (c *ApiService) ListConversationScopedWebhook(ConversationSid string, params *ListConversationScopedWebhookParams) ([]ConversationsV1ConversationScopedWebhook, error)
Lists ConversationScopedWebhook records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.
func (*ApiService) ListCredential ¶ added in v0.11.0
func (c *ApiService) ListCredential(params *ListCredentialParams) ([]ConversationsV1Credential, error)
Lists Credential records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.
func (*ApiService) ListParticipantConversation ¶ added in v0.13.0
func (c *ApiService) ListParticipantConversation(params *ListParticipantConversationParams) ([]ConversationsV1ParticipantConversation, error)
Lists ParticipantConversation records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.
func (*ApiService) ListRole ¶ added in v0.11.0
func (c *ApiService) ListRole(params *ListRoleParams) ([]ConversationsV1Role, error)
Lists Role records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.
func (*ApiService) ListService ¶ added in v0.11.0
func (c *ApiService) ListService(params *ListServiceParams) ([]ConversationsV1Service, error)
Lists Service records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.
func (*ApiService) ListServiceBinding ¶ added in v0.11.0
func (c *ApiService) ListServiceBinding(ChatServiceSid string, params *ListServiceBindingParams) ([]ConversationsV1ServiceBinding, error)
Lists ServiceBinding records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.
func (*ApiService) ListServiceConversation ¶ added in v0.11.0
func (c *ApiService) ListServiceConversation(ChatServiceSid string, params *ListServiceConversationParams) ([]ConversationsV1ServiceConversation, error)
Lists ServiceConversation records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.
func (*ApiService) ListServiceConversationMessage ¶ added in v0.11.0
func (c *ApiService) ListServiceConversationMessage(ChatServiceSid string, ConversationSid string, params *ListServiceConversationMessageParams) ([]ConversationsV1ServiceConversationMessage, error)
Lists ServiceConversationMessage records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.
func (*ApiService) ListServiceConversationMessageReceipt ¶ added in v0.11.0
func (c *ApiService) ListServiceConversationMessageReceipt(ChatServiceSid string, ConversationSid string, MessageSid string, params *ListServiceConversationMessageReceiptParams) ([]ConversationsV1ServiceConversationMessageReceipt, error)
Lists ServiceConversationMessageReceipt records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.
func (*ApiService) ListServiceConversationParticipant ¶ added in v0.11.0
func (c *ApiService) ListServiceConversationParticipant(ChatServiceSid string, ConversationSid string, params *ListServiceConversationParticipantParams) ([]ConversationsV1ServiceConversationParticipant, error)
Lists ServiceConversationParticipant records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.
func (*ApiService) ListServiceConversationScopedWebhook ¶ added in v0.11.0
func (c *ApiService) ListServiceConversationScopedWebhook(ChatServiceSid string, ConversationSid string, params *ListServiceConversationScopedWebhookParams) ([]ConversationsV1ServiceConversationScopedWebhook, error)
Lists ServiceConversationScopedWebhook records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.
func (*ApiService) ListServiceParticipantConversation ¶ added in v0.13.0
func (c *ApiService) ListServiceParticipantConversation(ChatServiceSid string, params *ListServiceParticipantConversationParams) ([]ConversationsV1ServiceParticipantConversation, error)
Lists ServiceParticipantConversation records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.
func (*ApiService) ListServiceRole ¶ added in v0.11.0
func (c *ApiService) ListServiceRole(ChatServiceSid string, params *ListServiceRoleParams) ([]ConversationsV1ServiceRole, error)
Lists ServiceRole records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.
func (*ApiService) ListServiceUser ¶ added in v0.11.0
func (c *ApiService) ListServiceUser(ChatServiceSid string, params *ListServiceUserParams) ([]ConversationsV1ServiceUser, error)
Lists ServiceUser records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.
func (*ApiService) ListServiceUserConversation ¶ added in v0.12.0
func (c *ApiService) ListServiceUserConversation(ChatServiceSid string, UserSid string, params *ListServiceUserConversationParams) ([]ConversationsV1ServiceUserConversation, error)
Lists ServiceUserConversation records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.
func (*ApiService) ListUser ¶ added in v0.11.0
func (c *ApiService) ListUser(params *ListUserParams) ([]ConversationsV1User, error)
Lists User records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.
func (*ApiService) ListUserConversation ¶ added in v0.12.0
func (c *ApiService) ListUserConversation(UserSid string, params *ListUserConversationParams) ([]ConversationsV1UserConversation, error)
Lists UserConversation records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.
func (*ApiService) PageConfigurationAddress ¶ added in v0.21.0
func (c *ApiService) PageConfigurationAddress(params *ListConfigurationAddressParams, pageToken, pageNumber string) (*ListConfigurationAddressResponse, error)
Retrieve a single page of ConfigurationAddress records from the API. Request is executed immediately.
func (*ApiService) PageConversation ¶ added in v0.13.0
func (c *ApiService) PageConversation(params *ListConversationParams, pageToken, pageNumber string) (*ListConversationResponse, error)
Retrieve a single page of Conversation records from the API. Request is executed immediately.
func (*ApiService) PageConversationMessage ¶ added in v0.13.0
func (c *ApiService) PageConversationMessage(ConversationSid string, params *ListConversationMessageParams, pageToken, pageNumber string) (*ListConversationMessageResponse, error)
Retrieve a single page of ConversationMessage records from the API. Request is executed immediately.
func (*ApiService) PageConversationMessageReceipt ¶ added in v0.13.0
func (c *ApiService) PageConversationMessageReceipt(ConversationSid string, MessageSid string, params *ListConversationMessageReceiptParams, pageToken, pageNumber string) (*ListConversationMessageReceiptResponse, error)
Retrieve a single page of ConversationMessageReceipt records from the API. Request is executed immediately.
func (*ApiService) PageConversationParticipant ¶ added in v0.13.0
func (c *ApiService) PageConversationParticipant(ConversationSid string, params *ListConversationParticipantParams, pageToken, pageNumber string) (*ListConversationParticipantResponse, error)
Retrieve a single page of ConversationParticipant records from the API. Request is executed immediately.
func (*ApiService) PageConversationScopedWebhook ¶ added in v0.13.0
func (c *ApiService) PageConversationScopedWebhook(ConversationSid string, params *ListConversationScopedWebhookParams, pageToken, pageNumber string) (*ListConversationScopedWebhookResponse, error)
Retrieve a single page of ConversationScopedWebhook records from the API. Request is executed immediately.
func (*ApiService) PageCredential ¶ added in v0.13.0
func (c *ApiService) PageCredential(params *ListCredentialParams, pageToken, pageNumber string) (*ListCredentialResponse, error)
Retrieve a single page of Credential records from the API. Request is executed immediately.
func (*ApiService) PageParticipantConversation ¶ added in v0.13.0
func (c *ApiService) PageParticipantConversation(params *ListParticipantConversationParams, pageToken, pageNumber string) (*ListParticipantConversationResponse, error)
Retrieve a single page of ParticipantConversation records from the API. Request is executed immediately.
func (*ApiService) PageRole ¶ added in v0.13.0
func (c *ApiService) PageRole(params *ListRoleParams, pageToken, pageNumber string) (*ListRoleResponse, error)
Retrieve a single page of Role records from the API. Request is executed immediately.
func (*ApiService) PageService ¶ added in v0.13.0
func (c *ApiService) PageService(params *ListServiceParams, pageToken, pageNumber string) (*ListServiceResponse, error)
Retrieve a single page of Service records from the API. Request is executed immediately.
func (*ApiService) PageServiceBinding ¶ added in v0.13.0
func (c *ApiService) PageServiceBinding(ChatServiceSid string, params *ListServiceBindingParams, pageToken, pageNumber string) (*ListServiceBindingResponse, error)
Retrieve a single page of ServiceBinding records from the API. Request is executed immediately.
func (*ApiService) PageServiceConversation ¶ added in v0.13.0
func (c *ApiService) PageServiceConversation(ChatServiceSid string, params *ListServiceConversationParams, pageToken, pageNumber string) (*ListServiceConversationResponse, error)
Retrieve a single page of ServiceConversation records from the API. Request is executed immediately.
func (*ApiService) PageServiceConversationMessage ¶ added in v0.13.0
func (c *ApiService) PageServiceConversationMessage(ChatServiceSid string, ConversationSid string, params *ListServiceConversationMessageParams, pageToken, pageNumber string) (*ListServiceConversationMessageResponse, error)
Retrieve a single page of ServiceConversationMessage records from the API. Request is executed immediately.
func (*ApiService) PageServiceConversationMessageReceipt ¶ added in v0.13.0
func (c *ApiService) PageServiceConversationMessageReceipt(ChatServiceSid string, ConversationSid string, MessageSid string, params *ListServiceConversationMessageReceiptParams, pageToken, pageNumber string) (*ListServiceConversationMessageReceiptResponse, error)
Retrieve a single page of ServiceConversationMessageReceipt records from the API. Request is executed immediately.
func (*ApiService) PageServiceConversationParticipant ¶ added in v0.13.0
func (c *ApiService) PageServiceConversationParticipant(ChatServiceSid string, ConversationSid string, params *ListServiceConversationParticipantParams, pageToken, pageNumber string) (*ListServiceConversationParticipantResponse, error)
Retrieve a single page of ServiceConversationParticipant records from the API. Request is executed immediately.
func (*ApiService) PageServiceConversationScopedWebhook ¶ added in v0.13.0
func (c *ApiService) PageServiceConversationScopedWebhook(ChatServiceSid string, ConversationSid string, params *ListServiceConversationScopedWebhookParams, pageToken, pageNumber string) (*ListServiceConversationScopedWebhookResponse, error)
Retrieve a single page of ServiceConversationScopedWebhook records from the API. Request is executed immediately.
func (*ApiService) PageServiceParticipantConversation ¶ added in v0.13.0
func (c *ApiService) PageServiceParticipantConversation(ChatServiceSid string, params *ListServiceParticipantConversationParams, pageToken, pageNumber string) (*ListServiceParticipantConversationResponse, error)
Retrieve a single page of ServiceParticipantConversation records from the API. Request is executed immediately.
func (*ApiService) PageServiceRole ¶ added in v0.13.0
func (c *ApiService) PageServiceRole(ChatServiceSid string, params *ListServiceRoleParams, pageToken, pageNumber string) (*ListServiceRoleResponse, error)
Retrieve a single page of ServiceRole records from the API. Request is executed immediately.
func (*ApiService) PageServiceUser ¶ added in v0.13.0
func (c *ApiService) PageServiceUser(ChatServiceSid string, params *ListServiceUserParams, pageToken, pageNumber string) (*ListServiceUserResponse, error)
Retrieve a single page of ServiceUser records from the API. Request is executed immediately.
func (*ApiService) PageServiceUserConversation ¶ added in v0.13.0
func (c *ApiService) PageServiceUserConversation(ChatServiceSid string, UserSid string, params *ListServiceUserConversationParams, pageToken, pageNumber string) (*ListServiceUserConversationResponse, error)
Retrieve a single page of ServiceUserConversation records from the API. Request is executed immediately.
func (*ApiService) PageUser ¶ added in v0.13.0
func (c *ApiService) PageUser(params *ListUserParams, pageToken, pageNumber string) (*ListUserResponse, error)
Retrieve a single page of User records from the API. Request is executed immediately.
func (*ApiService) PageUserConversation ¶ added in v0.13.0
func (c *ApiService) PageUserConversation(UserSid string, params *ListUserConversationParams, pageToken, pageNumber string) (*ListUserConversationResponse, error)
Retrieve a single page of UserConversation records from the API. Request is executed immediately.
func (*ApiService) StreamConfigurationAddress ¶ added in v0.21.0
func (c *ApiService) StreamConfigurationAddress(params *ListConfigurationAddressParams) (chan ConversationsV1ConfigurationAddress, chan error)
Streams ConfigurationAddress records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.
func (*ApiService) StreamConversation ¶ added in v0.13.0
func (c *ApiService) StreamConversation(params *ListConversationParams) (chan ConversationsV1Conversation, chan error)
Streams Conversation records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.
func (*ApiService) StreamConversationMessage ¶ added in v0.13.0
func (c *ApiService) StreamConversationMessage(ConversationSid string, params *ListConversationMessageParams) (chan ConversationsV1ConversationMessage, chan error)
Streams ConversationMessage records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.
func (*ApiService) StreamConversationMessageReceipt ¶ added in v0.13.0
func (c *ApiService) StreamConversationMessageReceipt(ConversationSid string, MessageSid string, params *ListConversationMessageReceiptParams) (chan ConversationsV1ConversationMessageReceipt, chan error)
Streams ConversationMessageReceipt records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.
func (*ApiService) StreamConversationParticipant ¶ added in v0.13.0
func (c *ApiService) StreamConversationParticipant(ConversationSid string, params *ListConversationParticipantParams) (chan ConversationsV1ConversationParticipant, chan error)
Streams ConversationParticipant records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.
func (*ApiService) StreamConversationScopedWebhook ¶ added in v0.13.0
func (c *ApiService) StreamConversationScopedWebhook(ConversationSid string, params *ListConversationScopedWebhookParams) (chan ConversationsV1ConversationScopedWebhook, chan error)
Streams ConversationScopedWebhook records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.
func (*ApiService) StreamCredential ¶ added in v0.13.0
func (c *ApiService) StreamCredential(params *ListCredentialParams) (chan ConversationsV1Credential, chan error)
Streams Credential records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.
func (*ApiService) StreamParticipantConversation ¶ added in v0.13.0
func (c *ApiService) StreamParticipantConversation(params *ListParticipantConversationParams) (chan ConversationsV1ParticipantConversation, chan error)
Streams ParticipantConversation records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.
func (*ApiService) StreamRole ¶ added in v0.13.0
func (c *ApiService) StreamRole(params *ListRoleParams) (chan ConversationsV1Role, chan error)
Streams Role records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.
func (*ApiService) StreamService ¶ added in v0.13.0
func (c *ApiService) StreamService(params *ListServiceParams) (chan ConversationsV1Service, chan error)
Streams Service records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.
func (*ApiService) StreamServiceBinding ¶ added in v0.13.0
func (c *ApiService) StreamServiceBinding(ChatServiceSid string, params *ListServiceBindingParams) (chan ConversationsV1ServiceBinding, chan error)
Streams ServiceBinding records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.
func (*ApiService) StreamServiceConversation ¶ added in v0.13.0
func (c *ApiService) StreamServiceConversation(ChatServiceSid string, params *ListServiceConversationParams) (chan ConversationsV1ServiceConversation, chan error)
Streams ServiceConversation records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.
func (*ApiService) StreamServiceConversationMessage ¶ added in v0.13.0
func (c *ApiService) StreamServiceConversationMessage(ChatServiceSid string, ConversationSid string, params *ListServiceConversationMessageParams) (chan ConversationsV1ServiceConversationMessage, chan error)
Streams ServiceConversationMessage records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.
func (*ApiService) StreamServiceConversationMessageReceipt ¶ added in v0.13.0
func (c *ApiService) StreamServiceConversationMessageReceipt(ChatServiceSid string, ConversationSid string, MessageSid string, params *ListServiceConversationMessageReceiptParams) (chan ConversationsV1ServiceConversationMessageReceipt, chan error)
Streams ServiceConversationMessageReceipt records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.
func (*ApiService) StreamServiceConversationParticipant ¶ added in v0.13.0
func (c *ApiService) StreamServiceConversationParticipant(ChatServiceSid string, ConversationSid string, params *ListServiceConversationParticipantParams) (chan ConversationsV1ServiceConversationParticipant, chan error)
Streams ServiceConversationParticipant records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.
func (*ApiService) StreamServiceConversationScopedWebhook ¶ added in v0.13.0
func (c *ApiService) StreamServiceConversationScopedWebhook(ChatServiceSid string, ConversationSid string, params *ListServiceConversationScopedWebhookParams) (chan ConversationsV1ServiceConversationScopedWebhook, chan error)
Streams ServiceConversationScopedWebhook records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.
func (*ApiService) StreamServiceParticipantConversation ¶ added in v0.13.0
func (c *ApiService) StreamServiceParticipantConversation(ChatServiceSid string, params *ListServiceParticipantConversationParams) (chan ConversationsV1ServiceParticipantConversation, chan error)
Streams ServiceParticipantConversation records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.
func (*ApiService) StreamServiceRole ¶ added in v0.13.0
func (c *ApiService) StreamServiceRole(ChatServiceSid string, params *ListServiceRoleParams) (chan ConversationsV1ServiceRole, chan error)
Streams ServiceRole records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.
func (*ApiService) StreamServiceUser ¶ added in v0.13.0
func (c *ApiService) StreamServiceUser(ChatServiceSid string, params *ListServiceUserParams) (chan ConversationsV1ServiceUser, chan error)
Streams ServiceUser records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.
func (*ApiService) StreamServiceUserConversation ¶ added in v0.13.0
func (c *ApiService) StreamServiceUserConversation(ChatServiceSid string, UserSid string, params *ListServiceUserConversationParams) (chan ConversationsV1ServiceUserConversation, chan error)
Streams ServiceUserConversation records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.
func (*ApiService) StreamUser ¶ added in v0.13.0
func (c *ApiService) StreamUser(params *ListUserParams) (chan ConversationsV1User, chan error)
Streams User records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.
func (*ApiService) StreamUserConversation ¶ added in v0.13.0
func (c *ApiService) StreamUserConversation(UserSid string, params *ListUserConversationParams) (chan ConversationsV1UserConversation, chan error)
Streams UserConversation records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.
func (*ApiService) UpdateConfiguration ¶ added in v0.11.0
func (c *ApiService) UpdateConfiguration(params *UpdateConfigurationParams) (*ConversationsV1Configuration, error)
Update the global configuration of conversations on your account
func (*ApiService) UpdateConfigurationAddress ¶ added in v0.21.0
func (c *ApiService) UpdateConfigurationAddress(Sid string, params *UpdateConfigurationAddressParams) (*ConversationsV1ConfigurationAddress, error)
Update an existing address configuration
func (*ApiService) UpdateConfigurationWebhook ¶ added in v0.11.0
func (c *ApiService) UpdateConfigurationWebhook(params *UpdateConfigurationWebhookParams) (*ConversationsV1ConfigurationWebhook, error)
func (*ApiService) UpdateConversation ¶ added in v0.11.0
func (c *ApiService) UpdateConversation(Sid string, params *UpdateConversationParams) (*ConversationsV1Conversation, error)
Update an existing conversation in your account's default service
func (*ApiService) UpdateConversationMessage ¶ added in v0.11.0
func (c *ApiService) UpdateConversationMessage(ConversationSid string, Sid string, params *UpdateConversationMessageParams) (*ConversationsV1ConversationMessage, error)
Update an existing message in the conversation
func (*ApiService) UpdateConversationParticipant ¶ added in v0.11.0
func (c *ApiService) UpdateConversationParticipant(ConversationSid string, Sid string, params *UpdateConversationParticipantParams) (*ConversationsV1ConversationParticipant, error)
Update an existing participant in the conversation
func (*ApiService) UpdateConversationScopedWebhook ¶ added in v0.11.0
func (c *ApiService) UpdateConversationScopedWebhook(ConversationSid string, Sid string, params *UpdateConversationScopedWebhookParams) (*ConversationsV1ConversationScopedWebhook, error)
Update an existing conversation-scoped webhook
func (*ApiService) UpdateCredential ¶ added in v0.11.0
func (c *ApiService) UpdateCredential(Sid string, params *UpdateCredentialParams) (*ConversationsV1Credential, error)
Update an existing push notification credential on your account
func (*ApiService) UpdateRole ¶ added in v0.11.0
func (c *ApiService) UpdateRole(Sid string, params *UpdateRoleParams) (*ConversationsV1Role, error)
Update an existing user role in your account's default service
func (*ApiService) UpdateServiceConfiguration ¶ added in v0.11.0
func (c *ApiService) UpdateServiceConfiguration(ChatServiceSid string, params *UpdateServiceConfigurationParams) (*ConversationsV1ServiceConfiguration, error)
Update configuration settings of a conversation service
func (*ApiService) UpdateServiceConversation ¶ added in v0.11.0
func (c *ApiService) UpdateServiceConversation(ChatServiceSid string, Sid string, params *UpdateServiceConversationParams) (*ConversationsV1ServiceConversation, error)
Update an existing conversation in your service
func (*ApiService) UpdateServiceConversationMessage ¶ added in v0.11.0
func (c *ApiService) UpdateServiceConversationMessage(ChatServiceSid string, ConversationSid string, Sid string, params *UpdateServiceConversationMessageParams) (*ConversationsV1ServiceConversationMessage, error)
Update an existing message in the conversation
func (*ApiService) UpdateServiceConversationParticipant ¶ added in v0.11.0
func (c *ApiService) UpdateServiceConversationParticipant(ChatServiceSid string, ConversationSid string, Sid string, params *UpdateServiceConversationParticipantParams) (*ConversationsV1ServiceConversationParticipant, error)
Update an existing participant in the conversation
func (*ApiService) UpdateServiceConversationScopedWebhook ¶ added in v0.11.0
func (c *ApiService) UpdateServiceConversationScopedWebhook(ChatServiceSid string, ConversationSid string, Sid string, params *UpdateServiceConversationScopedWebhookParams) (*ConversationsV1ServiceConversationScopedWebhook, error)
Update an existing conversation-scoped webhook
func (*ApiService) UpdateServiceNotification ¶ added in v0.11.0
func (c *ApiService) UpdateServiceNotification(ChatServiceSid string, params *UpdateServiceNotificationParams) (*ConversationsV1ServiceNotification, error)
Update push notification service settings
func (*ApiService) UpdateServiceRole ¶ added in v0.11.0
func (c *ApiService) UpdateServiceRole(ChatServiceSid string, Sid string, params *UpdateServiceRoleParams) (*ConversationsV1ServiceRole, error)
Update an existing user role in your service
func (*ApiService) UpdateServiceUser ¶ added in v0.11.0
func (c *ApiService) UpdateServiceUser(ChatServiceSid string, Sid string, params *UpdateServiceUserParams) (*ConversationsV1ServiceUser, error)
Update an existing conversation user in your service
func (*ApiService) UpdateServiceUserConversation ¶ added in v0.12.0
func (c *ApiService) UpdateServiceUserConversation(ChatServiceSid string, UserSid string, ConversationSid string, params *UpdateServiceUserConversationParams) (*ConversationsV1ServiceUserConversation, error)
Update a specific User Conversation.
func (*ApiService) UpdateServiceWebhookConfiguration ¶ added in v0.18.2
func (c *ApiService) UpdateServiceWebhookConfiguration(ChatServiceSid string, params *UpdateServiceWebhookConfigurationParams) (*ConversationsV1ServiceWebhookConfiguration, error)
Update a specific Webhook.
func (*ApiService) UpdateUser ¶ added in v0.11.0
func (c *ApiService) UpdateUser(Sid string, params *UpdateUserParams) (*ConversationsV1User, error)
Update an existing conversation user in your account's default service
func (*ApiService) UpdateUserConversation ¶ added in v0.12.0
func (c *ApiService) UpdateUserConversation(UserSid string, ConversationSid string, params *UpdateUserConversationParams) (*ConversationsV1UserConversation, error)
Update a specific User Conversation.
type ConversationsV1Configuration ¶
type ConversationsV1Configuration struct { // The SID of the [Account](https://www.twilio.com/docs/iam/api/account) responsible for this configuration. AccountSid *string `json:"account_sid,omitempty"` // The SID of the default [Conversation Service](https://www.twilio.com/docs/conversations/api/service-resource) used when creating a conversation. DefaultChatServiceSid *string `json:"default_chat_service_sid,omitempty"` // The SID of the default [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) used when creating a conversation. DefaultMessagingServiceSid *string `json:"default_messaging_service_sid,omitempty"` // Default ISO8601 duration when conversation will be switched to `inactive` state. Minimum value for this timer is 1 minute. DefaultInactiveTimer *string `json:"default_inactive_timer,omitempty"` // Default ISO8601 duration when conversation will be switched to `closed` state. Minimum value for this timer is 10 minutes. DefaultClosedTimer *string `json:"default_closed_timer,omitempty"` // An absolute API resource URL for this global configuration. Url *string `json:"url,omitempty"` // Contains absolute API resource URLs to access the webhook and default service configurations. Links *map[string]interface{} `json:"links,omitempty"` }
ConversationsV1Configuration struct for ConversationsV1Configuration
type ConversationsV1ConfigurationAddress ¶ added in v0.21.0
type ConversationsV1ConfigurationAddress struct { // A 34 character string that uniquely identifies this resource. Sid *string `json:"sid,omitempty"` // The unique ID of the [Account](https://www.twilio.com/docs/iam/api/account) the address belongs to AccountSid *string `json:"account_sid,omitempty"` // Type of Address, value can be `whatsapp` or `sms`. Type *string `json:"type,omitempty"` // The unique address to be configured. The address can be a whatsapp address or phone number Address *string `json:"address,omitempty"` // The human-readable name of this configuration, limited to 256 characters. Optional. FriendlyName *string `json:"friendly_name,omitempty"` // Auto Creation configuration for the address. AutoCreation *interface{} `json:"auto_creation,omitempty"` // The date that this resource was created. DateCreated *time.Time `json:"date_created,omitempty"` // The date that this resource was last updated. DateUpdated *time.Time `json:"date_updated,omitempty"` // An absolute API resource URL for this address configuration. Url *string `json:"url,omitempty"` // An ISO 3166-1 alpha-2n country code which the address belongs to. This is currently only applicable to short code addresses. AddressCountry *string `json:"address_country,omitempty"` }
ConversationsV1ConfigurationAddress struct for ConversationsV1ConfigurationAddress
type ConversationsV1ConfigurationWebhook ¶ added in v0.14.0
type ConversationsV1ConfigurationWebhook struct { // The unique ID of the [Account](https://www.twilio.com/docs/iam/api/account) responsible for this conversation. AccountSid *string `json:"account_sid,omitempty"` Method *string `json:"method,omitempty"` // The list of webhook event triggers that are enabled for this Service: `onMessageAdded`, `onMessageUpdated`, `onMessageRemoved`, `onConversationUpdated`, `onConversationRemoved`, `onParticipantAdded`, `onParticipantUpdated`, `onParticipantRemoved` Filters *[]string `json:"filters,omitempty"` // The absolute url the pre-event webhook request should be sent to. PreWebhookUrl *string `json:"pre_webhook_url,omitempty"` // The absolute url the post-event webhook request should be sent to. PostWebhookUrl *string `json:"post_webhook_url,omitempty"` Target *string `json:"target,omitempty"` // An absolute API resource API resource URL for this webhook. Url *string `json:"url,omitempty"` }
ConversationsV1ConfigurationWebhook struct for ConversationsV1ConfigurationWebhook
type ConversationsV1Conversation ¶
type ConversationsV1Conversation struct { // The unique ID of the [Account](https://www.twilio.com/docs/iam/api/account) responsible for this conversation. AccountSid *string `json:"account_sid,omitempty"` // The unique ID of the [Conversation Service](https://www.twilio.com/docs/conversations/api/service-resource) this conversation belongs to. ChatServiceSid *string `json:"chat_service_sid,omitempty"` // The unique ID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) this conversation belongs to. MessagingServiceSid *string `json:"messaging_service_sid,omitempty"` // A 34 character string that uniquely identifies this resource. Sid *string `json:"sid,omitempty"` // The human-readable name of this conversation, limited to 256 characters. Optional. FriendlyName *string `json:"friendly_name,omitempty"` // An application-defined string that uniquely identifies the resource. It can be used to address the resource in place of the resource's `sid` in the URL. UniqueName *string `json:"unique_name,omitempty"` // An optional string metadata field you can use to store any data you wish. The string value must contain structurally valid JSON if specified. **Note** that if the attributes are not set \"{}\" will be returned. Attributes *string `json:"attributes,omitempty"` State *string `json:"state,omitempty"` // The date that this resource was created. DateCreated *time.Time `json:"date_created,omitempty"` // The date that this resource was last updated. DateUpdated *time.Time `json:"date_updated,omitempty"` // Timer date values representing state update for this conversation. Timers *interface{} `json:"timers,omitempty"` // An absolute API resource URL for this conversation. Url *string `json:"url,omitempty"` // Contains absolute URLs to access the [participants](https://www.twilio.com/docs/conversations/api/conversation-participant-resource), [messages](https://www.twilio.com/docs/conversations/api/conversation-message-resource) and [webhooks](https://www.twilio.com/docs/conversations/api/conversation-scoped-webhook-resource) of this conversation. Links *map[string]interface{} `json:"links,omitempty"` Bindings *interface{} `json:"bindings,omitempty"` }
ConversationsV1Conversation struct for ConversationsV1Conversation
type ConversationsV1ConversationMessage ¶ added in v0.14.0
type ConversationsV1ConversationMessage struct { // The unique ID of the [Account](https://www.twilio.com/docs/iam/api/account) responsible for this message. AccountSid *string `json:"account_sid,omitempty"` // The unique ID of the [Conversation](https://www.twilio.com/docs/conversations/api/conversation-resource) for this message. ConversationSid *string `json:"conversation_sid,omitempty"` // A 34 character string that uniquely identifies this resource. Sid *string `json:"sid,omitempty"` // The index of the message within the [Conversation](https://www.twilio.com/docs/conversations/api/conversation-resource). Indices may skip numbers, but will always be in order of when the message was received. Index int `json:"index,omitempty"` // The channel specific identifier of the message's author. Defaults to `system`. Author *string `json:"author,omitempty"` // The content of the message, can be up to 1,600 characters long. Body *string `json:"body,omitempty"` // An array of objects that describe the Message's media, if the message contains media. Each object contains these fields: `content_type` with the MIME type of the media, `filename` with the name of the media, `sid` with the SID of the Media resource, and `size` with the media object's file size in bytes. If the Message has no media, this value is `null`. Media *[]interface{} `json:"media,omitempty"` // A string metadata field you can use to store any data you wish. The string value must contain structurally valid JSON if specified. **Note** that if the attributes are not set \"{}\" will be returned. Attributes *string `json:"attributes,omitempty"` // The unique ID of messages's author participant. Null in case of `system` sent message. ParticipantSid *string `json:"participant_sid,omitempty"` // The date that this resource was created. DateCreated *time.Time `json:"date_created,omitempty"` // The date that this resource was last updated. `null` if the message has not been edited. DateUpdated *time.Time `json:"date_updated,omitempty"` // An absolute API resource API URL for this message. Url *string `json:"url,omitempty"` // An object that contains the summary of delivery statuses for the message to non-chat participants. Delivery *interface{} `json:"delivery,omitempty"` // Contains an absolute API resource URL to access the delivery & read receipts of this message. Links *map[string]interface{} `json:"links,omitempty"` // The unique ID of the multi-channel [Rich Content](https://www.twilio.com/docs/content) template. ContentSid *string `json:"content_sid,omitempty"` }
ConversationsV1ConversationMessage struct for ConversationsV1ConversationMessage
type ConversationsV1ConversationMessageReceipt ¶ added in v0.14.0
type ConversationsV1ConversationMessageReceipt struct { // The unique ID of the [Account](https://www.twilio.com/docs/iam/api/account) responsible for this participant. AccountSid *string `json:"account_sid,omitempty"` // The unique ID of the [Conversation](https://www.twilio.com/docs/conversations/api/conversation-resource) for this message. ConversationSid *string `json:"conversation_sid,omitempty"` // A 34 character string that uniquely identifies this resource. Sid *string `json:"sid,omitempty"` // The SID of the message within a [Conversation](https://www.twilio.com/docs/conversations/api/conversation-resource) the delivery receipt belongs to MessageSid *string `json:"message_sid,omitempty"` // A messaging channel-specific identifier for the message delivered to participant e.g. `SMxx` for SMS, `WAxx` for Whatsapp etc. ChannelMessageSid *string `json:"channel_message_sid,omitempty"` // The unique ID of the participant the delivery receipt belongs to. ParticipantSid *string `json:"participant_sid,omitempty"` Status *string `json:"status,omitempty"` // The message [delivery error code](https://www.twilio.com/docs/sms/api/message-resource#delivery-related-errors) for a `failed` status, ErrorCode int `json:"error_code,omitempty"` // The date that this resource was created. DateCreated *time.Time `json:"date_created,omitempty"` // The date that this resource was last updated. `null` if the delivery receipt has not been updated. DateUpdated *time.Time `json:"date_updated,omitempty"` // An absolute API resource URL for this delivery receipt. Url *string `json:"url,omitempty"` }
ConversationsV1ConversationMessageReceipt struct for ConversationsV1ConversationMessageReceipt
type ConversationsV1ConversationParticipant ¶ added in v0.14.0
type ConversationsV1ConversationParticipant struct { // The unique ID of the [Account](https://www.twilio.com/docs/iam/api/account) responsible for this participant. AccountSid *string `json:"account_sid,omitempty"` // The unique ID of the [Conversation](https://www.twilio.com/docs/conversations/api/conversation-resource) for this participant. ConversationSid *string `json:"conversation_sid,omitempty"` // A 34 character string that uniquely identifies this resource. Sid *string `json:"sid,omitempty"` // A unique string identifier for the conversation participant as [Conversation User](https://www.twilio.com/docs/conversations/api/user-resource). This parameter is non-null if (and only if) the participant is using the Conversations SDK to communicate. Limited to 256 characters. Identity *string `json:"identity,omitempty"` // An optional string metadata field you can use to store any data you wish. The string value must contain structurally valid JSON if specified. **Note** that if the attributes are not set \"{}\" will be returned. Attributes *string `json:"attributes,omitempty"` // Information about how this participant exchanges messages with the conversation. A JSON parameter consisting of type and address fields of the participant. MessagingBinding *interface{} `json:"messaging_binding,omitempty"` // The SID of a conversation-level [Role](https://www.twilio.com/docs/conversations/api/role-resource) to assign to the participant. RoleSid *string `json:"role_sid,omitempty"` // The date that this resource was created. DateCreated *time.Time `json:"date_created,omitempty"` // The date that this resource was last updated. DateUpdated *time.Time `json:"date_updated,omitempty"` // An absolute API resource URL for this participant. Url *string `json:"url,omitempty"` // Index of last “read” message in the [Conversation](https://www.twilio.com/docs/conversations/api/conversation-resource) for the Participant. LastReadMessageIndex *int `json:"last_read_message_index,omitempty"` // Timestamp of last “read” message in the [Conversation](https://www.twilio.com/docs/conversations/api/conversation-resource) for the Participant. LastReadTimestamp *string `json:"last_read_timestamp,omitempty"` }
ConversationsV1ConversationParticipant struct for ConversationsV1ConversationParticipant
type ConversationsV1ConversationScopedWebhook ¶ added in v0.14.0
type ConversationsV1ConversationScopedWebhook struct { // A 34 character string that uniquely identifies this resource. Sid *string `json:"sid,omitempty"` // The unique ID of the [Account](https://www.twilio.com/docs/iam/api/account) responsible for this conversation. AccountSid *string `json:"account_sid,omitempty"` // The unique ID of the [Conversation](https://www.twilio.com/docs/conversations/api/conversation-resource) for this webhook. ConversationSid *string `json:"conversation_sid,omitempty"` // The target of this webhook: `webhook`, `studio`, `trigger` Target *string `json:"target,omitempty"` // An absolute API resource URL for this webhook. Url *string `json:"url,omitempty"` // The configuration of this webhook. Is defined based on target. Configuration *interface{} `json:"configuration,omitempty"` // The date that this resource was created. DateCreated *time.Time `json:"date_created,omitempty"` // The date that this resource was last updated. DateUpdated *time.Time `json:"date_updated,omitempty"` }
ConversationsV1ConversationScopedWebhook struct for ConversationsV1ConversationScopedWebhook
type ConversationsV1Credential ¶
type ConversationsV1Credential struct { // A 34 character string that uniquely identifies this resource. Sid *string `json:"sid,omitempty"` // The unique ID of the [Account](https://www.twilio.com/docs/iam/api/account) responsible for this credential. AccountSid *string `json:"account_sid,omitempty"` // The human-readable name of this credential, limited to 64 characters. Optional. FriendlyName *string `json:"friendly_name,omitempty"` Type *string `json:"type,omitempty"` // [APN only] Whether to send the credential to sandbox APNs. Can be `true` to send to sandbox APNs or `false` to send to production. Sandbox *string `json:"sandbox,omitempty"` // The date that this resource was created. DateCreated *time.Time `json:"date_created,omitempty"` // The date that this resource was last updated. DateUpdated *time.Time `json:"date_updated,omitempty"` // An absolute API resource URL for this credential. Url *string `json:"url,omitempty"` }
ConversationsV1Credential struct for ConversationsV1Credential
type ConversationsV1ParticipantConversation ¶ added in v0.13.0
type ConversationsV1ParticipantConversation struct { // The unique ID of the [Account](https://www.twilio.com/docs/iam/api/account) responsible for this conversation. AccountSid *string `json:"account_sid,omitempty"` // The unique ID of the [Conversation Service](https://www.twilio.com/docs/conversations/api/service-resource) this conversation belongs to. ChatServiceSid *string `json:"chat_service_sid,omitempty"` // The unique ID of the [Participant](https://www.twilio.com/docs/conversations/api/conversation-participant-resource). ParticipantSid *string `json:"participant_sid,omitempty"` // The unique string that identifies the conversation participant as [Conversation User](https://www.twilio.com/docs/conversations/api/user-resource). ParticipantUserSid *string `json:"participant_user_sid,omitempty"` // A unique string identifier for the conversation participant as [Conversation User](https://www.twilio.com/docs/conversations/api/user-resource). This parameter is non-null if (and only if) the participant is using the Conversations SDK to communicate. Limited to 256 characters. ParticipantIdentity *string `json:"participant_identity,omitempty"` // Information about how this participant exchanges messages with the conversation. A JSON parameter consisting of type and address fields of the participant. ParticipantMessagingBinding *interface{} `json:"participant_messaging_binding,omitempty"` // The unique ID of the [Conversation](https://www.twilio.com/docs/conversations/api/conversation-resource) this Participant belongs to. ConversationSid *string `json:"conversation_sid,omitempty"` // An application-defined string that uniquely identifies the Conversation resource. ConversationUniqueName *string `json:"conversation_unique_name,omitempty"` // The human-readable name of this conversation, limited to 256 characters. Optional. ConversationFriendlyName *string `json:"conversation_friendly_name,omitempty"` // An optional string metadata field you can use to store any data you wish. The string value must contain structurally valid JSON if specified. **Note** that if the attributes are not set \"{}\" will be returned. ConversationAttributes *string `json:"conversation_attributes,omitempty"` // The date that this conversation was created, given in ISO 8601 format. ConversationDateCreated *time.Time `json:"conversation_date_created,omitempty"` // The date that this conversation was last updated, given in ISO 8601 format. ConversationDateUpdated *time.Time `json:"conversation_date_updated,omitempty"` // Identity of the creator of this Conversation. ConversationCreatedBy *string `json:"conversation_created_by,omitempty"` ConversationState *string `json:"conversation_state,omitempty"` // Timer date values representing state update for this conversation. ConversationTimers *interface{} `json:"conversation_timers,omitempty"` // Contains absolute URLs to access the [participant](https://www.twilio.com/docs/conversations/api/conversation-participant-resource) and [conversation](https://www.twilio.com/docs/conversations/api/conversation-resource) of this conversation. Links *map[string]interface{} `json:"links,omitempty"` }
ConversationsV1ParticipantConversation struct for ConversationsV1ParticipantConversation
type ConversationsV1Role ¶
type ConversationsV1Role struct { // The unique string that we created to identify the Role resource. Sid *string `json:"sid,omitempty"` // The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Role resource. AccountSid *string `json:"account_sid,omitempty"` // The SID of the [Conversation Service](https://www.twilio.com/docs/conversations/api/service-resource) the Role resource is associated with. ChatServiceSid *string `json:"chat_service_sid,omitempty"` // The string that you assigned to describe the resource. FriendlyName *string `json:"friendly_name,omitempty"` Type *string `json:"type,omitempty"` // An array of the permissions the role has been granted. Permissions *[]string `json:"permissions,omitempty"` // The date and time in GMT when the resource was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. DateCreated *time.Time `json:"date_created,omitempty"` // The date and time in GMT when the resource was last updated specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. DateUpdated *time.Time `json:"date_updated,omitempty"` // An absolute API resource URL for this user role. Url *string `json:"url,omitempty"` }
ConversationsV1Role struct for ConversationsV1Role
type ConversationsV1Service ¶
type ConversationsV1Service struct { // The unique ID of the [Account](https://www.twilio.com/docs/iam/api/account) responsible for this service. AccountSid *string `json:"account_sid,omitempty"` // A 34 character string that uniquely identifies this resource. Sid *string `json:"sid,omitempty"` // The human-readable name of this service, limited to 256 characters. Optional. FriendlyName *string `json:"friendly_name,omitempty"` // The date that this resource was created. DateCreated *time.Time `json:"date_created,omitempty"` // The date that this resource was last updated. DateUpdated *time.Time `json:"date_updated,omitempty"` // An absolute API resource URL for this service. Url *string `json:"url,omitempty"` // Contains absolute API resource URLs to access conversations, users, roles, bindings and configuration of this service. Links *map[string]interface{} `json:"links,omitempty"` }
ConversationsV1Service struct for ConversationsV1Service
type ConversationsV1ServiceBinding ¶ added in v0.14.0
type ConversationsV1ServiceBinding struct { // A 34 character string that uniquely identifies this resource. Sid *string `json:"sid,omitempty"` // The unique ID of the [Account](https://www.twilio.com/docs/iam/api/account) responsible for this binding. AccountSid *string `json:"account_sid,omitempty"` // The SID of the [Conversation Service](https://www.twilio.com/docs/conversations/api/service-resource) the Binding resource is associated with. ChatServiceSid *string `json:"chat_service_sid,omitempty"` // The SID of the [Credential](https://www.twilio.com/docs/conversations/api/credential-resource) for the binding. See [push notification configuration](https://www.twilio.com/docs/chat/push-notification-configuration) for more info. CredentialSid *string `json:"credential_sid,omitempty"` // The date that this resource was created. DateCreated *time.Time `json:"date_created,omitempty"` // The date that this resource was last updated. DateUpdated *time.Time `json:"date_updated,omitempty"` // The unique endpoint identifier for the Binding. The format of this value depends on the `binding_type`. Endpoint *string `json:"endpoint,omitempty"` // The application-defined string that uniquely identifies the [Conversation User](https://www.twilio.com/docs/conversations/api/user-resource) within the [Conversation Service](https://www.twilio.com/docs/conversations/api/service-resource). See [access tokens](https://www.twilio.com/docs/conversations/create-tokens) for more info. Identity *string `json:"identity,omitempty"` BindingType *string `json:"binding_type,omitempty"` // The [Conversation message types](https://www.twilio.com/docs/chat/push-notification-configuration#push-types) the binding is subscribed to. MessageTypes *[]string `json:"message_types,omitempty"` // An absolute API resource URL for this binding. Url *string `json:"url,omitempty"` }
ConversationsV1ServiceBinding struct for ConversationsV1ServiceBinding
type ConversationsV1ServiceConfiguration ¶ added in v0.14.0
type ConversationsV1ServiceConfiguration struct { // The unique string that we created to identify the Service configuration resource. ChatServiceSid *string `json:"chat_service_sid,omitempty"` // The conversation-level role assigned to a conversation creator when they join a new conversation. See [Conversation Role](https://www.twilio.com/docs/conversations/api/role-resource) for more info about roles. DefaultConversationCreatorRoleSid *string `json:"default_conversation_creator_role_sid,omitempty"` // The conversation-level role assigned to users when they are added to a conversation. See [Conversation Role](https://www.twilio.com/docs/conversations/api/role-resource) for more info about roles. DefaultConversationRoleSid *string `json:"default_conversation_role_sid,omitempty"` // The service-level role assigned to users when they are added to the service. See [Conversation Role](https://www.twilio.com/docs/conversations/api/role-resource) for more info about roles. DefaultChatServiceRoleSid *string `json:"default_chat_service_role_sid,omitempty"` // An absolute API resource URL for this service configuration. Url *string `json:"url,omitempty"` // Contains an absolute API resource URL to access the push notifications configuration of this service. Links *map[string]interface{} `json:"links,omitempty"` // Whether the [Reachability Indicator](https://www.twilio.com/docs/conversations/reachability) is enabled for this Conversations Service. The default is `false`. ReachabilityEnabled *bool `json:"reachability_enabled,omitempty"` }
ConversationsV1ServiceConfiguration struct for ConversationsV1ServiceConfiguration
type ConversationsV1ServiceConversation ¶ added in v0.14.0
type ConversationsV1ServiceConversation struct { // The unique ID of the [Account](https://www.twilio.com/docs/iam/api/account) responsible for this conversation. AccountSid *string `json:"account_sid,omitempty"` // The unique ID of the [Conversation Service](https://www.twilio.com/docs/conversations/api/service-resource) this conversation belongs to. ChatServiceSid *string `json:"chat_service_sid,omitempty"` // The unique ID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) this conversation belongs to. MessagingServiceSid *string `json:"messaging_service_sid,omitempty"` // A 34 character string that uniquely identifies this resource. Sid *string `json:"sid,omitempty"` // The human-readable name of this conversation, limited to 256 characters. Optional. FriendlyName *string `json:"friendly_name,omitempty"` // An application-defined string that uniquely identifies the resource. It can be used to address the resource in place of the resource's `sid` in the URL. UniqueName *string `json:"unique_name,omitempty"` // An optional string metadata field you can use to store any data you wish. The string value must contain structurally valid JSON if specified. **Note** that if the attributes are not set \"{}\" will be returned. Attributes *string `json:"attributes,omitempty"` State *string `json:"state,omitempty"` // The date that this resource was created. DateCreated *time.Time `json:"date_created,omitempty"` // The date that this resource was last updated. DateUpdated *time.Time `json:"date_updated,omitempty"` // Timer date values representing state update for this conversation. Timers *interface{} `json:"timers,omitempty"` // An absolute API resource URL for this conversation. Url *string `json:"url,omitempty"` // Contains absolute URLs to access the [participants](https://www.twilio.com/docs/conversations/api/conversation-participant-resource), [messages](https://www.twilio.com/docs/conversations/api/conversation-message-resource) and [webhooks](https://www.twilio.com/docs/conversations/api/conversation-scoped-webhook-resource) of this conversation. Links *map[string]interface{} `json:"links,omitempty"` Bindings *interface{} `json:"bindings,omitempty"` }
ConversationsV1ServiceConversation struct for ConversationsV1ServiceConversation
type ConversationsV1ServiceConversationMessage ¶ added in v0.14.0
type ConversationsV1ServiceConversationMessage struct { // The unique ID of the [Account](https://www.twilio.com/docs/iam/api/account) responsible for this message. AccountSid *string `json:"account_sid,omitempty"` // The SID of the [Conversation Service](https://www.twilio.com/docs/conversations/api/service-resource) the Participant resource is associated with. ChatServiceSid *string `json:"chat_service_sid,omitempty"` // The unique ID of the [Conversation](https://www.twilio.com/docs/conversations/api/conversation-resource) for this message. ConversationSid *string `json:"conversation_sid,omitempty"` // A 34 character string that uniquely identifies this resource. Sid *string `json:"sid,omitempty"` // The index of the message within the [Conversation](https://www.twilio.com/docs/conversations/api/conversation-resource). Index int `json:"index,omitempty"` // The channel specific identifier of the message's author. Defaults to `system`. Author *string `json:"author,omitempty"` // The content of the message, can be up to 1,600 characters long. Body *string `json:"body,omitempty"` // An array of objects that describe the Message's media, if the message contains media. Each object contains these fields: `content_type` with the MIME type of the media, `filename` with the name of the media, `sid` with the SID of the Media resource, and `size` with the media object's file size in bytes. If the Message has no media, this value is `null`. Media *[]interface{} `json:"media,omitempty"` // A string metadata field you can use to store any data you wish. The string value must contain structurally valid JSON if specified. **Note** that if the attributes are not set \"{}\" will be returned. Attributes *string `json:"attributes,omitempty"` // The unique ID of messages's author participant. Null in case of `system` sent message. ParticipantSid *string `json:"participant_sid,omitempty"` // The date that this resource was created. DateCreated *time.Time `json:"date_created,omitempty"` // The date that this resource was last updated. `null` if the message has not been edited. DateUpdated *time.Time `json:"date_updated,omitempty"` // An object that contains the summary of delivery statuses for the message to non-chat participants. Delivery *interface{} `json:"delivery,omitempty"` // An absolute API resource URL for this message. Url *string `json:"url,omitempty"` // Contains an absolute API resource URL to access the delivery & read receipts of this message. Links *map[string]interface{} `json:"links,omitempty"` // The unique ID of the multi-channel [Rich Content](https://www.twilio.com/docs/content) template. ContentSid *string `json:"content_sid,omitempty"` }
ConversationsV1ServiceConversationMessage struct for ConversationsV1ServiceConversationMessage
type ConversationsV1ServiceConversationMessageReceipt ¶ added in v0.14.0
type ConversationsV1ServiceConversationMessageReceipt struct { // The unique ID of the [Account](https://www.twilio.com/docs/iam/api/account) responsible for this participant. AccountSid *string `json:"account_sid,omitempty"` // The SID of the [Conversation Service](https://www.twilio.com/docs/conversations/api/service-resource) the Message resource is associated with. ChatServiceSid *string `json:"chat_service_sid,omitempty"` // The unique ID of the [Conversation](https://www.twilio.com/docs/conversations/api/conversation-resource) for this message. ConversationSid *string `json:"conversation_sid,omitempty"` // The SID of the message within a [Conversation](https://www.twilio.com/docs/conversations/api/conversation-resource) the delivery receipt belongs to MessageSid *string `json:"message_sid,omitempty"` // A 34 character string that uniquely identifies this resource. Sid *string `json:"sid,omitempty"` // A messaging channel-specific identifier for the message delivered to participant e.g. `SMxx` for SMS, `WAxx` for Whatsapp etc. ChannelMessageSid *string `json:"channel_message_sid,omitempty"` // The unique ID of the participant the delivery receipt belongs to. ParticipantSid *string `json:"participant_sid,omitempty"` Status *string `json:"status,omitempty"` // The message [delivery error code](https://www.twilio.com/docs/sms/api/message-resource#delivery-related-errors) for a `failed` status, ErrorCode int `json:"error_code,omitempty"` // The date that this resource was created. DateCreated *time.Time `json:"date_created,omitempty"` // The date that this resource was last updated. `null` if the delivery receipt has not been updated. DateUpdated *time.Time `json:"date_updated,omitempty"` // An absolute API resource URL for this delivery receipt. Url *string `json:"url,omitempty"` }
ConversationsV1ServiceConversationMessageReceipt struct for ConversationsV1ServiceConversationMessageReceipt
type ConversationsV1ServiceConversationParticipant ¶ added in v0.14.0
type ConversationsV1ServiceConversationParticipant struct { // The unique ID of the [Account](https://www.twilio.com/docs/iam/api/account) responsible for this participant. AccountSid *string `json:"account_sid,omitempty"` // The SID of the [Conversation Service](https://www.twilio.com/docs/conversations/api/service-resource) the Participant resource is associated with. ChatServiceSid *string `json:"chat_service_sid,omitempty"` // The unique ID of the [Conversation](https://www.twilio.com/docs/conversations/api/conversation-resource) for this participant. ConversationSid *string `json:"conversation_sid,omitempty"` // A 34 character string that uniquely identifies this resource. Sid *string `json:"sid,omitempty"` // A unique string identifier for the conversation participant as [Conversation User](https://www.twilio.com/docs/conversations/api/user-resource). This parameter is non-null if (and only if) the participant is using the [Conversation SDK](https://www.twilio.com/docs/conversations/sdk-overview) to communicate. Limited to 256 characters. Identity *string `json:"identity,omitempty"` // An optional string metadata field you can use to store any data you wish. The string value must contain structurally valid JSON if specified. **Note** that if the attributes are not set `{}` will be returned. Attributes *string `json:"attributes,omitempty"` // Information about how this participant exchanges messages with the conversation. A JSON parameter consisting of type and address fields of the participant. MessagingBinding *interface{} `json:"messaging_binding,omitempty"` // The SID of a conversation-level [Role](https://www.twilio.com/docs/conversations/api/role-resource) to assign to the participant. RoleSid *string `json:"role_sid,omitempty"` // The date on which this resource was created. DateCreated *time.Time `json:"date_created,omitempty"` // The date on which this resource was last updated. DateUpdated *time.Time `json:"date_updated,omitempty"` // An absolute API resource URL for this participant. Url *string `json:"url,omitempty"` // Index of last “read” message in the [Conversation](https://www.twilio.com/docs/conversations/api/conversation-resource) for the Participant. LastReadMessageIndex *int `json:"last_read_message_index,omitempty"` // Timestamp of last “read” message in the [Conversation](https://www.twilio.com/docs/conversations/api/conversation-resource) for the Participant. LastReadTimestamp *string `json:"last_read_timestamp,omitempty"` }
ConversationsV1ServiceConversationParticipant struct for ConversationsV1ServiceConversationParticipant
type ConversationsV1ServiceConversationScopedWebhook ¶ added in v0.14.0
type ConversationsV1ServiceConversationScopedWebhook struct { // A 34 character string that uniquely identifies this resource. Sid *string `json:"sid,omitempty"` // The unique ID of the [Account](https://www.twilio.com/docs/iam/api/account) responsible for this conversation. AccountSid *string `json:"account_sid,omitempty"` // The SID of the [Conversation Service](https://www.twilio.com/docs/conversations/api/service-resource) the Participant resource is associated with. ChatServiceSid *string `json:"chat_service_sid,omitempty"` // The unique ID of the [Conversation](https://www.twilio.com/docs/conversations/api/conversation-resource) for this webhook. ConversationSid *string `json:"conversation_sid,omitempty"` // The target of this webhook: `webhook`, `studio`, `trigger` Target *string `json:"target,omitempty"` // An absolute API resource URL for this webhook. Url *string `json:"url,omitempty"` // The configuration of this webhook. Is defined based on target. Configuration *interface{} `json:"configuration,omitempty"` // The date that this resource was created. DateCreated *time.Time `json:"date_created,omitempty"` // The date that this resource was last updated. DateUpdated *time.Time `json:"date_updated,omitempty"` }
ConversationsV1ServiceConversationScopedWebhook struct for ConversationsV1ServiceConversationScopedWebhook
type ConversationsV1ServiceNotification ¶ added in v0.14.0
type ConversationsV1ServiceNotification struct { // The unique ID of the [Account](https://www.twilio.com/docs/iam/api/account) responsible for this configuration. AccountSid *string `json:"account_sid,omitempty"` // The SID of the [Conversation Service](https://www.twilio.com/docs/conversations/api/service-resource) the Configuration applies to. ChatServiceSid *string `json:"chat_service_sid,omitempty"` // The Push Notification configuration for New Messages. NewMessage *interface{} `json:"new_message,omitempty"` // The Push Notification configuration for being added to a Conversation. AddedToConversation *interface{} `json:"added_to_conversation,omitempty"` // The Push Notification configuration for being removed from a Conversation. RemovedFromConversation *interface{} `json:"removed_from_conversation,omitempty"` // Weather the notification logging is enabled. LogEnabled *bool `json:"log_enabled,omitempty"` // An absolute API resource URL for this configuration. Url *string `json:"url,omitempty"` }
ConversationsV1ServiceNotification struct for ConversationsV1ServiceNotification
type ConversationsV1ServiceParticipantConversation ¶ added in v0.14.0
type ConversationsV1ServiceParticipantConversation struct { // The unique ID of the [Account](https://www.twilio.com/docs/iam/api/account) responsible for this conversation. AccountSid *string `json:"account_sid,omitempty"` // The unique ID of the [Conversation Service](https://www.twilio.com/docs/conversations/api/service-resource) this conversation belongs to. ChatServiceSid *string `json:"chat_service_sid,omitempty"` // The unique ID of the [Participant](https://www.twilio.com/docs/conversations/api/conversation-participant-resource). ParticipantSid *string `json:"participant_sid,omitempty"` // The unique string that identifies the conversation participant as [Conversation User](https://www.twilio.com/docs/conversations/api/user-resource). ParticipantUserSid *string `json:"participant_user_sid,omitempty"` // A unique string identifier for the conversation participant as [Conversation User](https://www.twilio.com/docs/conversations/api/user-resource). This parameter is non-null if (and only if) the participant is using the Conversations SDK to communicate. Limited to 256 characters. ParticipantIdentity *string `json:"participant_identity,omitempty"` // Information about how this participant exchanges messages with the conversation. A JSON parameter consisting of type and address fields of the participant. ParticipantMessagingBinding *interface{} `json:"participant_messaging_binding,omitempty"` // The unique ID of the [Conversation](https://www.twilio.com/docs/conversations/api/conversation-resource) this Participant belongs to. ConversationSid *string `json:"conversation_sid,omitempty"` // An application-defined string that uniquely identifies the Conversation resource. ConversationUniqueName *string `json:"conversation_unique_name,omitempty"` // The human-readable name of this conversation, limited to 256 characters. Optional. ConversationFriendlyName *string `json:"conversation_friendly_name,omitempty"` // An optional string metadata field you can use to store any data you wish. The string value must contain structurally valid JSON if specified. **Note** that if the attributes are not set \"{}\" will be returned. ConversationAttributes *string `json:"conversation_attributes,omitempty"` // The date that this conversation was created, given in ISO 8601 format. ConversationDateCreated *time.Time `json:"conversation_date_created,omitempty"` // The date that this conversation was last updated, given in ISO 8601 format. ConversationDateUpdated *time.Time `json:"conversation_date_updated,omitempty"` // Identity of the creator of this Conversation. ConversationCreatedBy *string `json:"conversation_created_by,omitempty"` ConversationState *string `json:"conversation_state,omitempty"` // Timer date values representing state update for this conversation. ConversationTimers *interface{} `json:"conversation_timers,omitempty"` // Contains absolute URLs to access the [participant](https://www.twilio.com/docs/conversations/api/conversation-participant-resource) and [conversation](https://www.twilio.com/docs/conversations/api/conversation-resource) of this conversation. Links *map[string]interface{} `json:"links,omitempty"` }
ConversationsV1ServiceParticipantConversation struct for ConversationsV1ServiceParticipantConversation
type ConversationsV1ServiceRole ¶ added in v0.14.0
type ConversationsV1ServiceRole struct { // The unique string that we created to identify the Role resource. Sid *string `json:"sid,omitempty"` // The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Role resource. AccountSid *string `json:"account_sid,omitempty"` // The SID of the [Conversation Service](https://www.twilio.com/docs/conversations/api/service-resource) the Role resource is associated with. ChatServiceSid *string `json:"chat_service_sid,omitempty"` // The string that you assigned to describe the resource. FriendlyName *string `json:"friendly_name,omitempty"` Type *string `json:"type,omitempty"` // An array of the permissions the role has been granted. Permissions *[]string `json:"permissions,omitempty"` // The date and time in GMT when the resource was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. DateCreated *time.Time `json:"date_created,omitempty"` // The date and time in GMT when the resource was last updated specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. DateUpdated *time.Time `json:"date_updated,omitempty"` // An absolute API resource URL for this user role. Url *string `json:"url,omitempty"` }
ConversationsV1ServiceRole struct for ConversationsV1ServiceRole
type ConversationsV1ServiceUser ¶ added in v0.14.0
type ConversationsV1ServiceUser struct { // The unique string that we created to identify the User resource. Sid *string `json:"sid,omitempty"` // The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the User resource. AccountSid *string `json:"account_sid,omitempty"` // The SID of the [Conversation Service](https://www.twilio.com/docs/conversations/api/service-resource) the User resource is associated with. ChatServiceSid *string `json:"chat_service_sid,omitempty"` // The SID of a service-level [Role](https://www.twilio.com/docs/conversations/api/role-resource) assigned to the user. RoleSid *string `json:"role_sid,omitempty"` // The application-defined string that uniquely identifies the resource's User within the [Conversation Service](https://www.twilio.com/docs/conversations/api/service-resource). This value is often a username or an email address, and is case-sensitive. Identity *string `json:"identity,omitempty"` // The string that you assigned to describe the resource. FriendlyName *string `json:"friendly_name,omitempty"` // The JSON Object string that stores application-specific data. If attributes have not been set, `{}` is returned. Attributes *string `json:"attributes,omitempty"` // Whether the User is actively connected to this Conversations Service and online. This value is only returned by Fetch actions that return a single resource and `null` is always returned by a Read action. This value is `null` if the Service's `reachability_enabled` is `false`, if the User has never been online for this Conversations Service, even if the Service's `reachability_enabled` is `true`. IsOnline *bool `json:"is_online,omitempty"` // Whether the User has a potentially valid Push Notification registration (APN or GCM) for this Conversations Service. If at least one registration exists, `true`; otherwise `false`. This value is only returned by Fetch actions that return a single resource and `null` is always returned by a Read action. This value is `null` if the Service's `reachability_enabled` is `false`, and if the User has never had a notification registration, even if the Service's `reachability_enabled` is `true`. IsNotifiable *bool `json:"is_notifiable,omitempty"` // The date and time in GMT when the resource was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. DateCreated *time.Time `json:"date_created,omitempty"` // The date and time in GMT when the resource was last updated specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. DateUpdated *time.Time `json:"date_updated,omitempty"` // An absolute API resource URL for this user. Url *string `json:"url,omitempty"` Links *map[string]interface{} `json:"links,omitempty"` }
ConversationsV1ServiceUser struct for ConversationsV1ServiceUser
type ConversationsV1ServiceUserConversation ¶ added in v0.14.0
type ConversationsV1ServiceUserConversation struct { // The unique ID of the [Account](https://www.twilio.com/docs/iam/api/account) responsible for this conversation. AccountSid *string `json:"account_sid,omitempty"` // The unique ID of the [Conversation Service](https://www.twilio.com/docs/conversations/api/service-resource) this conversation belongs to. ChatServiceSid *string `json:"chat_service_sid,omitempty"` // The unique ID of the [Conversation](https://www.twilio.com/docs/conversations/api/conversation-resource) for this User Conversation. ConversationSid *string `json:"conversation_sid,omitempty"` // The number of unread Messages in the Conversation for the Participant. UnreadMessagesCount *int `json:"unread_messages_count,omitempty"` // The index of the last Message in the Conversation that the Participant has read. LastReadMessageIndex *int `json:"last_read_message_index,omitempty"` // The unique ID of the [participant](https://www.twilio.com/docs/conversations/api/conversation-participant-resource) the user conversation belongs to. ParticipantSid *string `json:"participant_sid,omitempty"` // The unique string that identifies the [User resource](https://www.twilio.com/docs/conversations/api/user-resource). UserSid *string `json:"user_sid,omitempty"` // The human-readable name of this conversation, limited to 256 characters. Optional. FriendlyName *string `json:"friendly_name,omitempty"` ConversationState *string `json:"conversation_state,omitempty"` // Timer date values representing state update for this conversation. Timers *interface{} `json:"timers,omitempty"` // An optional string metadata field you can use to store any data you wish. The string value must contain structurally valid JSON if specified. **Note** that if the attributes are not set \"{}\" will be returned. Attributes *string `json:"attributes,omitempty"` // The date that this conversation was created, given in ISO 8601 format. DateCreated *time.Time `json:"date_created,omitempty"` // The date that this conversation was last updated, given in ISO 8601 format. DateUpdated *time.Time `json:"date_updated,omitempty"` // Identity of the creator of this Conversation. CreatedBy *string `json:"created_by,omitempty"` NotificationLevel *string `json:"notification_level,omitempty"` // An application-defined string that uniquely identifies the Conversation resource. It can be used to address the resource in place of the resource's `conversation_sid` in the URL. UniqueName *string `json:"unique_name,omitempty"` Url *string `json:"url,omitempty"` // Contains absolute URLs to access the [participant](https://www.twilio.com/docs/conversations/api/conversation-participant-resource) and [conversation](https://www.twilio.com/docs/conversations/api/conversation-resource) of this conversation. Links *map[string]interface{} `json:"links,omitempty"` }
ConversationsV1ServiceUserConversation struct for ConversationsV1ServiceUserConversation
type ConversationsV1ServiceWebhookConfiguration ¶ added in v0.18.2
type ConversationsV1ServiceWebhookConfiguration struct { // The unique ID of the [Account](https://www.twilio.com/docs/iam/api/account) responsible for this service. AccountSid *string `json:"account_sid,omitempty"` // The unique ID of the [Conversation Service](https://www.twilio.com/docs/conversations/api/service-resource) this conversation belongs to. ChatServiceSid *string `json:"chat_service_sid,omitempty"` // The absolute url the pre-event webhook request should be sent to. PreWebhookUrl *string `json:"pre_webhook_url,omitempty"` // The absolute url the post-event webhook request should be sent to. PostWebhookUrl *string `json:"post_webhook_url,omitempty"` // The list of events that your configured webhook targets will receive. Events not configured here will not fire. Possible values are `onParticipantAdd`, `onParticipantAdded`, `onDeliveryUpdated`, `onConversationUpdated`, `onConversationRemove`, `onParticipantRemove`, `onConversationUpdate`, `onMessageAdd`, `onMessageRemoved`, `onParticipantUpdated`, `onConversationAdded`, `onMessageAdded`, `onConversationAdd`, `onConversationRemoved`, `onParticipantUpdate`, `onMessageRemove`, `onMessageUpdated`, `onParticipantRemoved`, `onMessageUpdate` or `onConversationStateUpdated`. Filters *[]string `json:"filters,omitempty"` Method *string `json:"method,omitempty"` // An absolute API resource URL for this webhook. Url *string `json:"url,omitempty"` }
ConversationsV1ServiceWebhookConfiguration struct for ConversationsV1ServiceWebhookConfiguration
type ConversationsV1User ¶
type ConversationsV1User struct { // The unique string that we created to identify the User resource. Sid *string `json:"sid,omitempty"` // The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the User resource. AccountSid *string `json:"account_sid,omitempty"` // The SID of the [Conversation Service](https://www.twilio.com/docs/conversations/api/service-resource) the User resource is associated with. ChatServiceSid *string `json:"chat_service_sid,omitempty"` // The SID of a service-level [Role](https://www.twilio.com/docs/conversations/api/role-resource) assigned to the user. RoleSid *string `json:"role_sid,omitempty"` // The application-defined string that uniquely identifies the resource's User within the [Conversation Service](https://www.twilio.com/docs/conversations/api/service-resource). This value is often a username or an email address, and is case-sensitive. Identity *string `json:"identity,omitempty"` // The string that you assigned to describe the resource. FriendlyName *string `json:"friendly_name,omitempty"` // The JSON Object string that stores application-specific data. If attributes have not been set, `{}` is returned. Attributes *string `json:"attributes,omitempty"` // Whether the User is actively connected to this Conversations Service and online. This value is only returned by Fetch actions that return a single resource and `null` is always returned by a Read action. This value is `null` if the Service's `reachability_enabled` is `false`, if the User has never been online for this Conversations Service, even if the Service's `reachability_enabled` is `true`. IsOnline *bool `json:"is_online,omitempty"` // Whether the User has a potentially valid Push Notification registration (APN or GCM) for this Conversations Service. If at least one registration exists, `true`; otherwise `false`. This value is only returned by Fetch actions that return a single resource and `null` is always returned by a Read action. This value is `null` if the Service's `reachability_enabled` is `false`, and if the User has never had a notification registration, even if the Service's `reachability_enabled` is `true`. IsNotifiable *bool `json:"is_notifiable,omitempty"` // The date and time in GMT when the resource was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. DateCreated *time.Time `json:"date_created,omitempty"` // The date and time in GMT when the resource was last updated specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. DateUpdated *time.Time `json:"date_updated,omitempty"` // An absolute API resource URL for this user. Url *string `json:"url,omitempty"` Links *map[string]interface{} `json:"links,omitempty"` }
ConversationsV1User struct for ConversationsV1User
type ConversationsV1UserConversation ¶ added in v0.14.0
type ConversationsV1UserConversation struct { // The unique ID of the [Account](https://www.twilio.com/docs/iam/api/account) responsible for this conversation. AccountSid *string `json:"account_sid,omitempty"` // The unique ID of the [Conversation Service](https://www.twilio.com/docs/conversations/api/service-resource) this conversation belongs to. ChatServiceSid *string `json:"chat_service_sid,omitempty"` // The unique ID of the [Conversation](https://www.twilio.com/docs/conversations/api/conversation-resource) for this User Conversation. ConversationSid *string `json:"conversation_sid,omitempty"` // The number of unread Messages in the Conversation for the Participant. UnreadMessagesCount *int `json:"unread_messages_count,omitempty"` // The index of the last Message in the Conversation that the Participant has read. LastReadMessageIndex *int `json:"last_read_message_index,omitempty"` // The unique ID of the [participant](https://www.twilio.com/docs/conversations/api/conversation-participant-resource) the user conversation belongs to. ParticipantSid *string `json:"participant_sid,omitempty"` // The unique string that identifies the [User resource](https://www.twilio.com/docs/conversations/api/user-resource). UserSid *string `json:"user_sid,omitempty"` // The human-readable name of this conversation, limited to 256 characters. Optional. FriendlyName *string `json:"friendly_name,omitempty"` ConversationState *string `json:"conversation_state,omitempty"` // Timer date values representing state update for this conversation. Timers *interface{} `json:"timers,omitempty"` // An optional string metadata field you can use to store any data you wish. The string value must contain structurally valid JSON if specified. **Note** that if the attributes are not set \"{}\" will be returned. Attributes *string `json:"attributes,omitempty"` // The date that this conversation was created, given in ISO 8601 format. DateCreated *time.Time `json:"date_created,omitempty"` // The date that this conversation was last updated, given in ISO 8601 format. DateUpdated *time.Time `json:"date_updated,omitempty"` // Identity of the creator of this Conversation. CreatedBy *string `json:"created_by,omitempty"` NotificationLevel *string `json:"notification_level,omitempty"` // An application-defined string that uniquely identifies the Conversation resource. It can be used to address the resource in place of the resource's `conversation_sid` in the URL. UniqueName *string `json:"unique_name,omitempty"` Url *string `json:"url,omitempty"` // Contains absolute URLs to access the [participant](https://www.twilio.com/docs/conversations/api/conversation-participant-resource) and [conversation](https://www.twilio.com/docs/conversations/api/conversation-resource) of this conversation. Links *map[string]interface{} `json:"links,omitempty"` }
ConversationsV1UserConversation struct for ConversationsV1UserConversation
type CreateConfigurationAddressParams ¶ added in v0.21.0
type CreateConfigurationAddressParams struct { // Type *string `json:"Type,omitempty"` // The unique address to be configured. The address can be a whatsapp address or phone number Address *string `json:"Address,omitempty"` // The human-readable name of this configuration, limited to 256 characters. Optional. FriendlyName *string `json:"FriendlyName,omitempty"` // Enable/Disable auto-creating conversations for messages to this address AutoCreationEnabled *bool `json:"AutoCreation.Enabled,omitempty"` // AutoCreationType *string `json:"AutoCreation.Type,omitempty"` // Conversation Service for the auto-created conversation. If not set, the conversation is created in the default service. AutoCreationConversationServiceSid *string `json:"AutoCreation.ConversationServiceSid,omitempty"` // For type `webhook`, the url for the webhook request. AutoCreationWebhookUrl *string `json:"AutoCreation.WebhookUrl,omitempty"` // AutoCreationWebhookMethod *string `json:"AutoCreation.WebhookMethod,omitempty"` // The list of events, firing webhook event for this Conversation. Values can be any of the following: `onMessageAdded`, `onMessageUpdated`, `onMessageRemoved`, `onConversationUpdated`, `onConversationStateUpdated`, `onConversationRemoved`, `onParticipantAdded`, `onParticipantUpdated`, `onParticipantRemoved`, `onDeliveryUpdated` AutoCreationWebhookFilters *[]string `json:"AutoCreation.WebhookFilters,omitempty"` // For type `studio`, the studio flow SID where the webhook should be sent to. AutoCreationStudioFlowSid *string `json:"AutoCreation.StudioFlowSid,omitempty"` // For type `studio`, number of times to retry the webhook request AutoCreationStudioRetryCount *int `json:"AutoCreation.StudioRetryCount,omitempty"` // An ISO 3166-1 alpha-2n country code which the address belongs to. This is currently only applicable to short code addresses. AddressCountry *string `json:"AddressCountry,omitempty"` }
Optional parameters for the method 'CreateConfigurationAddress'
func (*CreateConfigurationAddressParams) SetAddress ¶ added in v0.21.0
func (params *CreateConfigurationAddressParams) SetAddress(Address string) *CreateConfigurationAddressParams
func (*CreateConfigurationAddressParams) SetAddressCountry ¶ added in v1.7.1
func (params *CreateConfigurationAddressParams) SetAddressCountry(AddressCountry string) *CreateConfigurationAddressParams
func (*CreateConfigurationAddressParams) SetAutoCreationConversationServiceSid ¶ added in v0.21.0
func (params *CreateConfigurationAddressParams) SetAutoCreationConversationServiceSid(AutoCreationConversationServiceSid string) *CreateConfigurationAddressParams
func (*CreateConfigurationAddressParams) SetAutoCreationEnabled ¶ added in v0.21.0
func (params *CreateConfigurationAddressParams) SetAutoCreationEnabled(AutoCreationEnabled bool) *CreateConfigurationAddressParams
func (*CreateConfigurationAddressParams) SetAutoCreationStudioFlowSid ¶ added in v0.21.0
func (params *CreateConfigurationAddressParams) SetAutoCreationStudioFlowSid(AutoCreationStudioFlowSid string) *CreateConfigurationAddressParams
func (*CreateConfigurationAddressParams) SetAutoCreationStudioRetryCount ¶ added in v0.21.0
func (params *CreateConfigurationAddressParams) SetAutoCreationStudioRetryCount(AutoCreationStudioRetryCount int) *CreateConfigurationAddressParams
func (*CreateConfigurationAddressParams) SetAutoCreationType ¶ added in v0.21.0
func (params *CreateConfigurationAddressParams) SetAutoCreationType(AutoCreationType string) *CreateConfigurationAddressParams
func (*CreateConfigurationAddressParams) SetAutoCreationWebhookFilters ¶ added in v0.21.0
func (params *CreateConfigurationAddressParams) SetAutoCreationWebhookFilters(AutoCreationWebhookFilters []string) *CreateConfigurationAddressParams
func (*CreateConfigurationAddressParams) SetAutoCreationWebhookMethod ¶ added in v0.21.0
func (params *CreateConfigurationAddressParams) SetAutoCreationWebhookMethod(AutoCreationWebhookMethod string) *CreateConfigurationAddressParams
func (*CreateConfigurationAddressParams) SetAutoCreationWebhookUrl ¶ added in v0.21.0
func (params *CreateConfigurationAddressParams) SetAutoCreationWebhookUrl(AutoCreationWebhookUrl string) *CreateConfigurationAddressParams
func (*CreateConfigurationAddressParams) SetFriendlyName ¶ added in v0.21.0
func (params *CreateConfigurationAddressParams) SetFriendlyName(FriendlyName string) *CreateConfigurationAddressParams
func (*CreateConfigurationAddressParams) SetType ¶ added in v0.21.0
func (params *CreateConfigurationAddressParams) SetType(Type string) *CreateConfigurationAddressParams
type CreateConversationMessageParams ¶
type CreateConversationMessageParams struct { // The X-Twilio-Webhook-Enabled HTTP request header XTwilioWebhookEnabled *string `json:"X-Twilio-Webhook-Enabled,omitempty"` // The channel specific identifier of the message's author. Defaults to `system`. Author *string `json:"Author,omitempty"` // The content of the message, can be up to 1,600 characters long. Body *string `json:"Body,omitempty"` // The date that this resource was created. DateCreated *time.Time `json:"DateCreated,omitempty"` // The date that this resource was last updated. `null` if the message has not been edited. DateUpdated *time.Time `json:"DateUpdated,omitempty"` // A string metadata field you can use to store any data you wish. The string value must contain structurally valid JSON if specified. **Note** that if the attributes are not set \\\"{}\\\" will be returned. Attributes *string `json:"Attributes,omitempty"` // The Media SID to be attached to the new Message. MediaSid *string `json:"MediaSid,omitempty"` // The unique ID of the multi-channel [Rich Content](https://www.twilio.com/docs/content) template, required for template-generated messages. **Note** that if this field is set, `Body` and `MediaSid` parameters are ignored. ContentSid *string `json:"ContentSid,omitempty"` // A structurally valid JSON string that contains values to resolve Rich Content template variables. ContentVariables *string `json:"ContentVariables,omitempty"` // The subject of the message, can be up to 256 characters long. Subject *string `json:"Subject,omitempty"` }
Optional parameters for the method 'CreateConversationMessage'
func (*CreateConversationMessageParams) SetAttributes ¶
func (params *CreateConversationMessageParams) SetAttributes(Attributes string) *CreateConversationMessageParams
func (*CreateConversationMessageParams) SetAuthor ¶
func (params *CreateConversationMessageParams) SetAuthor(Author string) *CreateConversationMessageParams
func (*CreateConversationMessageParams) SetBody ¶
func (params *CreateConversationMessageParams) SetBody(Body string) *CreateConversationMessageParams
func (*CreateConversationMessageParams) SetContentSid ¶ added in v1.3.1
func (params *CreateConversationMessageParams) SetContentSid(ContentSid string) *CreateConversationMessageParams
func (*CreateConversationMessageParams) SetContentVariables ¶ added in v1.3.1
func (params *CreateConversationMessageParams) SetContentVariables(ContentVariables string) *CreateConversationMessageParams
func (*CreateConversationMessageParams) SetDateCreated ¶
func (params *CreateConversationMessageParams) SetDateCreated(DateCreated time.Time) *CreateConversationMessageParams
func (*CreateConversationMessageParams) SetDateUpdated ¶
func (params *CreateConversationMessageParams) SetDateUpdated(DateUpdated time.Time) *CreateConversationMessageParams
func (*CreateConversationMessageParams) SetMediaSid ¶
func (params *CreateConversationMessageParams) SetMediaSid(MediaSid string) *CreateConversationMessageParams
func (*CreateConversationMessageParams) SetSubject ¶ added in v1.14.0
func (params *CreateConversationMessageParams) SetSubject(Subject string) *CreateConversationMessageParams
func (*CreateConversationMessageParams) SetXTwilioWebhookEnabled ¶
func (params *CreateConversationMessageParams) SetXTwilioWebhookEnabled(XTwilioWebhookEnabled string) *CreateConversationMessageParams
type CreateConversationParams ¶
type CreateConversationParams struct { // The X-Twilio-Webhook-Enabled HTTP request header XTwilioWebhookEnabled *string `json:"X-Twilio-Webhook-Enabled,omitempty"` // The human-readable name of this conversation, limited to 256 characters. Optional. FriendlyName *string `json:"FriendlyName,omitempty"` // An application-defined string that uniquely identifies the resource. It can be used to address the resource in place of the resource's `sid` in the URL. UniqueName *string `json:"UniqueName,omitempty"` // The date that this resource was created. DateCreated *time.Time `json:"DateCreated,omitempty"` // The date that this resource was last updated. DateUpdated *time.Time `json:"DateUpdated,omitempty"` // The unique ID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) this conversation belongs to. MessagingServiceSid *string `json:"MessagingServiceSid,omitempty"` // An optional string metadata field you can use to store any data you wish. The string value must contain structurally valid JSON if specified. **Note** that if the attributes are not set \\\"{}\\\" will be returned. Attributes *string `json:"Attributes,omitempty"` // State *string `json:"State,omitempty"` // ISO8601 duration when conversation will be switched to `inactive` state. Minimum value for this timer is 1 minute. TimersInactive *string `json:"Timers.Inactive,omitempty"` // ISO8601 duration when conversation will be switched to `closed` state. Minimum value for this timer is 10 minutes. TimersClosed *string `json:"Timers.Closed,omitempty"` // The default email address that will be used when sending outbound emails in this conversation. BindingsEmailAddress *string `json:"Bindings.Email.Address,omitempty"` // The default name that will be used when sending outbound emails in this conversation. BindingsEmailName *string `json:"Bindings.Email.Name,omitempty"` }
Optional parameters for the method 'CreateConversation'
func (*CreateConversationParams) SetAttributes ¶
func (params *CreateConversationParams) SetAttributes(Attributes string) *CreateConversationParams
func (*CreateConversationParams) SetBindingsEmailAddress ¶ added in v1.14.0
func (params *CreateConversationParams) SetBindingsEmailAddress(BindingsEmailAddress string) *CreateConversationParams
func (*CreateConversationParams) SetBindingsEmailName ¶ added in v1.14.0
func (params *CreateConversationParams) SetBindingsEmailName(BindingsEmailName string) *CreateConversationParams
func (*CreateConversationParams) SetDateCreated ¶
func (params *CreateConversationParams) SetDateCreated(DateCreated time.Time) *CreateConversationParams
func (*CreateConversationParams) SetDateUpdated ¶
func (params *CreateConversationParams) SetDateUpdated(DateUpdated time.Time) *CreateConversationParams
func (*CreateConversationParams) SetFriendlyName ¶
func (params *CreateConversationParams) SetFriendlyName(FriendlyName string) *CreateConversationParams
func (*CreateConversationParams) SetMessagingServiceSid ¶
func (params *CreateConversationParams) SetMessagingServiceSid(MessagingServiceSid string) *CreateConversationParams
func (*CreateConversationParams) SetState ¶
func (params *CreateConversationParams) SetState(State string) *CreateConversationParams
func (*CreateConversationParams) SetTimersClosed ¶
func (params *CreateConversationParams) SetTimersClosed(TimersClosed string) *CreateConversationParams
func (*CreateConversationParams) SetTimersInactive ¶
func (params *CreateConversationParams) SetTimersInactive(TimersInactive string) *CreateConversationParams
func (*CreateConversationParams) SetUniqueName ¶
func (params *CreateConversationParams) SetUniqueName(UniqueName string) *CreateConversationParams
func (*CreateConversationParams) SetXTwilioWebhookEnabled ¶
func (params *CreateConversationParams) SetXTwilioWebhookEnabled(XTwilioWebhookEnabled string) *CreateConversationParams
type CreateConversationParticipantParams ¶
type CreateConversationParticipantParams struct { // The X-Twilio-Webhook-Enabled HTTP request header XTwilioWebhookEnabled *string `json:"X-Twilio-Webhook-Enabled,omitempty"` // A unique string identifier for the conversation participant as [Conversation User](https://www.twilio.com/docs/conversations/api/user-resource). This parameter is non-null if (and only if) the participant is using the Conversations SDK to communicate. Limited to 256 characters. Identity *string `json:"Identity,omitempty"` // The address of the participant's device, e.g. a phone or WhatsApp number. Together with the Proxy address, this determines a participant uniquely. This field (with proxy_address) is only null when the participant is interacting from an SDK endpoint (see the 'identity' field). MessagingBindingAddress *string `json:"MessagingBinding.Address,omitempty"` // The address of the Twilio phone number (or WhatsApp number) that the participant is in contact with. This field, together with participant address, is only null when the participant is interacting from an SDK endpoint (see the 'identity' field). MessagingBindingProxyAddress *string `json:"MessagingBinding.ProxyAddress,omitempty"` // The date that this resource was created. DateCreated *time.Time `json:"DateCreated,omitempty"` // The date that this resource was last updated. DateUpdated *time.Time `json:"DateUpdated,omitempty"` // An optional string metadata field you can use to store any data you wish. The string value must contain structurally valid JSON if specified. **Note** that if the attributes are not set \\\"{}\\\" will be returned. Attributes *string `json:"Attributes,omitempty"` // The address of the Twilio phone number that is used in Group MMS. Communication mask for the Conversation participant with Identity. MessagingBindingProjectedAddress *string `json:"MessagingBinding.ProjectedAddress,omitempty"` // The SID of a conversation-level [Role](https://www.twilio.com/docs/conversations/api/role-resource) to assign to the participant. RoleSid *string `json:"RoleSid,omitempty"` }
Optional parameters for the method 'CreateConversationParticipant'
func (*CreateConversationParticipantParams) SetAttributes ¶
func (params *CreateConversationParticipantParams) SetAttributes(Attributes string) *CreateConversationParticipantParams
func (*CreateConversationParticipantParams) SetDateCreated ¶
func (params *CreateConversationParticipantParams) SetDateCreated(DateCreated time.Time) *CreateConversationParticipantParams
func (*CreateConversationParticipantParams) SetDateUpdated ¶
func (params *CreateConversationParticipantParams) SetDateUpdated(DateUpdated time.Time) *CreateConversationParticipantParams
func (*CreateConversationParticipantParams) SetIdentity ¶
func (params *CreateConversationParticipantParams) SetIdentity(Identity string) *CreateConversationParticipantParams
func (*CreateConversationParticipantParams) SetMessagingBindingAddress ¶
func (params *CreateConversationParticipantParams) SetMessagingBindingAddress(MessagingBindingAddress string) *CreateConversationParticipantParams
func (*CreateConversationParticipantParams) SetMessagingBindingProjectedAddress ¶
func (params *CreateConversationParticipantParams) SetMessagingBindingProjectedAddress(MessagingBindingProjectedAddress string) *CreateConversationParticipantParams
func (*CreateConversationParticipantParams) SetMessagingBindingProxyAddress ¶
func (params *CreateConversationParticipantParams) SetMessagingBindingProxyAddress(MessagingBindingProxyAddress string) *CreateConversationParticipantParams
func (*CreateConversationParticipantParams) SetRoleSid ¶
func (params *CreateConversationParticipantParams) SetRoleSid(RoleSid string) *CreateConversationParticipantParams
func (*CreateConversationParticipantParams) SetXTwilioWebhookEnabled ¶
func (params *CreateConversationParticipantParams) SetXTwilioWebhookEnabled(XTwilioWebhookEnabled string) *CreateConversationParticipantParams
type CreateConversationScopedWebhookParams ¶
type CreateConversationScopedWebhookParams struct { // Target *string `json:"Target,omitempty"` // The absolute url the webhook request should be sent to. ConfigurationUrl *string `json:"Configuration.Url,omitempty"` // ConfigurationMethod *string `json:"Configuration.Method,omitempty"` // The list of events, firing webhook event for this Conversation. ConfigurationFilters *[]string `json:"Configuration.Filters,omitempty"` // The list of keywords, firing webhook event for this Conversation. ConfigurationTriggers *[]string `json:"Configuration.Triggers,omitempty"` // The studio flow SID, where the webhook should be sent to. ConfigurationFlowSid *string `json:"Configuration.FlowSid,omitempty"` // The message index for which and it's successors the webhook will be replayed. Not set by default ConfigurationReplayAfter *int `json:"Configuration.ReplayAfter,omitempty"` }
Optional parameters for the method 'CreateConversationScopedWebhook'
func (*CreateConversationScopedWebhookParams) SetConfigurationFilters ¶
func (params *CreateConversationScopedWebhookParams) SetConfigurationFilters(ConfigurationFilters []string) *CreateConversationScopedWebhookParams
func (*CreateConversationScopedWebhookParams) SetConfigurationFlowSid ¶
func (params *CreateConversationScopedWebhookParams) SetConfigurationFlowSid(ConfigurationFlowSid string) *CreateConversationScopedWebhookParams
func (*CreateConversationScopedWebhookParams) SetConfigurationMethod ¶
func (params *CreateConversationScopedWebhookParams) SetConfigurationMethod(ConfigurationMethod string) *CreateConversationScopedWebhookParams
func (*CreateConversationScopedWebhookParams) SetConfigurationReplayAfter ¶
func (params *CreateConversationScopedWebhookParams) SetConfigurationReplayAfter(ConfigurationReplayAfter int) *CreateConversationScopedWebhookParams
func (*CreateConversationScopedWebhookParams) SetConfigurationTriggers ¶
func (params *CreateConversationScopedWebhookParams) SetConfigurationTriggers(ConfigurationTriggers []string) *CreateConversationScopedWebhookParams
func (*CreateConversationScopedWebhookParams) SetConfigurationUrl ¶
func (params *CreateConversationScopedWebhookParams) SetConfigurationUrl(ConfigurationUrl string) *CreateConversationScopedWebhookParams
func (*CreateConversationScopedWebhookParams) SetTarget ¶
func (params *CreateConversationScopedWebhookParams) SetTarget(Target string) *CreateConversationScopedWebhookParams
type CreateCredentialParams ¶
type CreateCredentialParams struct { // Type *string `json:"Type,omitempty"` // A descriptive string that you create to describe the new resource. It can be up to 64 characters long. FriendlyName *string `json:"FriendlyName,omitempty"` // [APN only] The URL encoded representation of the certificate. For example, `-----BEGIN CERTIFICATE----- MIIFnTCCBIWgAwIBAgIIAjy9H849+E8wDQYJKoZIhvcNAQEF.....A== -----END CERTIFICATE-----`. Certificate *string `json:"Certificate,omitempty"` // [APN only] The URL encoded representation of the private key. For example, `-----BEGIN RSA PRIVATE KEY----- MIIEpQIBAAKCAQEAuyf/lNrH9ck8DmNyo3fG... -----END RSA PRIVATE KEY-----`. PrivateKey *string `json:"PrivateKey,omitempty"` // [APN only] Whether to send the credential to sandbox APNs. Can be `true` to send to sandbox APNs or `false` to send to production. Sandbox *bool `json:"Sandbox,omitempty"` // [GCM only] The API key for the project that was obtained from the Google Developer console for your GCM Service application credential. ApiKey *string `json:"ApiKey,omitempty"` // [FCM only] The **Server key** of your project from the Firebase console, found under Settings / Cloud messaging. Secret *string `json:"Secret,omitempty"` }
Optional parameters for the method 'CreateCredential'
func (*CreateCredentialParams) SetApiKey ¶
func (params *CreateCredentialParams) SetApiKey(ApiKey string) *CreateCredentialParams
func (*CreateCredentialParams) SetCertificate ¶
func (params *CreateCredentialParams) SetCertificate(Certificate string) *CreateCredentialParams
func (*CreateCredentialParams) SetFriendlyName ¶
func (params *CreateCredentialParams) SetFriendlyName(FriendlyName string) *CreateCredentialParams
func (*CreateCredentialParams) SetPrivateKey ¶
func (params *CreateCredentialParams) SetPrivateKey(PrivateKey string) *CreateCredentialParams
func (*CreateCredentialParams) SetSandbox ¶
func (params *CreateCredentialParams) SetSandbox(Sandbox bool) *CreateCredentialParams
func (*CreateCredentialParams) SetSecret ¶
func (params *CreateCredentialParams) SetSecret(Secret string) *CreateCredentialParams
func (*CreateCredentialParams) SetType ¶
func (params *CreateCredentialParams) SetType(Type string) *CreateCredentialParams
type CreateRoleParams ¶
type CreateRoleParams struct { // A descriptive string that you create to describe the new resource. It can be up to 64 characters long. FriendlyName *string `json:"FriendlyName,omitempty"` // Type *string `json:"Type,omitempty"` // A permission that you grant to the new role. Only one permission can be granted per parameter. To assign more than one permission, repeat this parameter for each permission value. The values for this parameter depend on the role's `type`. Permission *[]string `json:"Permission,omitempty"` }
Optional parameters for the method 'CreateRole'
func (*CreateRoleParams) SetFriendlyName ¶
func (params *CreateRoleParams) SetFriendlyName(FriendlyName string) *CreateRoleParams
func (*CreateRoleParams) SetPermission ¶
func (params *CreateRoleParams) SetPermission(Permission []string) *CreateRoleParams
func (*CreateRoleParams) SetType ¶
func (params *CreateRoleParams) SetType(Type string) *CreateRoleParams
type CreateServiceConversationMessageParams ¶
type CreateServiceConversationMessageParams struct { // The X-Twilio-Webhook-Enabled HTTP request header XTwilioWebhookEnabled *string `json:"X-Twilio-Webhook-Enabled,omitempty"` // The channel specific identifier of the message's author. Defaults to `system`. Author *string `json:"Author,omitempty"` // The content of the message, can be up to 1,600 characters long. Body *string `json:"Body,omitempty"` // The date that this resource was created. DateCreated *time.Time `json:"DateCreated,omitempty"` // The date that this resource was last updated. `null` if the message has not been edited. DateUpdated *time.Time `json:"DateUpdated,omitempty"` // A string metadata field you can use to store any data you wish. The string value must contain structurally valid JSON if specified. **Note** that if the attributes are not set \\\"{}\\\" will be returned. Attributes *string `json:"Attributes,omitempty"` // The Media SID to be attached to the new Message. MediaSid *string `json:"MediaSid,omitempty"` // The unique ID of the multi-channel [Rich Content](https://www.twilio.com/docs/content) template, required for template-generated messages. **Note** that if this field is set, `Body` and `MediaSid` parameters are ignored. ContentSid *string `json:"ContentSid,omitempty"` // A structurally valid JSON string that contains values to resolve Rich Content template variables. ContentVariables *string `json:"ContentVariables,omitempty"` // The subject of the message, can be up to 256 characters long. Subject *string `json:"Subject,omitempty"` }
Optional parameters for the method 'CreateServiceConversationMessage'
func (*CreateServiceConversationMessageParams) SetAttributes ¶
func (params *CreateServiceConversationMessageParams) SetAttributes(Attributes string) *CreateServiceConversationMessageParams
func (*CreateServiceConversationMessageParams) SetAuthor ¶
func (params *CreateServiceConversationMessageParams) SetAuthor(Author string) *CreateServiceConversationMessageParams
func (*CreateServiceConversationMessageParams) SetBody ¶
func (params *CreateServiceConversationMessageParams) SetBody(Body string) *CreateServiceConversationMessageParams
func (*CreateServiceConversationMessageParams) SetContentSid ¶ added in v1.3.1
func (params *CreateServiceConversationMessageParams) SetContentSid(ContentSid string) *CreateServiceConversationMessageParams
func (*CreateServiceConversationMessageParams) SetContentVariables ¶ added in v1.3.1
func (params *CreateServiceConversationMessageParams) SetContentVariables(ContentVariables string) *CreateServiceConversationMessageParams
func (*CreateServiceConversationMessageParams) SetDateCreated ¶
func (params *CreateServiceConversationMessageParams) SetDateCreated(DateCreated time.Time) *CreateServiceConversationMessageParams
func (*CreateServiceConversationMessageParams) SetDateUpdated ¶
func (params *CreateServiceConversationMessageParams) SetDateUpdated(DateUpdated time.Time) *CreateServiceConversationMessageParams
func (*CreateServiceConversationMessageParams) SetMediaSid ¶
func (params *CreateServiceConversationMessageParams) SetMediaSid(MediaSid string) *CreateServiceConversationMessageParams
func (*CreateServiceConversationMessageParams) SetSubject ¶ added in v1.14.0
func (params *CreateServiceConversationMessageParams) SetSubject(Subject string) *CreateServiceConversationMessageParams
func (*CreateServiceConversationMessageParams) SetXTwilioWebhookEnabled ¶
func (params *CreateServiceConversationMessageParams) SetXTwilioWebhookEnabled(XTwilioWebhookEnabled string) *CreateServiceConversationMessageParams
type CreateServiceConversationParams ¶
type CreateServiceConversationParams struct { // The X-Twilio-Webhook-Enabled HTTP request header XTwilioWebhookEnabled *string `json:"X-Twilio-Webhook-Enabled,omitempty"` // The human-readable name of this conversation, limited to 256 characters. Optional. FriendlyName *string `json:"FriendlyName,omitempty"` // An application-defined string that uniquely identifies the resource. It can be used to address the resource in place of the resource's `sid` in the URL. UniqueName *string `json:"UniqueName,omitempty"` // An optional string metadata field you can use to store any data you wish. The string value must contain structurally valid JSON if specified. **Note** that if the attributes are not set \\\"{}\\\" will be returned. Attributes *string `json:"Attributes,omitempty"` // The unique ID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) this conversation belongs to. MessagingServiceSid *string `json:"MessagingServiceSid,omitempty"` // The date that this resource was created. DateCreated *time.Time `json:"DateCreated,omitempty"` // The date that this resource was last updated. DateUpdated *time.Time `json:"DateUpdated,omitempty"` // State *string `json:"State,omitempty"` // ISO8601 duration when conversation will be switched to `inactive` state. Minimum value for this timer is 1 minute. TimersInactive *string `json:"Timers.Inactive,omitempty"` // ISO8601 duration when conversation will be switched to `closed` state. Minimum value for this timer is 10 minutes. TimersClosed *string `json:"Timers.Closed,omitempty"` // The default email address that will be used when sending outbound emails in this conversation. BindingsEmailAddress *string `json:"Bindings.Email.Address,omitempty"` // The default name that will be used when sending outbound emails in this conversation. BindingsEmailName *string `json:"Bindings.Email.Name,omitempty"` }
Optional parameters for the method 'CreateServiceConversation'
func (*CreateServiceConversationParams) SetAttributes ¶
func (params *CreateServiceConversationParams) SetAttributes(Attributes string) *CreateServiceConversationParams
func (*CreateServiceConversationParams) SetBindingsEmailAddress ¶ added in v1.14.0
func (params *CreateServiceConversationParams) SetBindingsEmailAddress(BindingsEmailAddress string) *CreateServiceConversationParams
func (*CreateServiceConversationParams) SetBindingsEmailName ¶ added in v1.14.0
func (params *CreateServiceConversationParams) SetBindingsEmailName(BindingsEmailName string) *CreateServiceConversationParams
func (*CreateServiceConversationParams) SetDateCreated ¶
func (params *CreateServiceConversationParams) SetDateCreated(DateCreated time.Time) *CreateServiceConversationParams
func (*CreateServiceConversationParams) SetDateUpdated ¶
func (params *CreateServiceConversationParams) SetDateUpdated(DateUpdated time.Time) *CreateServiceConversationParams
func (*CreateServiceConversationParams) SetFriendlyName ¶
func (params *CreateServiceConversationParams) SetFriendlyName(FriendlyName string) *CreateServiceConversationParams
func (*CreateServiceConversationParams) SetMessagingServiceSid ¶
func (params *CreateServiceConversationParams) SetMessagingServiceSid(MessagingServiceSid string) *CreateServiceConversationParams
func (*CreateServiceConversationParams) SetState ¶
func (params *CreateServiceConversationParams) SetState(State string) *CreateServiceConversationParams
func (*CreateServiceConversationParams) SetTimersClosed ¶
func (params *CreateServiceConversationParams) SetTimersClosed(TimersClosed string) *CreateServiceConversationParams
func (*CreateServiceConversationParams) SetTimersInactive ¶
func (params *CreateServiceConversationParams) SetTimersInactive(TimersInactive string) *CreateServiceConversationParams
func (*CreateServiceConversationParams) SetUniqueName ¶
func (params *CreateServiceConversationParams) SetUniqueName(UniqueName string) *CreateServiceConversationParams
func (*CreateServiceConversationParams) SetXTwilioWebhookEnabled ¶
func (params *CreateServiceConversationParams) SetXTwilioWebhookEnabled(XTwilioWebhookEnabled string) *CreateServiceConversationParams
type CreateServiceConversationParticipantParams ¶
type CreateServiceConversationParticipantParams struct { // The X-Twilio-Webhook-Enabled HTTP request header XTwilioWebhookEnabled *string `json:"X-Twilio-Webhook-Enabled,omitempty"` // A unique string identifier for the conversation participant as [Conversation User](https://www.twilio.com/docs/conversations/api/user-resource). This parameter is non-null if (and only if) the participant is using the [Conversation SDK](https://www.twilio.com/docs/conversations/sdk-overview) to communicate. Limited to 256 characters. Identity *string `json:"Identity,omitempty"` // The address of the participant's device, e.g. a phone or WhatsApp number. Together with the Proxy address, this determines a participant uniquely. This field (with `proxy_address`) is only null when the participant is interacting from an SDK endpoint (see the `identity` field). MessagingBindingAddress *string `json:"MessagingBinding.Address,omitempty"` // The address of the Twilio phone number (or WhatsApp number) that the participant is in contact with. This field, together with participant address, is only null when the participant is interacting from an SDK endpoint (see the `identity` field). MessagingBindingProxyAddress *string `json:"MessagingBinding.ProxyAddress,omitempty"` // The date on which this resource was created. DateCreated *time.Time `json:"DateCreated,omitempty"` // The date on which this resource was last updated. DateUpdated *time.Time `json:"DateUpdated,omitempty"` // An optional string metadata field you can use to store any data you wish. The string value must contain structurally valid JSON if specified. **Note** that if the attributes are not set `{}` will be returned. Attributes *string `json:"Attributes,omitempty"` // The address of the Twilio phone number that is used in Group MMS. MessagingBindingProjectedAddress *string `json:"MessagingBinding.ProjectedAddress,omitempty"` // The SID of a conversation-level [Role](https://www.twilio.com/docs/conversations/api/role-resource) to assign to the participant. RoleSid *string `json:"RoleSid,omitempty"` }
Optional parameters for the method 'CreateServiceConversationParticipant'
func (*CreateServiceConversationParticipantParams) SetAttributes ¶
func (params *CreateServiceConversationParticipantParams) SetAttributes(Attributes string) *CreateServiceConversationParticipantParams
func (*CreateServiceConversationParticipantParams) SetDateCreated ¶
func (params *CreateServiceConversationParticipantParams) SetDateCreated(DateCreated time.Time) *CreateServiceConversationParticipantParams
func (*CreateServiceConversationParticipantParams) SetDateUpdated ¶
func (params *CreateServiceConversationParticipantParams) SetDateUpdated(DateUpdated time.Time) *CreateServiceConversationParticipantParams
func (*CreateServiceConversationParticipantParams) SetIdentity ¶
func (params *CreateServiceConversationParticipantParams) SetIdentity(Identity string) *CreateServiceConversationParticipantParams
func (*CreateServiceConversationParticipantParams) SetMessagingBindingAddress ¶
func (params *CreateServiceConversationParticipantParams) SetMessagingBindingAddress(MessagingBindingAddress string) *CreateServiceConversationParticipantParams
func (*CreateServiceConversationParticipantParams) SetMessagingBindingProjectedAddress ¶
func (params *CreateServiceConversationParticipantParams) SetMessagingBindingProjectedAddress(MessagingBindingProjectedAddress string) *CreateServiceConversationParticipantParams
func (*CreateServiceConversationParticipantParams) SetMessagingBindingProxyAddress ¶
func (params *CreateServiceConversationParticipantParams) SetMessagingBindingProxyAddress(MessagingBindingProxyAddress string) *CreateServiceConversationParticipantParams
func (*CreateServiceConversationParticipantParams) SetRoleSid ¶
func (params *CreateServiceConversationParticipantParams) SetRoleSid(RoleSid string) *CreateServiceConversationParticipantParams
func (*CreateServiceConversationParticipantParams) SetXTwilioWebhookEnabled ¶
func (params *CreateServiceConversationParticipantParams) SetXTwilioWebhookEnabled(XTwilioWebhookEnabled string) *CreateServiceConversationParticipantParams
type CreateServiceConversationScopedWebhookParams ¶
type CreateServiceConversationScopedWebhookParams struct { // Target *string `json:"Target,omitempty"` // The absolute url the webhook request should be sent to. ConfigurationUrl *string `json:"Configuration.Url,omitempty"` // ConfigurationMethod *string `json:"Configuration.Method,omitempty"` // The list of events, firing webhook event for this Conversation. ConfigurationFilters *[]string `json:"Configuration.Filters,omitempty"` // The list of keywords, firing webhook event for this Conversation. ConfigurationTriggers *[]string `json:"Configuration.Triggers,omitempty"` // The studio flow SID, where the webhook should be sent to. ConfigurationFlowSid *string `json:"Configuration.FlowSid,omitempty"` // The message index for which and it's successors the webhook will be replayed. Not set by default ConfigurationReplayAfter *int `json:"Configuration.ReplayAfter,omitempty"` }
Optional parameters for the method 'CreateServiceConversationScopedWebhook'
func (*CreateServiceConversationScopedWebhookParams) SetConfigurationFilters ¶
func (params *CreateServiceConversationScopedWebhookParams) SetConfigurationFilters(ConfigurationFilters []string) *CreateServiceConversationScopedWebhookParams
func (*CreateServiceConversationScopedWebhookParams) SetConfigurationFlowSid ¶
func (params *CreateServiceConversationScopedWebhookParams) SetConfigurationFlowSid(ConfigurationFlowSid string) *CreateServiceConversationScopedWebhookParams
func (*CreateServiceConversationScopedWebhookParams) SetConfigurationMethod ¶
func (params *CreateServiceConversationScopedWebhookParams) SetConfigurationMethod(ConfigurationMethod string) *CreateServiceConversationScopedWebhookParams
func (*CreateServiceConversationScopedWebhookParams) SetConfigurationReplayAfter ¶
func (params *CreateServiceConversationScopedWebhookParams) SetConfigurationReplayAfter(ConfigurationReplayAfter int) *CreateServiceConversationScopedWebhookParams
func (*CreateServiceConversationScopedWebhookParams) SetConfigurationTriggers ¶
func (params *CreateServiceConversationScopedWebhookParams) SetConfigurationTriggers(ConfigurationTriggers []string) *CreateServiceConversationScopedWebhookParams
func (*CreateServiceConversationScopedWebhookParams) SetConfigurationUrl ¶
func (params *CreateServiceConversationScopedWebhookParams) SetConfigurationUrl(ConfigurationUrl string) *CreateServiceConversationScopedWebhookParams
func (*CreateServiceConversationScopedWebhookParams) SetTarget ¶
func (params *CreateServiceConversationScopedWebhookParams) SetTarget(Target string) *CreateServiceConversationScopedWebhookParams
type CreateServiceParams ¶
type CreateServiceParams struct { // The human-readable name of this service, limited to 256 characters. Optional. FriendlyName *string `json:"FriendlyName,omitempty"` }
Optional parameters for the method 'CreateService'
func (*CreateServiceParams) SetFriendlyName ¶
func (params *CreateServiceParams) SetFriendlyName(FriendlyName string) *CreateServiceParams
type CreateServiceRoleParams ¶
type CreateServiceRoleParams struct { // A descriptive string that you create to describe the new resource. It can be up to 64 characters long. FriendlyName *string `json:"FriendlyName,omitempty"` // Type *string `json:"Type,omitempty"` // A permission that you grant to the new role. Only one permission can be granted per parameter. To assign more than one permission, repeat this parameter for each permission value. The values for this parameter depend on the role's `type`. Permission *[]string `json:"Permission,omitempty"` }
Optional parameters for the method 'CreateServiceRole'
func (*CreateServiceRoleParams) SetFriendlyName ¶
func (params *CreateServiceRoleParams) SetFriendlyName(FriendlyName string) *CreateServiceRoleParams
func (*CreateServiceRoleParams) SetPermission ¶
func (params *CreateServiceRoleParams) SetPermission(Permission []string) *CreateServiceRoleParams
func (*CreateServiceRoleParams) SetType ¶
func (params *CreateServiceRoleParams) SetType(Type string) *CreateServiceRoleParams
type CreateServiceUserParams ¶
type CreateServiceUserParams struct { // The X-Twilio-Webhook-Enabled HTTP request header XTwilioWebhookEnabled *string `json:"X-Twilio-Webhook-Enabled,omitempty"` // The application-defined string that uniquely identifies the resource's User within the [Conversation Service](https://www.twilio.com/docs/conversations/api/service-resource). This value is often a username or an email address, and is case-sensitive. Identity *string `json:"Identity,omitempty"` // The string that you assigned to describe the resource. FriendlyName *string `json:"FriendlyName,omitempty"` // The JSON Object string that stores application-specific data. If attributes have not been set, `{}` is returned. Attributes *string `json:"Attributes,omitempty"` // The SID of a service-level [Role](https://www.twilio.com/docs/conversations/api/role-resource) to assign to the user. RoleSid *string `json:"RoleSid,omitempty"` }
Optional parameters for the method 'CreateServiceUser'
func (*CreateServiceUserParams) SetAttributes ¶
func (params *CreateServiceUserParams) SetAttributes(Attributes string) *CreateServiceUserParams
func (*CreateServiceUserParams) SetFriendlyName ¶
func (params *CreateServiceUserParams) SetFriendlyName(FriendlyName string) *CreateServiceUserParams
func (*CreateServiceUserParams) SetIdentity ¶
func (params *CreateServiceUserParams) SetIdentity(Identity string) *CreateServiceUserParams
func (*CreateServiceUserParams) SetRoleSid ¶
func (params *CreateServiceUserParams) SetRoleSid(RoleSid string) *CreateServiceUserParams
func (*CreateServiceUserParams) SetXTwilioWebhookEnabled ¶
func (params *CreateServiceUserParams) SetXTwilioWebhookEnabled(XTwilioWebhookEnabled string) *CreateServiceUserParams
type CreateUserParams ¶
type CreateUserParams struct { // The X-Twilio-Webhook-Enabled HTTP request header XTwilioWebhookEnabled *string `json:"X-Twilio-Webhook-Enabled,omitempty"` // The application-defined string that uniquely identifies the resource's User within the [Conversation Service](https://www.twilio.com/docs/conversations/api/service-resource). This value is often a username or an email address, and is case-sensitive. Identity *string `json:"Identity,omitempty"` // The string that you assigned to describe the resource. FriendlyName *string `json:"FriendlyName,omitempty"` // The JSON Object string that stores application-specific data. If attributes have not been set, `{}` is returned. Attributes *string `json:"Attributes,omitempty"` // The SID of a service-level [Role](https://www.twilio.com/docs/conversations/api/role-resource) to assign to the user. RoleSid *string `json:"RoleSid,omitempty"` }
Optional parameters for the method 'CreateUser'
func (*CreateUserParams) SetAttributes ¶
func (params *CreateUserParams) SetAttributes(Attributes string) *CreateUserParams
func (*CreateUserParams) SetFriendlyName ¶
func (params *CreateUserParams) SetFriendlyName(FriendlyName string) *CreateUserParams
func (*CreateUserParams) SetIdentity ¶
func (params *CreateUserParams) SetIdentity(Identity string) *CreateUserParams
func (*CreateUserParams) SetRoleSid ¶
func (params *CreateUserParams) SetRoleSid(RoleSid string) *CreateUserParams
func (*CreateUserParams) SetXTwilioWebhookEnabled ¶
func (params *CreateUserParams) SetXTwilioWebhookEnabled(XTwilioWebhookEnabled string) *CreateUserParams
type DeleteConversationMessageParams ¶
type DeleteConversationMessageParams struct { // The X-Twilio-Webhook-Enabled HTTP request header XTwilioWebhookEnabled *string `json:"X-Twilio-Webhook-Enabled,omitempty"` }
Optional parameters for the method 'DeleteConversationMessage'
func (*DeleteConversationMessageParams) SetXTwilioWebhookEnabled ¶
func (params *DeleteConversationMessageParams) SetXTwilioWebhookEnabled(XTwilioWebhookEnabled string) *DeleteConversationMessageParams
type DeleteConversationParams ¶
type DeleteConversationParams struct { // The X-Twilio-Webhook-Enabled HTTP request header XTwilioWebhookEnabled *string `json:"X-Twilio-Webhook-Enabled,omitempty"` }
Optional parameters for the method 'DeleteConversation'
func (*DeleteConversationParams) SetXTwilioWebhookEnabled ¶
func (params *DeleteConversationParams) SetXTwilioWebhookEnabled(XTwilioWebhookEnabled string) *DeleteConversationParams
type DeleteConversationParticipantParams ¶
type DeleteConversationParticipantParams struct { // The X-Twilio-Webhook-Enabled HTTP request header XTwilioWebhookEnabled *string `json:"X-Twilio-Webhook-Enabled,omitempty"` }
Optional parameters for the method 'DeleteConversationParticipant'
func (*DeleteConversationParticipantParams) SetXTwilioWebhookEnabled ¶
func (params *DeleteConversationParticipantParams) SetXTwilioWebhookEnabled(XTwilioWebhookEnabled string) *DeleteConversationParticipantParams
type DeleteServiceConversationMessageParams ¶
type DeleteServiceConversationMessageParams struct { // The X-Twilio-Webhook-Enabled HTTP request header XTwilioWebhookEnabled *string `json:"X-Twilio-Webhook-Enabled,omitempty"` }
Optional parameters for the method 'DeleteServiceConversationMessage'
func (*DeleteServiceConversationMessageParams) SetXTwilioWebhookEnabled ¶
func (params *DeleteServiceConversationMessageParams) SetXTwilioWebhookEnabled(XTwilioWebhookEnabled string) *DeleteServiceConversationMessageParams
type DeleteServiceConversationParams ¶
type DeleteServiceConversationParams struct { // The X-Twilio-Webhook-Enabled HTTP request header XTwilioWebhookEnabled *string `json:"X-Twilio-Webhook-Enabled,omitempty"` }
Optional parameters for the method 'DeleteServiceConversation'
func (*DeleteServiceConversationParams) SetXTwilioWebhookEnabled ¶
func (params *DeleteServiceConversationParams) SetXTwilioWebhookEnabled(XTwilioWebhookEnabled string) *DeleteServiceConversationParams
type DeleteServiceConversationParticipantParams ¶
type DeleteServiceConversationParticipantParams struct { // The X-Twilio-Webhook-Enabled HTTP request header XTwilioWebhookEnabled *string `json:"X-Twilio-Webhook-Enabled,omitempty"` }
Optional parameters for the method 'DeleteServiceConversationParticipant'
func (*DeleteServiceConversationParticipantParams) SetXTwilioWebhookEnabled ¶
func (params *DeleteServiceConversationParticipantParams) SetXTwilioWebhookEnabled(XTwilioWebhookEnabled string) *DeleteServiceConversationParticipantParams
type DeleteServiceUserParams ¶
type DeleteServiceUserParams struct { // The X-Twilio-Webhook-Enabled HTTP request header XTwilioWebhookEnabled *string `json:"X-Twilio-Webhook-Enabled,omitempty"` }
Optional parameters for the method 'DeleteServiceUser'
func (*DeleteServiceUserParams) SetXTwilioWebhookEnabled ¶
func (params *DeleteServiceUserParams) SetXTwilioWebhookEnabled(XTwilioWebhookEnabled string) *DeleteServiceUserParams
type DeleteUserParams ¶
type DeleteUserParams struct { // The X-Twilio-Webhook-Enabled HTTP request header XTwilioWebhookEnabled *string `json:"X-Twilio-Webhook-Enabled,omitempty"` }
Optional parameters for the method 'DeleteUser'
func (*DeleteUserParams) SetXTwilioWebhookEnabled ¶
func (params *DeleteUserParams) SetXTwilioWebhookEnabled(XTwilioWebhookEnabled string) *DeleteUserParams
type ListConfigurationAddressParams ¶ added in v0.21.0
type ListConfigurationAddressParams struct { // Filter the address configurations by its type. This value can be one of: `whatsapp`, `sms`. Type *string `json:"Type,omitempty"` // How many resources to return in each list page. The default is 50, and the maximum is 1000. PageSize *int `json:"PageSize,omitempty"` // Max number of records to return. Limit *int `json:"limit,omitempty"` }
Optional parameters for the method 'ListConfigurationAddress'
func (*ListConfigurationAddressParams) SetLimit ¶ added in v0.21.0
func (params *ListConfigurationAddressParams) SetLimit(Limit int) *ListConfigurationAddressParams
func (*ListConfigurationAddressParams) SetPageSize ¶ added in v0.21.0
func (params *ListConfigurationAddressParams) SetPageSize(PageSize int) *ListConfigurationAddressParams
func (*ListConfigurationAddressParams) SetType ¶ added in v0.25.0
func (params *ListConfigurationAddressParams) SetType(Type string) *ListConfigurationAddressParams
type ListConfigurationAddressResponse ¶ added in v0.21.0
type ListConfigurationAddressResponse struct { AddressConfigurations []ConversationsV1ConfigurationAddress `json:"address_configurations,omitempty"` Meta ListConfigurationAddressResponseMeta `json:"meta,omitempty"` }
ListConfigurationAddressResponse struct for ListConfigurationAddressResponse
type ListConfigurationAddressResponseMeta ¶ added in v0.21.0
type ListConfigurationAddressResponseMeta struct { FirstPageUrl string `json:"first_page_url,omitempty"` Key string `json:"key,omitempty"` NextPageUrl *string `json:"next_page_url,omitempty"` Page int `json:"page,omitempty"` PageSize int `json:"page_size,omitempty"` PreviousPageUrl *string `json:"previous_page_url,omitempty"` Url string `json:"url,omitempty"` }
ListConfigurationAddressResponseMeta struct for ListConfigurationAddressResponseMeta
type ListConversationMessageParams ¶
type ListConversationMessageParams struct { // The sort order of the returned messages. Can be: `asc` (ascending) or `desc` (descending), with `asc` as the default. Order *string `json:"Order,omitempty"` // How many resources to return in each list page. The default is 50, and the maximum is 1000. PageSize *int `json:"PageSize,omitempty"` // Max number of records to return. Limit *int `json:"limit,omitempty"` }
Optional parameters for the method 'ListConversationMessage'
func (*ListConversationMessageParams) SetLimit ¶ added in v0.13.0
func (params *ListConversationMessageParams) SetLimit(Limit int) *ListConversationMessageParams
func (*ListConversationMessageParams) SetOrder ¶ added in v0.14.1
func (params *ListConversationMessageParams) SetOrder(Order string) *ListConversationMessageParams
func (*ListConversationMessageParams) SetPageSize ¶
func (params *ListConversationMessageParams) SetPageSize(PageSize int) *ListConversationMessageParams
type ListConversationMessageReceiptParams ¶
type ListConversationMessageReceiptParams struct { // How many resources to return in each list page. The default is 50, and the maximum is 1000. PageSize *int `json:"PageSize,omitempty"` // Max number of records to return. Limit *int `json:"limit,omitempty"` }
Optional parameters for the method 'ListConversationMessageReceipt'
func (*ListConversationMessageReceiptParams) SetLimit ¶ added in v0.13.0
func (params *ListConversationMessageReceiptParams) SetLimit(Limit int) *ListConversationMessageReceiptParams
func (*ListConversationMessageReceiptParams) SetPageSize ¶
func (params *ListConversationMessageReceiptParams) SetPageSize(PageSize int) *ListConversationMessageReceiptParams
type ListConversationMessageReceiptResponse ¶
type ListConversationMessageReceiptResponse struct { DeliveryReceipts []ConversationsV1ConversationMessageReceipt `json:"delivery_receipts,omitempty"` Meta ListConfigurationAddressResponseMeta `json:"meta,omitempty"` }
ListConversationMessageReceiptResponse struct for ListConversationMessageReceiptResponse
type ListConversationMessageResponse ¶
type ListConversationMessageResponse struct { Messages []ConversationsV1ConversationMessage `json:"messages,omitempty"` Meta ListConfigurationAddressResponseMeta `json:"meta,omitempty"` }
ListConversationMessageResponse struct for ListConversationMessageResponse
type ListConversationParams ¶
type ListConversationParams struct { // Specifies the beginning of the date range for filtering Conversations based on their creation date. Conversations that were created on or after this date will be included in the results. The date must be in ISO8601 format, specifically starting at the beginning of the specified date (YYYY-MM-DDT00:00:00Z), for precise filtering. This parameter can be combined with other filters. If this filter is used, the returned list is sorted by latest conversation creation date in descending order. StartDate *string `json:"StartDate,omitempty"` // Defines the end of the date range for filtering conversations by their creation date. Only conversations that were created on or before this date will appear in the results. The date must be in ISO8601 format, specifically capturing up to the end of the specified date (YYYY-MM-DDT23:59:59Z), to ensure that conversations from the entire end day are included. This parameter can be combined with other filters. If this filter is used, the returned list is sorted by latest conversation creation date in descending order. EndDate *string `json:"EndDate,omitempty"` // State for sorting and filtering list of Conversations. Can be `active`, `inactive` or `closed` State *string `json:"State,omitempty"` // How many resources to return in each list page. The default is 50, and the maximum is 1000. PageSize *int `json:"PageSize,omitempty"` // Max number of records to return. Limit *int `json:"limit,omitempty"` }
Optional parameters for the method 'ListConversation'
func (*ListConversationParams) SetEndDate ¶ added in v1.5.0
func (params *ListConversationParams) SetEndDate(EndDate string) *ListConversationParams
func (*ListConversationParams) SetLimit ¶ added in v0.13.0
func (params *ListConversationParams) SetLimit(Limit int) *ListConversationParams
func (*ListConversationParams) SetPageSize ¶
func (params *ListConversationParams) SetPageSize(PageSize int) *ListConversationParams
func (*ListConversationParams) SetStartDate ¶ added in v1.5.0
func (params *ListConversationParams) SetStartDate(StartDate string) *ListConversationParams
func (*ListConversationParams) SetState ¶ added in v1.5.0
func (params *ListConversationParams) SetState(State string) *ListConversationParams
type ListConversationParticipantParams ¶
type ListConversationParticipantParams struct { // How many resources to return in each list page. The default is 50, and the maximum is 1000. PageSize *int `json:"PageSize,omitempty"` // Max number of records to return. Limit *int `json:"limit,omitempty"` }
Optional parameters for the method 'ListConversationParticipant'
func (*ListConversationParticipantParams) SetLimit ¶ added in v0.13.0
func (params *ListConversationParticipantParams) SetLimit(Limit int) *ListConversationParticipantParams
func (*ListConversationParticipantParams) SetPageSize ¶
func (params *ListConversationParticipantParams) SetPageSize(PageSize int) *ListConversationParticipantParams
type ListConversationParticipantResponse ¶
type ListConversationParticipantResponse struct { Participants []ConversationsV1ConversationParticipant `json:"participants,omitempty"` Meta ListConfigurationAddressResponseMeta `json:"meta,omitempty"` }
ListConversationParticipantResponse struct for ListConversationParticipantResponse
type ListConversationResponse ¶
type ListConversationResponse struct { Conversations []ConversationsV1Conversation `json:"conversations,omitempty"` Meta ListConfigurationAddressResponseMeta `json:"meta,omitempty"` }
ListConversationResponse struct for ListConversationResponse
type ListConversationScopedWebhookParams ¶
type ListConversationScopedWebhookParams struct { // How many resources to return in each list page. The default is 50, and the maximum is 1000. PageSize *int `json:"PageSize,omitempty"` // Max number of records to return. Limit *int `json:"limit,omitempty"` }
Optional parameters for the method 'ListConversationScopedWebhook'
func (*ListConversationScopedWebhookParams) SetLimit ¶ added in v0.13.0
func (params *ListConversationScopedWebhookParams) SetLimit(Limit int) *ListConversationScopedWebhookParams
func (*ListConversationScopedWebhookParams) SetPageSize ¶
func (params *ListConversationScopedWebhookParams) SetPageSize(PageSize int) *ListConversationScopedWebhookParams
type ListConversationScopedWebhookResponse ¶
type ListConversationScopedWebhookResponse struct { Webhooks []ConversationsV1ConversationScopedWebhook `json:"webhooks,omitempty"` Meta ListConfigurationAddressResponseMeta `json:"meta,omitempty"` }
ListConversationScopedWebhookResponse struct for ListConversationScopedWebhookResponse
type ListCredentialParams ¶
type ListCredentialParams struct { // How many resources to return in each list page. The default is 50, and the maximum is 1000. PageSize *int `json:"PageSize,omitempty"` // Max number of records to return. Limit *int `json:"limit,omitempty"` }
Optional parameters for the method 'ListCredential'
func (*ListCredentialParams) SetLimit ¶ added in v0.13.0
func (params *ListCredentialParams) SetLimit(Limit int) *ListCredentialParams
func (*ListCredentialParams) SetPageSize ¶
func (params *ListCredentialParams) SetPageSize(PageSize int) *ListCredentialParams
type ListCredentialResponse ¶
type ListCredentialResponse struct { Credentials []ConversationsV1Credential `json:"credentials,omitempty"` Meta ListConfigurationAddressResponseMeta `json:"meta,omitempty"` }
ListCredentialResponse struct for ListCredentialResponse
type ListParticipantConversationParams ¶ added in v0.13.0
type ListParticipantConversationParams struct { // A unique string identifier for the conversation participant as [Conversation User](https://www.twilio.com/docs/conversations/api/user-resource). This parameter is non-null if (and only if) the participant is using the Conversations SDK to communicate. Limited to 256 characters. Identity *string `json:"Identity,omitempty"` // A unique string identifier for the conversation participant who's not a Conversation User. This parameter could be found in messaging_binding.address field of Participant resource. It should be url-encoded. Address *string `json:"Address,omitempty"` // How many resources to return in each list page. The default is 50, and the maximum is 1000. PageSize *int `json:"PageSize,omitempty"` // Max number of records to return. Limit *int `json:"limit,omitempty"` }
Optional parameters for the method 'ListParticipantConversation'
func (*ListParticipantConversationParams) SetAddress ¶ added in v0.13.0
func (params *ListParticipantConversationParams) SetAddress(Address string) *ListParticipantConversationParams
func (*ListParticipantConversationParams) SetIdentity ¶ added in v0.13.0
func (params *ListParticipantConversationParams) SetIdentity(Identity string) *ListParticipantConversationParams
func (*ListParticipantConversationParams) SetLimit ¶ added in v0.13.0
func (params *ListParticipantConversationParams) SetLimit(Limit int) *ListParticipantConversationParams
func (*ListParticipantConversationParams) SetPageSize ¶ added in v0.13.0
func (params *ListParticipantConversationParams) SetPageSize(PageSize int) *ListParticipantConversationParams
type ListParticipantConversationResponse ¶ added in v0.13.0
type ListParticipantConversationResponse struct { Conversations []ConversationsV1ParticipantConversation `json:"conversations,omitempty"` Meta ListConfigurationAddressResponseMeta `json:"meta,omitempty"` }
ListParticipantConversationResponse struct for ListParticipantConversationResponse
type ListRoleParams ¶
type ListRoleParams struct { // How many resources to return in each list page. The default is 50, and the maximum is 1000. PageSize *int `json:"PageSize,omitempty"` // Max number of records to return. Limit *int `json:"limit,omitempty"` }
Optional parameters for the method 'ListRole'
func (*ListRoleParams) SetLimit ¶ added in v0.13.0
func (params *ListRoleParams) SetLimit(Limit int) *ListRoleParams
func (*ListRoleParams) SetPageSize ¶
func (params *ListRoleParams) SetPageSize(PageSize int) *ListRoleParams
type ListRoleResponse ¶
type ListRoleResponse struct { Roles []ConversationsV1Role `json:"roles,omitempty"` Meta ListConfigurationAddressResponseMeta `json:"meta,omitempty"` }
ListRoleResponse struct for ListRoleResponse
type ListServiceBindingParams ¶
type ListServiceBindingParams struct { // The push technology used by the Binding resources to read. Can be: `apn`, `gcm`, or `fcm`. See [push notification configuration](https://www.twilio.com/docs/chat/push-notification-configuration) for more info. BindingType *[]string `json:"BindingType,omitempty"` // The identity of a [Conversation User](https://www.twilio.com/docs/conversations/api/user-resource) this binding belongs to. See [access tokens](https://www.twilio.com/docs/conversations/create-tokens) for more details. Identity *[]string `json:"Identity,omitempty"` // How many resources to return in each list page. The default is 50, and the maximum is 1000. PageSize *int `json:"PageSize,omitempty"` // Max number of records to return. Limit *int `json:"limit,omitempty"` }
Optional parameters for the method 'ListServiceBinding'
func (*ListServiceBindingParams) SetBindingType ¶
func (params *ListServiceBindingParams) SetBindingType(BindingType []string) *ListServiceBindingParams
func (*ListServiceBindingParams) SetIdentity ¶
func (params *ListServiceBindingParams) SetIdentity(Identity []string) *ListServiceBindingParams
func (*ListServiceBindingParams) SetLimit ¶ added in v0.13.0
func (params *ListServiceBindingParams) SetLimit(Limit int) *ListServiceBindingParams
func (*ListServiceBindingParams) SetPageSize ¶
func (params *ListServiceBindingParams) SetPageSize(PageSize int) *ListServiceBindingParams
type ListServiceBindingResponse ¶
type ListServiceBindingResponse struct { Bindings []ConversationsV1ServiceBinding `json:"bindings,omitempty"` Meta ListConfigurationAddressResponseMeta `json:"meta,omitempty"` }
ListServiceBindingResponse struct for ListServiceBindingResponse
type ListServiceConversationMessageParams ¶
type ListServiceConversationMessageParams struct { // The sort order of the returned messages. Can be: `asc` (ascending) or `desc` (descending), with `asc` as the default. Order *string `json:"Order,omitempty"` // How many resources to return in each list page. The default is 50, and the maximum is 1000. PageSize *int `json:"PageSize,omitempty"` // Max number of records to return. Limit *int `json:"limit,omitempty"` }
Optional parameters for the method 'ListServiceConversationMessage'
func (*ListServiceConversationMessageParams) SetLimit ¶ added in v0.13.0
func (params *ListServiceConversationMessageParams) SetLimit(Limit int) *ListServiceConversationMessageParams
func (*ListServiceConversationMessageParams) SetOrder ¶ added in v0.14.1
func (params *ListServiceConversationMessageParams) SetOrder(Order string) *ListServiceConversationMessageParams
func (*ListServiceConversationMessageParams) SetPageSize ¶
func (params *ListServiceConversationMessageParams) SetPageSize(PageSize int) *ListServiceConversationMessageParams
type ListServiceConversationMessageReceiptParams ¶
type ListServiceConversationMessageReceiptParams struct { // How many resources to return in each list page. The default is 50, and the maximum is 1000. PageSize *int `json:"PageSize,omitempty"` // Max number of records to return. Limit *int `json:"limit,omitempty"` }
Optional parameters for the method 'ListServiceConversationMessageReceipt'
func (*ListServiceConversationMessageReceiptParams) SetLimit ¶ added in v0.13.0
func (params *ListServiceConversationMessageReceiptParams) SetLimit(Limit int) *ListServiceConversationMessageReceiptParams
func (*ListServiceConversationMessageReceiptParams) SetPageSize ¶
func (params *ListServiceConversationMessageReceiptParams) SetPageSize(PageSize int) *ListServiceConversationMessageReceiptParams
type ListServiceConversationMessageReceiptResponse ¶
type ListServiceConversationMessageReceiptResponse struct { DeliveryReceipts []ConversationsV1ServiceConversationMessageReceipt `json:"delivery_receipts,omitempty"` Meta ListConfigurationAddressResponseMeta `json:"meta,omitempty"` }
ListServiceConversationMessageReceiptResponse struct for ListServiceConversationMessageReceiptResponse
type ListServiceConversationMessageResponse ¶
type ListServiceConversationMessageResponse struct { Messages []ConversationsV1ServiceConversationMessage `json:"messages,omitempty"` Meta ListConfigurationAddressResponseMeta `json:"meta,omitempty"` }
ListServiceConversationMessageResponse struct for ListServiceConversationMessageResponse
type ListServiceConversationParams ¶
type ListServiceConversationParams struct { // Specifies the beginning of the date range for filtering Conversations based on their creation date. Conversations that were created on or after this date will be included in the results. The date must be in ISO8601 format, specifically starting at the beginning of the specified date (YYYY-MM-DDT00:00:00Z), for precise filtering. This parameter can be combined with other filters. If this filter is used, the returned list is sorted by latest conversation creation date in descending order. StartDate *string `json:"StartDate,omitempty"` // Defines the end of the date range for filtering conversations by their creation date. Only conversations that were created on or before this date will appear in the results. The date must be in ISO8601 format, specifically capturing up to the end of the specified date (YYYY-MM-DDT23:59:59Z), to ensure that conversations from the entire end day are included. This parameter can be combined with other filters. If this filter is used, the returned list is sorted by latest conversation creation date in descending order. EndDate *string `json:"EndDate,omitempty"` // State for sorting and filtering list of Conversations. Can be `active`, `inactive` or `closed` State *string `json:"State,omitempty"` // How many resources to return in each list page. The default is 50, and the maximum is 1000. PageSize *int `json:"PageSize,omitempty"` // Max number of records to return. Limit *int `json:"limit,omitempty"` }
Optional parameters for the method 'ListServiceConversation'
func (*ListServiceConversationParams) SetEndDate ¶ added in v1.5.0
func (params *ListServiceConversationParams) SetEndDate(EndDate string) *ListServiceConversationParams
func (*ListServiceConversationParams) SetLimit ¶ added in v0.13.0
func (params *ListServiceConversationParams) SetLimit(Limit int) *ListServiceConversationParams
func (*ListServiceConversationParams) SetPageSize ¶
func (params *ListServiceConversationParams) SetPageSize(PageSize int) *ListServiceConversationParams
func (*ListServiceConversationParams) SetStartDate ¶ added in v1.5.0
func (params *ListServiceConversationParams) SetStartDate(StartDate string) *ListServiceConversationParams
func (*ListServiceConversationParams) SetState ¶ added in v1.5.0
func (params *ListServiceConversationParams) SetState(State string) *ListServiceConversationParams
type ListServiceConversationParticipantParams ¶
type ListServiceConversationParticipantParams struct { // How many resources to return in each list page. The default is 50, and the maximum is 1000. PageSize *int `json:"PageSize,omitempty"` // Max number of records to return. Limit *int `json:"limit,omitempty"` }
Optional parameters for the method 'ListServiceConversationParticipant'
func (*ListServiceConversationParticipantParams) SetLimit ¶ added in v0.13.0
func (params *ListServiceConversationParticipantParams) SetLimit(Limit int) *ListServiceConversationParticipantParams
func (*ListServiceConversationParticipantParams) SetPageSize ¶
func (params *ListServiceConversationParticipantParams) SetPageSize(PageSize int) *ListServiceConversationParticipantParams
type ListServiceConversationParticipantResponse ¶
type ListServiceConversationParticipantResponse struct { Participants []ConversationsV1ServiceConversationParticipant `json:"participants,omitempty"` Meta ListConfigurationAddressResponseMeta `json:"meta,omitempty"` }
ListServiceConversationParticipantResponse struct for ListServiceConversationParticipantResponse
type ListServiceConversationResponse ¶
type ListServiceConversationResponse struct { Conversations []ConversationsV1ServiceConversation `json:"conversations,omitempty"` Meta ListConfigurationAddressResponseMeta `json:"meta,omitempty"` }
ListServiceConversationResponse struct for ListServiceConversationResponse
type ListServiceConversationScopedWebhookParams ¶
type ListServiceConversationScopedWebhookParams struct { // How many resources to return in each list page. The default is 50, and the maximum is 1000. PageSize *int `json:"PageSize,omitempty"` // Max number of records to return. Limit *int `json:"limit,omitempty"` }
Optional parameters for the method 'ListServiceConversationScopedWebhook'
func (*ListServiceConversationScopedWebhookParams) SetLimit ¶ added in v0.13.0
func (params *ListServiceConversationScopedWebhookParams) SetLimit(Limit int) *ListServiceConversationScopedWebhookParams
func (*ListServiceConversationScopedWebhookParams) SetPageSize ¶
func (params *ListServiceConversationScopedWebhookParams) SetPageSize(PageSize int) *ListServiceConversationScopedWebhookParams
type ListServiceConversationScopedWebhookResponse ¶
type ListServiceConversationScopedWebhookResponse struct { Webhooks []ConversationsV1ServiceConversationScopedWebhook `json:"webhooks,omitempty"` Meta ListConfigurationAddressResponseMeta `json:"meta,omitempty"` }
ListServiceConversationScopedWebhookResponse struct for ListServiceConversationScopedWebhookResponse
type ListServiceParams ¶
type ListServiceParams struct { // How many resources to return in each list page. The default is 50, and the maximum is 1000. PageSize *int `json:"PageSize,omitempty"` // Max number of records to return. Limit *int `json:"limit,omitempty"` }
Optional parameters for the method 'ListService'
func (*ListServiceParams) SetLimit ¶ added in v0.13.0
func (params *ListServiceParams) SetLimit(Limit int) *ListServiceParams
func (*ListServiceParams) SetPageSize ¶
func (params *ListServiceParams) SetPageSize(PageSize int) *ListServiceParams
type ListServiceParticipantConversationParams ¶ added in v0.13.0
type ListServiceParticipantConversationParams struct { // A unique string identifier for the conversation participant as [Conversation User](https://www.twilio.com/docs/conversations/api/user-resource). This parameter is non-null if (and only if) the participant is using the Conversations SDK to communicate. Limited to 256 characters. Identity *string `json:"Identity,omitempty"` // A unique string identifier for the conversation participant who's not a Conversation User. This parameter could be found in messaging_binding.address field of Participant resource. It should be url-encoded. Address *string `json:"Address,omitempty"` // How many resources to return in each list page. The default is 50, and the maximum is 1000. PageSize *int `json:"PageSize,omitempty"` // Max number of records to return. Limit *int `json:"limit,omitempty"` }
Optional parameters for the method 'ListServiceParticipantConversation'
func (*ListServiceParticipantConversationParams) SetAddress ¶ added in v0.13.0
func (params *ListServiceParticipantConversationParams) SetAddress(Address string) *ListServiceParticipantConversationParams
func (*ListServiceParticipantConversationParams) SetIdentity ¶ added in v0.13.0
func (params *ListServiceParticipantConversationParams) SetIdentity(Identity string) *ListServiceParticipantConversationParams
func (*ListServiceParticipantConversationParams) SetLimit ¶ added in v0.13.0
func (params *ListServiceParticipantConversationParams) SetLimit(Limit int) *ListServiceParticipantConversationParams
func (*ListServiceParticipantConversationParams) SetPageSize ¶ added in v0.13.0
func (params *ListServiceParticipantConversationParams) SetPageSize(PageSize int) *ListServiceParticipantConversationParams
type ListServiceParticipantConversationResponse ¶ added in v0.13.0
type ListServiceParticipantConversationResponse struct { Conversations []ConversationsV1ServiceParticipantConversation `json:"conversations,omitempty"` Meta ListConfigurationAddressResponseMeta `json:"meta,omitempty"` }
ListServiceParticipantConversationResponse struct for ListServiceParticipantConversationResponse
type ListServiceResponse ¶
type ListServiceResponse struct { Services []ConversationsV1Service `json:"services,omitempty"` Meta ListConfigurationAddressResponseMeta `json:"meta,omitempty"` }
ListServiceResponse struct for ListServiceResponse
type ListServiceRoleParams ¶
type ListServiceRoleParams struct { // How many resources to return in each list page. The default is 50, and the maximum is 1000. PageSize *int `json:"PageSize,omitempty"` // Max number of records to return. Limit *int `json:"limit,omitempty"` }
Optional parameters for the method 'ListServiceRole'
func (*ListServiceRoleParams) SetLimit ¶ added in v0.13.0
func (params *ListServiceRoleParams) SetLimit(Limit int) *ListServiceRoleParams
func (*ListServiceRoleParams) SetPageSize ¶
func (params *ListServiceRoleParams) SetPageSize(PageSize int) *ListServiceRoleParams
type ListServiceRoleResponse ¶
type ListServiceRoleResponse struct { Roles []ConversationsV1ServiceRole `json:"roles,omitempty"` Meta ListConfigurationAddressResponseMeta `json:"meta,omitempty"` }
ListServiceRoleResponse struct for ListServiceRoleResponse
type ListServiceUserConversationParams ¶ added in v0.12.0
type ListServiceUserConversationParams struct { // How many resources to return in each list page. The default is 50, and the maximum is 1000. PageSize *int `json:"PageSize,omitempty"` // Max number of records to return. Limit *int `json:"limit,omitempty"` }
Optional parameters for the method 'ListServiceUserConversation'
func (*ListServiceUserConversationParams) SetLimit ¶ added in v0.13.0
func (params *ListServiceUserConversationParams) SetLimit(Limit int) *ListServiceUserConversationParams
func (*ListServiceUserConversationParams) SetPageSize ¶ added in v0.12.0
func (params *ListServiceUserConversationParams) SetPageSize(PageSize int) *ListServiceUserConversationParams
type ListServiceUserConversationResponse ¶ added in v0.12.0
type ListServiceUserConversationResponse struct { Conversations []ConversationsV1ServiceUserConversation `json:"conversations,omitempty"` Meta ListConfigurationAddressResponseMeta `json:"meta,omitempty"` }
ListServiceUserConversationResponse struct for ListServiceUserConversationResponse
type ListServiceUserParams ¶
type ListServiceUserParams struct { // How many resources to return in each list page. The default is 50, and the maximum is 1000. PageSize *int `json:"PageSize,omitempty"` // Max number of records to return. Limit *int `json:"limit,omitempty"` }
Optional parameters for the method 'ListServiceUser'
func (*ListServiceUserParams) SetLimit ¶ added in v0.13.0
func (params *ListServiceUserParams) SetLimit(Limit int) *ListServiceUserParams
func (*ListServiceUserParams) SetPageSize ¶
func (params *ListServiceUserParams) SetPageSize(PageSize int) *ListServiceUserParams
type ListServiceUserResponse ¶
type ListServiceUserResponse struct { Users []ConversationsV1ServiceUser `json:"users,omitempty"` Meta ListConfigurationAddressResponseMeta `json:"meta,omitempty"` }
ListServiceUserResponse struct for ListServiceUserResponse
type ListUserConversationParams ¶ added in v0.12.0
type ListUserConversationParams struct { // How many resources to return in each list page. The default is 50, and the maximum is 1000. PageSize *int `json:"PageSize,omitempty"` // Max number of records to return. Limit *int `json:"limit,omitempty"` }
Optional parameters for the method 'ListUserConversation'
func (*ListUserConversationParams) SetLimit ¶ added in v0.13.0
func (params *ListUserConversationParams) SetLimit(Limit int) *ListUserConversationParams
func (*ListUserConversationParams) SetPageSize ¶ added in v0.12.0
func (params *ListUserConversationParams) SetPageSize(PageSize int) *ListUserConversationParams
type ListUserConversationResponse ¶ added in v0.12.0
type ListUserConversationResponse struct { Conversations []ConversationsV1UserConversation `json:"conversations,omitempty"` Meta ListConfigurationAddressResponseMeta `json:"meta,omitempty"` }
ListUserConversationResponse struct for ListUserConversationResponse
type ListUserParams ¶
type ListUserParams struct { // How many resources to return in each list page. The default is 50, and the maximum is 1000. PageSize *int `json:"PageSize,omitempty"` // Max number of records to return. Limit *int `json:"limit,omitempty"` }
Optional parameters for the method 'ListUser'
func (*ListUserParams) SetLimit ¶ added in v0.13.0
func (params *ListUserParams) SetLimit(Limit int) *ListUserParams
func (*ListUserParams) SetPageSize ¶
func (params *ListUserParams) SetPageSize(PageSize int) *ListUserParams
type ListUserResponse ¶
type ListUserResponse struct { Users []ConversationsV1User `json:"users,omitempty"` Meta ListConfigurationAddressResponseMeta `json:"meta,omitempty"` }
ListUserResponse struct for ListUserResponse
type UpdateConfigurationAddressParams ¶ added in v0.21.0
type UpdateConfigurationAddressParams struct { // The human-readable name of this configuration, limited to 256 characters. Optional. FriendlyName *string `json:"FriendlyName,omitempty"` // Enable/Disable auto-creating conversations for messages to this address AutoCreationEnabled *bool `json:"AutoCreation.Enabled,omitempty"` // AutoCreationType *string `json:"AutoCreation.Type,omitempty"` // Conversation Service for the auto-created conversation. If not set, the conversation is created in the default service. AutoCreationConversationServiceSid *string `json:"AutoCreation.ConversationServiceSid,omitempty"` // For type `webhook`, the url for the webhook request. AutoCreationWebhookUrl *string `json:"AutoCreation.WebhookUrl,omitempty"` // AutoCreationWebhookMethod *string `json:"AutoCreation.WebhookMethod,omitempty"` // The list of events, firing webhook event for this Conversation. Values can be any of the following: `onMessageAdded`, `onMessageUpdated`, `onMessageRemoved`, `onConversationUpdated`, `onConversationStateUpdated`, `onConversationRemoved`, `onParticipantAdded`, `onParticipantUpdated`, `onParticipantRemoved`, `onDeliveryUpdated` AutoCreationWebhookFilters *[]string `json:"AutoCreation.WebhookFilters,omitempty"` // For type `studio`, the studio flow SID where the webhook should be sent to. AutoCreationStudioFlowSid *string `json:"AutoCreation.StudioFlowSid,omitempty"` // For type `studio`, number of times to retry the webhook request AutoCreationStudioRetryCount *int `json:"AutoCreation.StudioRetryCount,omitempty"` }
Optional parameters for the method 'UpdateConfigurationAddress'
func (*UpdateConfigurationAddressParams) SetAutoCreationConversationServiceSid ¶ added in v0.21.0
func (params *UpdateConfigurationAddressParams) SetAutoCreationConversationServiceSid(AutoCreationConversationServiceSid string) *UpdateConfigurationAddressParams
func (*UpdateConfigurationAddressParams) SetAutoCreationEnabled ¶ added in v0.21.0
func (params *UpdateConfigurationAddressParams) SetAutoCreationEnabled(AutoCreationEnabled bool) *UpdateConfigurationAddressParams
func (*UpdateConfigurationAddressParams) SetAutoCreationStudioFlowSid ¶ added in v0.21.0
func (params *UpdateConfigurationAddressParams) SetAutoCreationStudioFlowSid(AutoCreationStudioFlowSid string) *UpdateConfigurationAddressParams
func (*UpdateConfigurationAddressParams) SetAutoCreationStudioRetryCount ¶ added in v0.21.0
func (params *UpdateConfigurationAddressParams) SetAutoCreationStudioRetryCount(AutoCreationStudioRetryCount int) *UpdateConfigurationAddressParams
func (*UpdateConfigurationAddressParams) SetAutoCreationType ¶ added in v0.21.0
func (params *UpdateConfigurationAddressParams) SetAutoCreationType(AutoCreationType string) *UpdateConfigurationAddressParams
func (*UpdateConfigurationAddressParams) SetAutoCreationWebhookFilters ¶ added in v0.21.0
func (params *UpdateConfigurationAddressParams) SetAutoCreationWebhookFilters(AutoCreationWebhookFilters []string) *UpdateConfigurationAddressParams
func (*UpdateConfigurationAddressParams) SetAutoCreationWebhookMethod ¶ added in v0.21.0
func (params *UpdateConfigurationAddressParams) SetAutoCreationWebhookMethod(AutoCreationWebhookMethod string) *UpdateConfigurationAddressParams
func (*UpdateConfigurationAddressParams) SetAutoCreationWebhookUrl ¶ added in v0.21.0
func (params *UpdateConfigurationAddressParams) SetAutoCreationWebhookUrl(AutoCreationWebhookUrl string) *UpdateConfigurationAddressParams
func (*UpdateConfigurationAddressParams) SetFriendlyName ¶ added in v0.21.0
func (params *UpdateConfigurationAddressParams) SetFriendlyName(FriendlyName string) *UpdateConfigurationAddressParams
type UpdateConfigurationParams ¶
type UpdateConfigurationParams struct { // The SID of the default [Conversation Service](https://www.twilio.com/docs/conversations/api/service-resource) to use when creating a conversation. DefaultChatServiceSid *string `json:"DefaultChatServiceSid,omitempty"` // The SID of the default [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) to use when creating a conversation. DefaultMessagingServiceSid *string `json:"DefaultMessagingServiceSid,omitempty"` // Default ISO8601 duration when conversation will be switched to `inactive` state. Minimum value for this timer is 1 minute. DefaultInactiveTimer *string `json:"DefaultInactiveTimer,omitempty"` // Default ISO8601 duration when conversation will be switched to `closed` state. Minimum value for this timer is 10 minutes. DefaultClosedTimer *string `json:"DefaultClosedTimer,omitempty"` }
Optional parameters for the method 'UpdateConfiguration'
func (*UpdateConfigurationParams) SetDefaultChatServiceSid ¶
func (params *UpdateConfigurationParams) SetDefaultChatServiceSid(DefaultChatServiceSid string) *UpdateConfigurationParams
func (*UpdateConfigurationParams) SetDefaultClosedTimer ¶
func (params *UpdateConfigurationParams) SetDefaultClosedTimer(DefaultClosedTimer string) *UpdateConfigurationParams
func (*UpdateConfigurationParams) SetDefaultInactiveTimer ¶
func (params *UpdateConfigurationParams) SetDefaultInactiveTimer(DefaultInactiveTimer string) *UpdateConfigurationParams
func (*UpdateConfigurationParams) SetDefaultMessagingServiceSid ¶
func (params *UpdateConfigurationParams) SetDefaultMessagingServiceSid(DefaultMessagingServiceSid string) *UpdateConfigurationParams
type UpdateConfigurationWebhookParams ¶
type UpdateConfigurationWebhookParams struct { // The HTTP method to be used when sending a webhook request. Method *string `json:"Method,omitempty"` // The list of webhook event triggers that are enabled for this Service: `onMessageAdded`, `onMessageUpdated`, `onMessageRemoved`, `onConversationUpdated`, `onConversationRemoved`, `onParticipantAdded`, `onParticipantUpdated`, `onParticipantRemoved` Filters *[]string `json:"Filters,omitempty"` // The absolute url the pre-event webhook request should be sent to. PreWebhookUrl *string `json:"PreWebhookUrl,omitempty"` // The absolute url the post-event webhook request should be sent to. PostWebhookUrl *string `json:"PostWebhookUrl,omitempty"` // Target *string `json:"Target,omitempty"` }
Optional parameters for the method 'UpdateConfigurationWebhook'
func (*UpdateConfigurationWebhookParams) SetFilters ¶
func (params *UpdateConfigurationWebhookParams) SetFilters(Filters []string) *UpdateConfigurationWebhookParams
func (*UpdateConfigurationWebhookParams) SetMethod ¶
func (params *UpdateConfigurationWebhookParams) SetMethod(Method string) *UpdateConfigurationWebhookParams
func (*UpdateConfigurationWebhookParams) SetPostWebhookUrl ¶
func (params *UpdateConfigurationWebhookParams) SetPostWebhookUrl(PostWebhookUrl string) *UpdateConfigurationWebhookParams
func (*UpdateConfigurationWebhookParams) SetPreWebhookUrl ¶
func (params *UpdateConfigurationWebhookParams) SetPreWebhookUrl(PreWebhookUrl string) *UpdateConfigurationWebhookParams
func (*UpdateConfigurationWebhookParams) SetTarget ¶
func (params *UpdateConfigurationWebhookParams) SetTarget(Target string) *UpdateConfigurationWebhookParams
type UpdateConversationMessageParams ¶
type UpdateConversationMessageParams struct { // The X-Twilio-Webhook-Enabled HTTP request header XTwilioWebhookEnabled *string `json:"X-Twilio-Webhook-Enabled,omitempty"` // The channel specific identifier of the message's author. Defaults to `system`. Author *string `json:"Author,omitempty"` // The content of the message, can be up to 1,600 characters long. Body *string `json:"Body,omitempty"` // The date that this resource was created. DateCreated *time.Time `json:"DateCreated,omitempty"` // The date that this resource was last updated. `null` if the message has not been edited. DateUpdated *time.Time `json:"DateUpdated,omitempty"` // A string metadata field you can use to store any data you wish. The string value must contain structurally valid JSON if specified. **Note** that if the attributes are not set \\\"{}\\\" will be returned. Attributes *string `json:"Attributes,omitempty"` // The subject of the message, can be up to 256 characters long. Subject *string `json:"Subject,omitempty"` }
Optional parameters for the method 'UpdateConversationMessage'
func (*UpdateConversationMessageParams) SetAttributes ¶
func (params *UpdateConversationMessageParams) SetAttributes(Attributes string) *UpdateConversationMessageParams
func (*UpdateConversationMessageParams) SetAuthor ¶
func (params *UpdateConversationMessageParams) SetAuthor(Author string) *UpdateConversationMessageParams
func (*UpdateConversationMessageParams) SetBody ¶
func (params *UpdateConversationMessageParams) SetBody(Body string) *UpdateConversationMessageParams
func (*UpdateConversationMessageParams) SetDateCreated ¶
func (params *UpdateConversationMessageParams) SetDateCreated(DateCreated time.Time) *UpdateConversationMessageParams
func (*UpdateConversationMessageParams) SetDateUpdated ¶
func (params *UpdateConversationMessageParams) SetDateUpdated(DateUpdated time.Time) *UpdateConversationMessageParams
func (*UpdateConversationMessageParams) SetSubject ¶ added in v1.14.0
func (params *UpdateConversationMessageParams) SetSubject(Subject string) *UpdateConversationMessageParams
func (*UpdateConversationMessageParams) SetXTwilioWebhookEnabled ¶
func (params *UpdateConversationMessageParams) SetXTwilioWebhookEnabled(XTwilioWebhookEnabled string) *UpdateConversationMessageParams
type UpdateConversationParams ¶
type UpdateConversationParams struct { // The X-Twilio-Webhook-Enabled HTTP request header XTwilioWebhookEnabled *string `json:"X-Twilio-Webhook-Enabled,omitempty"` // The human-readable name of this conversation, limited to 256 characters. Optional. FriendlyName *string `json:"FriendlyName,omitempty"` // The date that this resource was created. DateCreated *time.Time `json:"DateCreated,omitempty"` // The date that this resource was last updated. DateUpdated *time.Time `json:"DateUpdated,omitempty"` // An optional string metadata field you can use to store any data you wish. The string value must contain structurally valid JSON if specified. **Note** that if the attributes are not set \\\"{}\\\" will be returned. Attributes *string `json:"Attributes,omitempty"` // The unique ID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) this conversation belongs to. MessagingServiceSid *string `json:"MessagingServiceSid,omitempty"` // State *string `json:"State,omitempty"` // ISO8601 duration when conversation will be switched to `inactive` state. Minimum value for this timer is 1 minute. TimersInactive *string `json:"Timers.Inactive,omitempty"` // ISO8601 duration when conversation will be switched to `closed` state. Minimum value for this timer is 10 minutes. TimersClosed *string `json:"Timers.Closed,omitempty"` // An application-defined string that uniquely identifies the resource. It can be used to address the resource in place of the resource's `sid` in the URL. UniqueName *string `json:"UniqueName,omitempty"` // The default email address that will be used when sending outbound emails in this conversation. BindingsEmailAddress *string `json:"Bindings.Email.Address,omitempty"` // The default name that will be used when sending outbound emails in this conversation. BindingsEmailName *string `json:"Bindings.Email.Name,omitempty"` }
Optional parameters for the method 'UpdateConversation'
func (*UpdateConversationParams) SetAttributes ¶
func (params *UpdateConversationParams) SetAttributes(Attributes string) *UpdateConversationParams
func (*UpdateConversationParams) SetBindingsEmailAddress ¶ added in v1.14.0
func (params *UpdateConversationParams) SetBindingsEmailAddress(BindingsEmailAddress string) *UpdateConversationParams
func (*UpdateConversationParams) SetBindingsEmailName ¶ added in v1.14.0
func (params *UpdateConversationParams) SetBindingsEmailName(BindingsEmailName string) *UpdateConversationParams
func (*UpdateConversationParams) SetDateCreated ¶
func (params *UpdateConversationParams) SetDateCreated(DateCreated time.Time) *UpdateConversationParams
func (*UpdateConversationParams) SetDateUpdated ¶
func (params *UpdateConversationParams) SetDateUpdated(DateUpdated time.Time) *UpdateConversationParams
func (*UpdateConversationParams) SetFriendlyName ¶
func (params *UpdateConversationParams) SetFriendlyName(FriendlyName string) *UpdateConversationParams
func (*UpdateConversationParams) SetMessagingServiceSid ¶
func (params *UpdateConversationParams) SetMessagingServiceSid(MessagingServiceSid string) *UpdateConversationParams
func (*UpdateConversationParams) SetState ¶
func (params *UpdateConversationParams) SetState(State string) *UpdateConversationParams
func (*UpdateConversationParams) SetTimersClosed ¶
func (params *UpdateConversationParams) SetTimersClosed(TimersClosed string) *UpdateConversationParams
func (*UpdateConversationParams) SetTimersInactive ¶
func (params *UpdateConversationParams) SetTimersInactive(TimersInactive string) *UpdateConversationParams
func (*UpdateConversationParams) SetUniqueName ¶
func (params *UpdateConversationParams) SetUniqueName(UniqueName string) *UpdateConversationParams
func (*UpdateConversationParams) SetXTwilioWebhookEnabled ¶
func (params *UpdateConversationParams) SetXTwilioWebhookEnabled(XTwilioWebhookEnabled string) *UpdateConversationParams
type UpdateConversationParticipantParams ¶
type UpdateConversationParticipantParams struct { // The X-Twilio-Webhook-Enabled HTTP request header XTwilioWebhookEnabled *string `json:"X-Twilio-Webhook-Enabled,omitempty"` // The date that this resource was created. DateCreated *time.Time `json:"DateCreated,omitempty"` // The date that this resource was last updated. DateUpdated *time.Time `json:"DateUpdated,omitempty"` // An optional string metadata field you can use to store any data you wish. The string value must contain structurally valid JSON if specified. **Note** that if the attributes are not set \\\"{}\\\" will be returned. Attributes *string `json:"Attributes,omitempty"` // The SID of a conversation-level [Role](https://www.twilio.com/docs/conversations/api/role-resource) to assign to the participant. RoleSid *string `json:"RoleSid,omitempty"` // The address of the Twilio phone number that the participant is in contact with. 'null' value will remove it. MessagingBindingProxyAddress *string `json:"MessagingBinding.ProxyAddress,omitempty"` // The address of the Twilio phone number that is used in Group MMS. 'null' value will remove it. MessagingBindingProjectedAddress *string `json:"MessagingBinding.ProjectedAddress,omitempty"` // A unique string identifier for the conversation participant as [Conversation User](https://www.twilio.com/docs/conversations/api/user-resource). This parameter is non-null if (and only if) the participant is using the Conversations SDK to communicate. Limited to 256 characters. Identity *string `json:"Identity,omitempty"` // Index of last “read” message in the [Conversation](https://www.twilio.com/docs/conversations/api/conversation-resource) for the Participant. LastReadMessageIndex *int `json:"LastReadMessageIndex,omitempty"` // Timestamp of last “read” message in the [Conversation](https://www.twilio.com/docs/conversations/api/conversation-resource) for the Participant. LastReadTimestamp *string `json:"LastReadTimestamp,omitempty"` }
Optional parameters for the method 'UpdateConversationParticipant'
func (*UpdateConversationParticipantParams) SetAttributes ¶
func (params *UpdateConversationParticipantParams) SetAttributes(Attributes string) *UpdateConversationParticipantParams
func (*UpdateConversationParticipantParams) SetDateCreated ¶
func (params *UpdateConversationParticipantParams) SetDateCreated(DateCreated time.Time) *UpdateConversationParticipantParams
func (*UpdateConversationParticipantParams) SetDateUpdated ¶
func (params *UpdateConversationParticipantParams) SetDateUpdated(DateUpdated time.Time) *UpdateConversationParticipantParams
func (*UpdateConversationParticipantParams) SetIdentity ¶
func (params *UpdateConversationParticipantParams) SetIdentity(Identity string) *UpdateConversationParticipantParams
func (*UpdateConversationParticipantParams) SetLastReadMessageIndex ¶
func (params *UpdateConversationParticipantParams) SetLastReadMessageIndex(LastReadMessageIndex int) *UpdateConversationParticipantParams
func (*UpdateConversationParticipantParams) SetLastReadTimestamp ¶
func (params *UpdateConversationParticipantParams) SetLastReadTimestamp(LastReadTimestamp string) *UpdateConversationParticipantParams
func (*UpdateConversationParticipantParams) SetMessagingBindingProjectedAddress ¶
func (params *UpdateConversationParticipantParams) SetMessagingBindingProjectedAddress(MessagingBindingProjectedAddress string) *UpdateConversationParticipantParams
func (*UpdateConversationParticipantParams) SetMessagingBindingProxyAddress ¶
func (params *UpdateConversationParticipantParams) SetMessagingBindingProxyAddress(MessagingBindingProxyAddress string) *UpdateConversationParticipantParams
func (*UpdateConversationParticipantParams) SetRoleSid ¶
func (params *UpdateConversationParticipantParams) SetRoleSid(RoleSid string) *UpdateConversationParticipantParams
func (*UpdateConversationParticipantParams) SetXTwilioWebhookEnabled ¶
func (params *UpdateConversationParticipantParams) SetXTwilioWebhookEnabled(XTwilioWebhookEnabled string) *UpdateConversationParticipantParams
type UpdateConversationScopedWebhookParams ¶
type UpdateConversationScopedWebhookParams struct { // The absolute url the webhook request should be sent to. ConfigurationUrl *string `json:"Configuration.Url,omitempty"` // ConfigurationMethod *string `json:"Configuration.Method,omitempty"` // The list of events, firing webhook event for this Conversation. ConfigurationFilters *[]string `json:"Configuration.Filters,omitempty"` // The list of keywords, firing webhook event for this Conversation. ConfigurationTriggers *[]string `json:"Configuration.Triggers,omitempty"` // The studio flow SID, where the webhook should be sent to. ConfigurationFlowSid *string `json:"Configuration.FlowSid,omitempty"` }
Optional parameters for the method 'UpdateConversationScopedWebhook'
func (*UpdateConversationScopedWebhookParams) SetConfigurationFilters ¶
func (params *UpdateConversationScopedWebhookParams) SetConfigurationFilters(ConfigurationFilters []string) *UpdateConversationScopedWebhookParams
func (*UpdateConversationScopedWebhookParams) SetConfigurationFlowSid ¶
func (params *UpdateConversationScopedWebhookParams) SetConfigurationFlowSid(ConfigurationFlowSid string) *UpdateConversationScopedWebhookParams
func (*UpdateConversationScopedWebhookParams) SetConfigurationMethod ¶
func (params *UpdateConversationScopedWebhookParams) SetConfigurationMethod(ConfigurationMethod string) *UpdateConversationScopedWebhookParams
func (*UpdateConversationScopedWebhookParams) SetConfigurationTriggers ¶
func (params *UpdateConversationScopedWebhookParams) SetConfigurationTriggers(ConfigurationTriggers []string) *UpdateConversationScopedWebhookParams
func (*UpdateConversationScopedWebhookParams) SetConfigurationUrl ¶
func (params *UpdateConversationScopedWebhookParams) SetConfigurationUrl(ConfigurationUrl string) *UpdateConversationScopedWebhookParams
type UpdateCredentialParams ¶
type UpdateCredentialParams struct { // Type *string `json:"Type,omitempty"` // A descriptive string that you create to describe the new resource. It can be up to 64 characters long. FriendlyName *string `json:"FriendlyName,omitempty"` // [APN only] The URL encoded representation of the certificate. For example, `-----BEGIN CERTIFICATE----- MIIFnTCCBIWgAwIBAgIIAjy9H849+E8wDQYJKoZIhvcNAQEF.....A== -----END CERTIFICATE-----`. Certificate *string `json:"Certificate,omitempty"` // [APN only] The URL encoded representation of the private key. For example, `-----BEGIN RSA PRIVATE KEY----- MIIEpQIBAAKCAQEAuyf/lNrH9ck8DmNyo3fG... -----END RSA PRIVATE KEY-----`. PrivateKey *string `json:"PrivateKey,omitempty"` // [APN only] Whether to send the credential to sandbox APNs. Can be `true` to send to sandbox APNs or `false` to send to production. Sandbox *bool `json:"Sandbox,omitempty"` // [GCM only] The API key for the project that was obtained from the Google Developer console for your GCM Service application credential. ApiKey *string `json:"ApiKey,omitempty"` // [FCM only] The **Server key** of your project from the Firebase console, found under Settings / Cloud messaging. Secret *string `json:"Secret,omitempty"` }
Optional parameters for the method 'UpdateCredential'
func (*UpdateCredentialParams) SetApiKey ¶
func (params *UpdateCredentialParams) SetApiKey(ApiKey string) *UpdateCredentialParams
func (*UpdateCredentialParams) SetCertificate ¶
func (params *UpdateCredentialParams) SetCertificate(Certificate string) *UpdateCredentialParams
func (*UpdateCredentialParams) SetFriendlyName ¶
func (params *UpdateCredentialParams) SetFriendlyName(FriendlyName string) *UpdateCredentialParams
func (*UpdateCredentialParams) SetPrivateKey ¶
func (params *UpdateCredentialParams) SetPrivateKey(PrivateKey string) *UpdateCredentialParams
func (*UpdateCredentialParams) SetSandbox ¶
func (params *UpdateCredentialParams) SetSandbox(Sandbox bool) *UpdateCredentialParams
func (*UpdateCredentialParams) SetSecret ¶
func (params *UpdateCredentialParams) SetSecret(Secret string) *UpdateCredentialParams
func (*UpdateCredentialParams) SetType ¶
func (params *UpdateCredentialParams) SetType(Type string) *UpdateCredentialParams
type UpdateRoleParams ¶
type UpdateRoleParams struct { // A permission that you grant to the role. Only one permission can be granted per parameter. To assign more than one permission, repeat this parameter for each permission value. Note that the update action replaces all previously assigned permissions with those defined in the update action. To remove a permission, do not include it in the subsequent update action. The values for this parameter depend on the role's `type`. Permission *[]string `json:"Permission,omitempty"` }
Optional parameters for the method 'UpdateRole'
func (*UpdateRoleParams) SetPermission ¶
func (params *UpdateRoleParams) SetPermission(Permission []string) *UpdateRoleParams
type UpdateServiceConfigurationParams ¶
type UpdateServiceConfigurationParams struct { // The conversation-level role assigned to a conversation creator when they join a new conversation. See [Conversation Role](https://www.twilio.com/docs/conversations/api/role-resource) for more info about roles. DefaultConversationCreatorRoleSid *string `json:"DefaultConversationCreatorRoleSid,omitempty"` // The conversation-level role assigned to users when they are added to a conversation. See [Conversation Role](https://www.twilio.com/docs/conversations/api/role-resource) for more info about roles. DefaultConversationRoleSid *string `json:"DefaultConversationRoleSid,omitempty"` // The service-level role assigned to users when they are added to the service. See [Conversation Role](https://www.twilio.com/docs/conversations/api/role-resource) for more info about roles. DefaultChatServiceRoleSid *string `json:"DefaultChatServiceRoleSid,omitempty"` // Whether the [Reachability Indicator](https://www.twilio.com/docs/conversations/reachability) is enabled for this Conversations Service. The default is `false`. ReachabilityEnabled *bool `json:"ReachabilityEnabled,omitempty"` }
Optional parameters for the method 'UpdateServiceConfiguration'
func (*UpdateServiceConfigurationParams) SetDefaultChatServiceRoleSid ¶
func (params *UpdateServiceConfigurationParams) SetDefaultChatServiceRoleSid(DefaultChatServiceRoleSid string) *UpdateServiceConfigurationParams
func (*UpdateServiceConfigurationParams) SetDefaultConversationCreatorRoleSid ¶
func (params *UpdateServiceConfigurationParams) SetDefaultConversationCreatorRoleSid(DefaultConversationCreatorRoleSid string) *UpdateServiceConfigurationParams
func (*UpdateServiceConfigurationParams) SetDefaultConversationRoleSid ¶
func (params *UpdateServiceConfigurationParams) SetDefaultConversationRoleSid(DefaultConversationRoleSid string) *UpdateServiceConfigurationParams
func (*UpdateServiceConfigurationParams) SetReachabilityEnabled ¶
func (params *UpdateServiceConfigurationParams) SetReachabilityEnabled(ReachabilityEnabled bool) *UpdateServiceConfigurationParams
type UpdateServiceConversationMessageParams ¶
type UpdateServiceConversationMessageParams struct { // The X-Twilio-Webhook-Enabled HTTP request header XTwilioWebhookEnabled *string `json:"X-Twilio-Webhook-Enabled,omitempty"` // The channel specific identifier of the message's author. Defaults to `system`. Author *string `json:"Author,omitempty"` // The content of the message, can be up to 1,600 characters long. Body *string `json:"Body,omitempty"` // The date that this resource was created. DateCreated *time.Time `json:"DateCreated,omitempty"` // The date that this resource was last updated. `null` if the message has not been edited. DateUpdated *time.Time `json:"DateUpdated,omitempty"` // A string metadata field you can use to store any data you wish. The string value must contain structurally valid JSON if specified. **Note** that if the attributes are not set \\\"{}\\\" will be returned. Attributes *string `json:"Attributes,omitempty"` // The subject of the message, can be up to 256 characters long. Subject *string `json:"Subject,omitempty"` }
Optional parameters for the method 'UpdateServiceConversationMessage'
func (*UpdateServiceConversationMessageParams) SetAttributes ¶
func (params *UpdateServiceConversationMessageParams) SetAttributes(Attributes string) *UpdateServiceConversationMessageParams
func (*UpdateServiceConversationMessageParams) SetAuthor ¶
func (params *UpdateServiceConversationMessageParams) SetAuthor(Author string) *UpdateServiceConversationMessageParams
func (*UpdateServiceConversationMessageParams) SetBody ¶
func (params *UpdateServiceConversationMessageParams) SetBody(Body string) *UpdateServiceConversationMessageParams
func (*UpdateServiceConversationMessageParams) SetDateCreated ¶
func (params *UpdateServiceConversationMessageParams) SetDateCreated(DateCreated time.Time) *UpdateServiceConversationMessageParams
func (*UpdateServiceConversationMessageParams) SetDateUpdated ¶
func (params *UpdateServiceConversationMessageParams) SetDateUpdated(DateUpdated time.Time) *UpdateServiceConversationMessageParams
func (*UpdateServiceConversationMessageParams) SetSubject ¶ added in v1.14.0
func (params *UpdateServiceConversationMessageParams) SetSubject(Subject string) *UpdateServiceConversationMessageParams
func (*UpdateServiceConversationMessageParams) SetXTwilioWebhookEnabled ¶
func (params *UpdateServiceConversationMessageParams) SetXTwilioWebhookEnabled(XTwilioWebhookEnabled string) *UpdateServiceConversationMessageParams
type UpdateServiceConversationParams ¶
type UpdateServiceConversationParams struct { // The X-Twilio-Webhook-Enabled HTTP request header XTwilioWebhookEnabled *string `json:"X-Twilio-Webhook-Enabled,omitempty"` // The human-readable name of this conversation, limited to 256 characters. Optional. FriendlyName *string `json:"FriendlyName,omitempty"` // The date that this resource was created. DateCreated *time.Time `json:"DateCreated,omitempty"` // The date that this resource was last updated. DateUpdated *time.Time `json:"DateUpdated,omitempty"` // An optional string metadata field you can use to store any data you wish. The string value must contain structurally valid JSON if specified. **Note** that if the attributes are not set \\\"{}\\\" will be returned. Attributes *string `json:"Attributes,omitempty"` // The unique ID of the [Messaging Service](https://www.twilio.com/docs/messaging/api/service-resource) this conversation belongs to. MessagingServiceSid *string `json:"MessagingServiceSid,omitempty"` // State *string `json:"State,omitempty"` // ISO8601 duration when conversation will be switched to `inactive` state. Minimum value for this timer is 1 minute. TimersInactive *string `json:"Timers.Inactive,omitempty"` // ISO8601 duration when conversation will be switched to `closed` state. Minimum value for this timer is 10 minutes. TimersClosed *string `json:"Timers.Closed,omitempty"` // An application-defined string that uniquely identifies the resource. It can be used to address the resource in place of the resource's `sid` in the URL. UniqueName *string `json:"UniqueName,omitempty"` // The default email address that will be used when sending outbound emails in this conversation. BindingsEmailAddress *string `json:"Bindings.Email.Address,omitempty"` // The default name that will be used when sending outbound emails in this conversation. BindingsEmailName *string `json:"Bindings.Email.Name,omitempty"` }
Optional parameters for the method 'UpdateServiceConversation'
func (*UpdateServiceConversationParams) SetAttributes ¶
func (params *UpdateServiceConversationParams) SetAttributes(Attributes string) *UpdateServiceConversationParams
func (*UpdateServiceConversationParams) SetBindingsEmailAddress ¶ added in v1.14.0
func (params *UpdateServiceConversationParams) SetBindingsEmailAddress(BindingsEmailAddress string) *UpdateServiceConversationParams
func (*UpdateServiceConversationParams) SetBindingsEmailName ¶ added in v1.14.0
func (params *UpdateServiceConversationParams) SetBindingsEmailName(BindingsEmailName string) *UpdateServiceConversationParams
func (*UpdateServiceConversationParams) SetDateCreated ¶
func (params *UpdateServiceConversationParams) SetDateCreated(DateCreated time.Time) *UpdateServiceConversationParams
func (*UpdateServiceConversationParams) SetDateUpdated ¶
func (params *UpdateServiceConversationParams) SetDateUpdated(DateUpdated time.Time) *UpdateServiceConversationParams
func (*UpdateServiceConversationParams) SetFriendlyName ¶
func (params *UpdateServiceConversationParams) SetFriendlyName(FriendlyName string) *UpdateServiceConversationParams
func (*UpdateServiceConversationParams) SetMessagingServiceSid ¶
func (params *UpdateServiceConversationParams) SetMessagingServiceSid(MessagingServiceSid string) *UpdateServiceConversationParams
func (*UpdateServiceConversationParams) SetState ¶
func (params *UpdateServiceConversationParams) SetState(State string) *UpdateServiceConversationParams
func (*UpdateServiceConversationParams) SetTimersClosed ¶
func (params *UpdateServiceConversationParams) SetTimersClosed(TimersClosed string) *UpdateServiceConversationParams
func (*UpdateServiceConversationParams) SetTimersInactive ¶
func (params *UpdateServiceConversationParams) SetTimersInactive(TimersInactive string) *UpdateServiceConversationParams
func (*UpdateServiceConversationParams) SetUniqueName ¶
func (params *UpdateServiceConversationParams) SetUniqueName(UniqueName string) *UpdateServiceConversationParams
func (*UpdateServiceConversationParams) SetXTwilioWebhookEnabled ¶
func (params *UpdateServiceConversationParams) SetXTwilioWebhookEnabled(XTwilioWebhookEnabled string) *UpdateServiceConversationParams
type UpdateServiceConversationParticipantParams ¶
type UpdateServiceConversationParticipantParams struct { // The X-Twilio-Webhook-Enabled HTTP request header XTwilioWebhookEnabled *string `json:"X-Twilio-Webhook-Enabled,omitempty"` // The date on which this resource was created. DateCreated *time.Time `json:"DateCreated,omitempty"` // The date on which this resource was last updated. DateUpdated *time.Time `json:"DateUpdated,omitempty"` // A unique string identifier for the conversation participant as [Conversation User](https://www.twilio.com/docs/conversations/api/user-resource). This parameter is non-null if (and only if) the participant is using the [Conversation SDK](https://www.twilio.com/docs/conversations/sdk-overview) to communicate. Limited to 256 characters. Identity *string `json:"Identity,omitempty"` // An optional string metadata field you can use to store any data you wish. The string value must contain structurally valid JSON if specified. **Note** that if the attributes are not set `{}` will be returned. Attributes *string `json:"Attributes,omitempty"` // The SID of a conversation-level [Role](https://www.twilio.com/docs/conversations/api/role-resource) to assign to the participant. RoleSid *string `json:"RoleSid,omitempty"` // The address of the Twilio phone number that the participant is in contact with. 'null' value will remove it. MessagingBindingProxyAddress *string `json:"MessagingBinding.ProxyAddress,omitempty"` // The address of the Twilio phone number that is used in Group MMS. 'null' value will remove it. MessagingBindingProjectedAddress *string `json:"MessagingBinding.ProjectedAddress,omitempty"` // Index of last “read” message in the [Conversation](https://www.twilio.com/docs/conversations/api/conversation-resource) for the Participant. LastReadMessageIndex *int `json:"LastReadMessageIndex,omitempty"` // Timestamp of last “read” message in the [Conversation](https://www.twilio.com/docs/conversations/api/conversation-resource) for the Participant. LastReadTimestamp *string `json:"LastReadTimestamp,omitempty"` }
Optional parameters for the method 'UpdateServiceConversationParticipant'
func (*UpdateServiceConversationParticipantParams) SetAttributes ¶
func (params *UpdateServiceConversationParticipantParams) SetAttributes(Attributes string) *UpdateServiceConversationParticipantParams
func (*UpdateServiceConversationParticipantParams) SetDateCreated ¶
func (params *UpdateServiceConversationParticipantParams) SetDateCreated(DateCreated time.Time) *UpdateServiceConversationParticipantParams
func (*UpdateServiceConversationParticipantParams) SetDateUpdated ¶
func (params *UpdateServiceConversationParticipantParams) SetDateUpdated(DateUpdated time.Time) *UpdateServiceConversationParticipantParams
func (*UpdateServiceConversationParticipantParams) SetIdentity ¶
func (params *UpdateServiceConversationParticipantParams) SetIdentity(Identity string) *UpdateServiceConversationParticipantParams
func (*UpdateServiceConversationParticipantParams) SetLastReadMessageIndex ¶
func (params *UpdateServiceConversationParticipantParams) SetLastReadMessageIndex(LastReadMessageIndex int) *UpdateServiceConversationParticipantParams
func (*UpdateServiceConversationParticipantParams) SetLastReadTimestamp ¶
func (params *UpdateServiceConversationParticipantParams) SetLastReadTimestamp(LastReadTimestamp string) *UpdateServiceConversationParticipantParams
func (*UpdateServiceConversationParticipantParams) SetMessagingBindingProjectedAddress ¶
func (params *UpdateServiceConversationParticipantParams) SetMessagingBindingProjectedAddress(MessagingBindingProjectedAddress string) *UpdateServiceConversationParticipantParams
func (*UpdateServiceConversationParticipantParams) SetMessagingBindingProxyAddress ¶
func (params *UpdateServiceConversationParticipantParams) SetMessagingBindingProxyAddress(MessagingBindingProxyAddress string) *UpdateServiceConversationParticipantParams
func (*UpdateServiceConversationParticipantParams) SetRoleSid ¶
func (params *UpdateServiceConversationParticipantParams) SetRoleSid(RoleSid string) *UpdateServiceConversationParticipantParams
func (*UpdateServiceConversationParticipantParams) SetXTwilioWebhookEnabled ¶
func (params *UpdateServiceConversationParticipantParams) SetXTwilioWebhookEnabled(XTwilioWebhookEnabled string) *UpdateServiceConversationParticipantParams
type UpdateServiceConversationScopedWebhookParams ¶
type UpdateServiceConversationScopedWebhookParams struct { // The absolute url the webhook request should be sent to. ConfigurationUrl *string `json:"Configuration.Url,omitempty"` // ConfigurationMethod *string `json:"Configuration.Method,omitempty"` // The list of events, firing webhook event for this Conversation. ConfigurationFilters *[]string `json:"Configuration.Filters,omitempty"` // The list of keywords, firing webhook event for this Conversation. ConfigurationTriggers *[]string `json:"Configuration.Triggers,omitempty"` // The studio flow SID, where the webhook should be sent to. ConfigurationFlowSid *string `json:"Configuration.FlowSid,omitempty"` }
Optional parameters for the method 'UpdateServiceConversationScopedWebhook'
func (*UpdateServiceConversationScopedWebhookParams) SetConfigurationFilters ¶
func (params *UpdateServiceConversationScopedWebhookParams) SetConfigurationFilters(ConfigurationFilters []string) *UpdateServiceConversationScopedWebhookParams
func (*UpdateServiceConversationScopedWebhookParams) SetConfigurationFlowSid ¶
func (params *UpdateServiceConversationScopedWebhookParams) SetConfigurationFlowSid(ConfigurationFlowSid string) *UpdateServiceConversationScopedWebhookParams
func (*UpdateServiceConversationScopedWebhookParams) SetConfigurationMethod ¶
func (params *UpdateServiceConversationScopedWebhookParams) SetConfigurationMethod(ConfigurationMethod string) *UpdateServiceConversationScopedWebhookParams
func (*UpdateServiceConversationScopedWebhookParams) SetConfigurationTriggers ¶
func (params *UpdateServiceConversationScopedWebhookParams) SetConfigurationTriggers(ConfigurationTriggers []string) *UpdateServiceConversationScopedWebhookParams
func (*UpdateServiceConversationScopedWebhookParams) SetConfigurationUrl ¶
func (params *UpdateServiceConversationScopedWebhookParams) SetConfigurationUrl(ConfigurationUrl string) *UpdateServiceConversationScopedWebhookParams
type UpdateServiceNotificationParams ¶
type UpdateServiceNotificationParams struct { // Weather the notification logging is enabled. LogEnabled *bool `json:"LogEnabled,omitempty"` // Whether to send a notification when a new message is added to a conversation. The default is `false`. NewMessageEnabled *bool `json:"NewMessage.Enabled,omitempty"` // The template to use to create the notification text displayed when a new message is added to a conversation and `new_message.enabled` is `true`. NewMessageTemplate *string `json:"NewMessage.Template,omitempty"` // The name of the sound to play when a new message is added to a conversation and `new_message.enabled` is `true`. NewMessageSound *string `json:"NewMessage.Sound,omitempty"` // Whether the new message badge is enabled. The default is `false`. NewMessageBadgeCountEnabled *bool `json:"NewMessage.BadgeCountEnabled,omitempty"` // Whether to send a notification when a participant is added to a conversation. The default is `false`. AddedToConversationEnabled *bool `json:"AddedToConversation.Enabled,omitempty"` // The template to use to create the notification text displayed when a participant is added to a conversation and `added_to_conversation.enabled` is `true`. AddedToConversationTemplate *string `json:"AddedToConversation.Template,omitempty"` // The name of the sound to play when a participant is added to a conversation and `added_to_conversation.enabled` is `true`. AddedToConversationSound *string `json:"AddedToConversation.Sound,omitempty"` // Whether to send a notification to a user when they are removed from a conversation. The default is `false`. RemovedFromConversationEnabled *bool `json:"RemovedFromConversation.Enabled,omitempty"` // The template to use to create the notification text displayed to a user when they are removed from a conversation and `removed_from_conversation.enabled` is `true`. RemovedFromConversationTemplate *string `json:"RemovedFromConversation.Template,omitempty"` // The name of the sound to play to a user when they are removed from a conversation and `removed_from_conversation.enabled` is `true`. RemovedFromConversationSound *string `json:"RemovedFromConversation.Sound,omitempty"` // Whether to send a notification when a new message with media/file attachments is added to a conversation. The default is `false`. NewMessageWithMediaEnabled *bool `json:"NewMessage.WithMedia.Enabled,omitempty"` // The template to use to create the notification text displayed when a new message with media/file attachments is added to a conversation and `new_message.attachments.enabled` is `true`. NewMessageWithMediaTemplate *string `json:"NewMessage.WithMedia.Template,omitempty"` }
Optional parameters for the method 'UpdateServiceNotification'
func (*UpdateServiceNotificationParams) SetAddedToConversationEnabled ¶
func (params *UpdateServiceNotificationParams) SetAddedToConversationEnabled(AddedToConversationEnabled bool) *UpdateServiceNotificationParams
func (*UpdateServiceNotificationParams) SetAddedToConversationSound ¶
func (params *UpdateServiceNotificationParams) SetAddedToConversationSound(AddedToConversationSound string) *UpdateServiceNotificationParams
func (*UpdateServiceNotificationParams) SetAddedToConversationTemplate ¶
func (params *UpdateServiceNotificationParams) SetAddedToConversationTemplate(AddedToConversationTemplate string) *UpdateServiceNotificationParams
func (*UpdateServiceNotificationParams) SetLogEnabled ¶
func (params *UpdateServiceNotificationParams) SetLogEnabled(LogEnabled bool) *UpdateServiceNotificationParams
func (*UpdateServiceNotificationParams) SetNewMessageBadgeCountEnabled ¶
func (params *UpdateServiceNotificationParams) SetNewMessageBadgeCountEnabled(NewMessageBadgeCountEnabled bool) *UpdateServiceNotificationParams
func (*UpdateServiceNotificationParams) SetNewMessageEnabled ¶
func (params *UpdateServiceNotificationParams) SetNewMessageEnabled(NewMessageEnabled bool) *UpdateServiceNotificationParams
func (*UpdateServiceNotificationParams) SetNewMessageSound ¶
func (params *UpdateServiceNotificationParams) SetNewMessageSound(NewMessageSound string) *UpdateServiceNotificationParams
func (*UpdateServiceNotificationParams) SetNewMessageTemplate ¶
func (params *UpdateServiceNotificationParams) SetNewMessageTemplate(NewMessageTemplate string) *UpdateServiceNotificationParams
func (*UpdateServiceNotificationParams) SetNewMessageWithMediaEnabled ¶ added in v0.16.0
func (params *UpdateServiceNotificationParams) SetNewMessageWithMediaEnabled(NewMessageWithMediaEnabled bool) *UpdateServiceNotificationParams
func (*UpdateServiceNotificationParams) SetNewMessageWithMediaTemplate ¶ added in v0.16.0
func (params *UpdateServiceNotificationParams) SetNewMessageWithMediaTemplate(NewMessageWithMediaTemplate string) *UpdateServiceNotificationParams
func (*UpdateServiceNotificationParams) SetRemovedFromConversationEnabled ¶
func (params *UpdateServiceNotificationParams) SetRemovedFromConversationEnabled(RemovedFromConversationEnabled bool) *UpdateServiceNotificationParams
func (*UpdateServiceNotificationParams) SetRemovedFromConversationSound ¶
func (params *UpdateServiceNotificationParams) SetRemovedFromConversationSound(RemovedFromConversationSound string) *UpdateServiceNotificationParams
func (*UpdateServiceNotificationParams) SetRemovedFromConversationTemplate ¶
func (params *UpdateServiceNotificationParams) SetRemovedFromConversationTemplate(RemovedFromConversationTemplate string) *UpdateServiceNotificationParams
type UpdateServiceRoleParams ¶
type UpdateServiceRoleParams struct { // A permission that you grant to the role. Only one permission can be granted per parameter. To assign more than one permission, repeat this parameter for each permission value. Note that the update action replaces all previously assigned permissions with those defined in the update action. To remove a permission, do not include it in the subsequent update action. The values for this parameter depend on the role's `type`. Permission *[]string `json:"Permission,omitempty"` }
Optional parameters for the method 'UpdateServiceRole'
func (*UpdateServiceRoleParams) SetPermission ¶
func (params *UpdateServiceRoleParams) SetPermission(Permission []string) *UpdateServiceRoleParams
type UpdateServiceUserConversationParams ¶ added in v0.12.0
type UpdateServiceUserConversationParams struct { // NotificationLevel *string `json:"NotificationLevel,omitempty"` // The date of the last message read in conversation by the user, given in ISO 8601 format. LastReadTimestamp *time.Time `json:"LastReadTimestamp,omitempty"` // The index of the last Message in the Conversation that the Participant has read. LastReadMessageIndex *int `json:"LastReadMessageIndex,omitempty"` }
Optional parameters for the method 'UpdateServiceUserConversation'
func (*UpdateServiceUserConversationParams) SetLastReadMessageIndex ¶ added in v0.12.0
func (params *UpdateServiceUserConversationParams) SetLastReadMessageIndex(LastReadMessageIndex int) *UpdateServiceUserConversationParams
func (*UpdateServiceUserConversationParams) SetLastReadTimestamp ¶ added in v0.12.0
func (params *UpdateServiceUserConversationParams) SetLastReadTimestamp(LastReadTimestamp time.Time) *UpdateServiceUserConversationParams
func (*UpdateServiceUserConversationParams) SetNotificationLevel ¶ added in v0.12.0
func (params *UpdateServiceUserConversationParams) SetNotificationLevel(NotificationLevel string) *UpdateServiceUserConversationParams
type UpdateServiceUserParams ¶
type UpdateServiceUserParams struct { // The X-Twilio-Webhook-Enabled HTTP request header XTwilioWebhookEnabled *string `json:"X-Twilio-Webhook-Enabled,omitempty"` // The string that you assigned to describe the resource. FriendlyName *string `json:"FriendlyName,omitempty"` // The JSON Object string that stores application-specific data. If attributes have not been set, `{}` is returned. Attributes *string `json:"Attributes,omitempty"` // The SID of a service-level [Role](https://www.twilio.com/docs/conversations/api/role-resource) to assign to the user. RoleSid *string `json:"RoleSid,omitempty"` }
Optional parameters for the method 'UpdateServiceUser'
func (*UpdateServiceUserParams) SetAttributes ¶
func (params *UpdateServiceUserParams) SetAttributes(Attributes string) *UpdateServiceUserParams
func (*UpdateServiceUserParams) SetFriendlyName ¶
func (params *UpdateServiceUserParams) SetFriendlyName(FriendlyName string) *UpdateServiceUserParams
func (*UpdateServiceUserParams) SetRoleSid ¶
func (params *UpdateServiceUserParams) SetRoleSid(RoleSid string) *UpdateServiceUserParams
func (*UpdateServiceUserParams) SetXTwilioWebhookEnabled ¶
func (params *UpdateServiceUserParams) SetXTwilioWebhookEnabled(XTwilioWebhookEnabled string) *UpdateServiceUserParams
type UpdateServiceWebhookConfigurationParams ¶ added in v0.18.2
type UpdateServiceWebhookConfigurationParams struct { // The absolute url the pre-event webhook request should be sent to. PreWebhookUrl *string `json:"PreWebhookUrl,omitempty"` // The absolute url the post-event webhook request should be sent to. PostWebhookUrl *string `json:"PostWebhookUrl,omitempty"` // The list of events that your configured webhook targets will receive. Events not configured here will not fire. Possible values are `onParticipantAdd`, `onParticipantAdded`, `onDeliveryUpdated`, `onConversationUpdated`, `onConversationRemove`, `onParticipantRemove`, `onConversationUpdate`, `onMessageAdd`, `onMessageRemoved`, `onParticipantUpdated`, `onConversationAdded`, `onMessageAdded`, `onConversationAdd`, `onConversationRemoved`, `onParticipantUpdate`, `onMessageRemove`, `onMessageUpdated`, `onParticipantRemoved`, `onMessageUpdate` or `onConversationStateUpdated`. Filters *[]string `json:"Filters,omitempty"` // The HTTP method to be used when sending a webhook request. One of `GET` or `POST`. Method *string `json:"Method,omitempty"` }
Optional parameters for the method 'UpdateServiceWebhookConfiguration'
func (*UpdateServiceWebhookConfigurationParams) SetFilters ¶ added in v0.18.2
func (params *UpdateServiceWebhookConfigurationParams) SetFilters(Filters []string) *UpdateServiceWebhookConfigurationParams
func (*UpdateServiceWebhookConfigurationParams) SetMethod ¶ added in v0.18.2
func (params *UpdateServiceWebhookConfigurationParams) SetMethod(Method string) *UpdateServiceWebhookConfigurationParams
func (*UpdateServiceWebhookConfigurationParams) SetPostWebhookUrl ¶ added in v0.18.2
func (params *UpdateServiceWebhookConfigurationParams) SetPostWebhookUrl(PostWebhookUrl string) *UpdateServiceWebhookConfigurationParams
func (*UpdateServiceWebhookConfigurationParams) SetPreWebhookUrl ¶ added in v0.18.2
func (params *UpdateServiceWebhookConfigurationParams) SetPreWebhookUrl(PreWebhookUrl string) *UpdateServiceWebhookConfigurationParams
type UpdateUserConversationParams ¶ added in v0.12.0
type UpdateUserConversationParams struct { // NotificationLevel *string `json:"NotificationLevel,omitempty"` // The date of the last message read in conversation by the user, given in ISO 8601 format. LastReadTimestamp *time.Time `json:"LastReadTimestamp,omitempty"` // The index of the last Message in the Conversation that the Participant has read. LastReadMessageIndex *int `json:"LastReadMessageIndex,omitempty"` }
Optional parameters for the method 'UpdateUserConversation'
func (*UpdateUserConversationParams) SetLastReadMessageIndex ¶ added in v0.12.0
func (params *UpdateUserConversationParams) SetLastReadMessageIndex(LastReadMessageIndex int) *UpdateUserConversationParams
func (*UpdateUserConversationParams) SetLastReadTimestamp ¶ added in v0.12.0
func (params *UpdateUserConversationParams) SetLastReadTimestamp(LastReadTimestamp time.Time) *UpdateUserConversationParams
func (*UpdateUserConversationParams) SetNotificationLevel ¶ added in v0.12.0
func (params *UpdateUserConversationParams) SetNotificationLevel(NotificationLevel string) *UpdateUserConversationParams
type UpdateUserParams ¶
type UpdateUserParams struct { // The X-Twilio-Webhook-Enabled HTTP request header XTwilioWebhookEnabled *string `json:"X-Twilio-Webhook-Enabled,omitempty"` // The string that you assigned to describe the resource. FriendlyName *string `json:"FriendlyName,omitempty"` // The JSON Object string that stores application-specific data. If attributes have not been set, `{}` is returned. Attributes *string `json:"Attributes,omitempty"` // The SID of a service-level [Role](https://www.twilio.com/docs/conversations/api/role-resource) to assign to the user. RoleSid *string `json:"RoleSid,omitempty"` }
Optional parameters for the method 'UpdateUser'
func (*UpdateUserParams) SetAttributes ¶
func (params *UpdateUserParams) SetAttributes(Attributes string) *UpdateUserParams
func (*UpdateUserParams) SetFriendlyName ¶
func (params *UpdateUserParams) SetFriendlyName(FriendlyName string) *UpdateUserParams
func (*UpdateUserParams) SetRoleSid ¶
func (params *UpdateUserParams) SetRoleSid(RoleSid string) *UpdateUserParams
func (*UpdateUserParams) SetXTwilioWebhookEnabled ¶
func (params *UpdateUserParams) SetXTwilioWebhookEnabled(XTwilioWebhookEnabled string) *UpdateUserParams
Source Files ¶
- api_service.go
- configuration.go
- configuration_addresses.go
- configuration_webhooks.go
- conversations.go
- conversations_messages.go
- conversations_messages_receipts.go
- conversations_participants.go
- conversations_webhooks.go
- credentials.go
- model_conversations_v1_configuration.go
- model_conversations_v1_configuration_address.go
- model_conversations_v1_configuration_webhook.go
- model_conversations_v1_conversation.go
- model_conversations_v1_conversation_message.go
- model_conversations_v1_conversation_message_receipt.go
- model_conversations_v1_conversation_participant.go
- model_conversations_v1_conversation_scoped_webhook.go
- model_conversations_v1_credential.go
- model_conversations_v1_participant_conversation.go
- model_conversations_v1_role.go
- model_conversations_v1_service.go
- model_conversations_v1_service_binding.go
- model_conversations_v1_service_configuration.go
- model_conversations_v1_service_conversation.go
- model_conversations_v1_service_conversation_message.go
- model_conversations_v1_service_conversation_message_receipt.go
- model_conversations_v1_service_conversation_participant.go
- model_conversations_v1_service_conversation_scoped_webhook.go
- model_conversations_v1_service_notification.go
- model_conversations_v1_service_participant_conversation.go
- model_conversations_v1_service_role.go
- model_conversations_v1_service_user.go
- model_conversations_v1_service_user_conversation.go
- model_conversations_v1_service_webhook_configuration.go
- model_conversations_v1_user.go
- model_conversations_v1_user_conversation.go
- model_list_configuration_address_response.go
- model_list_configuration_address_response_meta.go
- model_list_conversation_message_receipt_response.go
- model_list_conversation_message_response.go
- model_list_conversation_participant_response.go
- model_list_conversation_response.go
- model_list_conversation_scoped_webhook_response.go
- model_list_credential_response.go
- model_list_participant_conversation_response.go
- model_list_role_response.go
- model_list_service_binding_response.go
- model_list_service_conversation_message_receipt_response.go
- model_list_service_conversation_message_response.go
- model_list_service_conversation_participant_response.go
- model_list_service_conversation_response.go
- model_list_service_conversation_scoped_webhook_response.go
- model_list_service_participant_conversation_response.go
- model_list_service_response.go
- model_list_service_role_response.go
- model_list_service_user_conversation_response.go
- model_list_service_user_response.go
- model_list_user_conversation_response.go
- model_list_user_response.go
- participant_conversations.go
- roles.go
- services.go
- services_bindings.go
- services_configuration.go
- services_configuration_notifications.go
- services_configuration_webhooks.go
- services_conversations.go
- services_conversations_messages.go
- services_conversations_messages_receipts.go
- services_conversations_participants.go
- services_conversations_webhooks.go
- services_participant_conversations.go
- services_roles.go
- services_users.go
- services_users_conversations.go
- users.go
- users_conversations.go