Documentation ¶
Index ¶
- type ApiService
- func (c *ApiService) CreateConversation(params *CreateConversationParams) (*ConversationsV1Conversation, error)
- func (c *ApiService) CreateConversationMessage(ConversationSid string, params *CreateConversationMessageParams) (*ConversationsV1ConversationConversationMessage, error)
- func (c *ApiService) CreateConversationParticipant(ConversationSid string, params *CreateConversationParticipantParams) (*ConversationsV1ConversationConversationParticipant, error)
- func (c *ApiService) CreateConversationScopedWebhook(ConversationSid string, params *CreateConversationScopedWebhookParams) (*ConversationsV1ConversationConversationScopedWebhook, 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) (*ConversationsV1ServiceServiceConversation, error)
- func (c *ApiService) CreateServiceConversationMessage(ChatServiceSid string, ConversationSid string, ...) (*ConversationsV1ServiceServiceConversationServiceConversationMessage, error)
- func (c *ApiService) CreateServiceConversationParticipant(ChatServiceSid string, ConversationSid string, ...) (*ConversationsV1ServiceServiceConversationServiceConversationParticipant, ...)
- func (c *ApiService) CreateServiceConversationScopedWebhook(ChatServiceSid string, ConversationSid string, ...) (*ConversationsV1ServiceServiceConversationServiceConversationScopedWebhook, ...)
- func (c *ApiService) CreateServiceRole(ChatServiceSid string, params *CreateServiceRoleParams) (*ConversationsV1ServiceServiceRole, error)
- func (c *ApiService) CreateServiceUser(ChatServiceSid string, params *CreateServiceUserParams) (*ConversationsV1ServiceServiceUser, error)
- func (c *ApiService) CreateUser(params *CreateUserParams) (*ConversationsV1User, 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) FetchConfigurationWebhook() (*ConversationsV1ConfigurationConfigurationWebhook, error)
- func (c *ApiService) FetchConversation(Sid string) (*ConversationsV1Conversation, error)
- func (c *ApiService) FetchConversationMessage(ConversationSid string, Sid string) (*ConversationsV1ConversationConversationMessage, error)
- func (c *ApiService) FetchConversationMessageReceipt(ConversationSid string, MessageSid string, Sid string) (*ConversationsV1ConversationConversationMessageConversationMessageReceipt, ...)
- func (c *ApiService) FetchConversationParticipant(ConversationSid string, Sid string) (*ConversationsV1ConversationConversationParticipant, error)
- func (c *ApiService) FetchConversationScopedWebhook(ConversationSid string, Sid string) (*ConversationsV1ConversationConversationScopedWebhook, 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) (*ConversationsV1ServiceServiceBinding, error)
- func (c *ApiService) FetchServiceConfiguration(ChatServiceSid string) (*ConversationsV1ServiceServiceConfiguration, error)
- func (c *ApiService) FetchServiceConversation(ChatServiceSid string, Sid string) (*ConversationsV1ServiceServiceConversation, error)
- func (c *ApiService) FetchServiceConversationMessage(ChatServiceSid string, ConversationSid string, Sid string) (*ConversationsV1ServiceServiceConversationServiceConversationMessage, error)
- func (c *ApiService) FetchServiceConversationMessageReceipt(ChatServiceSid string, ConversationSid string, MessageSid string, Sid string) (...)
- func (c *ApiService) FetchServiceConversationParticipant(ChatServiceSid string, ConversationSid string, Sid string) (*ConversationsV1ServiceServiceConversationServiceConversationParticipant, ...)
- func (c *ApiService) FetchServiceConversationScopedWebhook(ChatServiceSid string, ConversationSid string, Sid string) (*ConversationsV1ServiceServiceConversationServiceConversationScopedWebhook, ...)
- func (c *ApiService) FetchServiceNotification(ChatServiceSid string) (*ConversationsV1ServiceServiceConfigurationServiceNotification, error)
- func (c *ApiService) FetchServiceRole(ChatServiceSid string, Sid string) (*ConversationsV1ServiceServiceRole, error)
- func (c *ApiService) FetchServiceUser(ChatServiceSid string, Sid string) (*ConversationsV1ServiceServiceUser, error)
- func (c *ApiService) FetchServiceUserConversation(ChatServiceSid string, UserSid string, ConversationSid string) (*ConversationsV1ServiceServiceUserServiceUserConversation, error)
- func (c *ApiService) FetchUser(Sid string) (*ConversationsV1User, error)
- func (c *ApiService) FetchUserConversation(UserSid string, ConversationSid string) (*ConversationsV1UserUserConversation, error)
- func (c *ApiService) ListConversation(params *ListConversationParams) ([]ConversationsV1Conversation, error)
- func (c *ApiService) ListConversationMessage(ConversationSid string, params *ListConversationMessageParams) ([]ConversationsV1ConversationConversationMessage, error)
- func (c *ApiService) ListConversationMessageReceipt(ConversationSid string, MessageSid string, ...) ([]ConversationsV1ConversationConversationMessageConversationMessageReceipt, ...)
- func (c *ApiService) ListConversationParticipant(ConversationSid string, params *ListConversationParticipantParams) ([]ConversationsV1ConversationConversationParticipant, error)
- func (c *ApiService) ListConversationScopedWebhook(ConversationSid string, params *ListConversationScopedWebhookParams) ([]ConversationsV1ConversationConversationScopedWebhook, 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) ([]ConversationsV1ServiceServiceBinding, error)
- func (c *ApiService) ListServiceConversation(ChatServiceSid string, params *ListServiceConversationParams) ([]ConversationsV1ServiceServiceConversation, error)
- func (c *ApiService) ListServiceConversationMessage(ChatServiceSid string, ConversationSid string, ...) ([]ConversationsV1ServiceServiceConversationServiceConversationMessage, error)
- func (c *ApiService) ListServiceConversationMessageReceipt(ChatServiceSid string, ConversationSid string, MessageSid string, ...) (...)
- func (c *ApiService) ListServiceConversationParticipant(ChatServiceSid string, ConversationSid string, ...) ([]ConversationsV1ServiceServiceConversationServiceConversationParticipant, ...)
- func (c *ApiService) ListServiceConversationScopedWebhook(ChatServiceSid string, ConversationSid string, ...) ([]ConversationsV1ServiceServiceConversationServiceConversationScopedWebhook, ...)
- func (c *ApiService) ListServiceParticipantConversation(ChatServiceSid string, params *ListServiceParticipantConversationParams) ([]ConversationsV1ServiceServiceParticipantConversation, error)
- func (c *ApiService) ListServiceRole(ChatServiceSid string, params *ListServiceRoleParams) ([]ConversationsV1ServiceServiceRole, error)
- func (c *ApiService) ListServiceUser(ChatServiceSid string, params *ListServiceUserParams) ([]ConversationsV1ServiceServiceUser, error)
- func (c *ApiService) ListServiceUserConversation(ChatServiceSid string, UserSid string, ...) ([]ConversationsV1ServiceServiceUserServiceUserConversation, error)
- func (c *ApiService) ListUser(params *ListUserParams) ([]ConversationsV1User, error)
- func (c *ApiService) ListUserConversation(UserSid string, params *ListUserConversationParams) ([]ConversationsV1UserUserConversation, error)
- func (c *ApiService) PageConversation(params *ListConversationParams, pageToken string, 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 string, pageNumber string) (*ListCredentialResponse, error)
- func (c *ApiService) PageParticipantConversation(params *ListParticipantConversationParams, pageToken string, pageNumber string) (*ListParticipantConversationResponse, error)
- func (c *ApiService) PageRole(params *ListRoleParams, pageToken string, pageNumber string) (*ListRoleResponse, error)
- func (c *ApiService) PageService(params *ListServiceParams, pageToken string, pageNumber string) (*ListServiceResponse, error)
- func (c *ApiService) PageServiceBinding(ChatServiceSid string, params *ListServiceBindingParams, pageToken string, ...) (*ListServiceBindingResponse, error)
- func (c *ApiService) PageServiceConversation(ChatServiceSid string, params *ListServiceConversationParams, pageToken string, ...) (*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, pageToken string, ...) (*ListServiceRoleResponse, error)
- func (c *ApiService) PageServiceUser(ChatServiceSid string, params *ListServiceUserParams, pageToken string, ...) (*ListServiceUserResponse, error)
- func (c *ApiService) PageServiceUserConversation(ChatServiceSid string, UserSid string, ...) (*ListServiceUserConversationResponse, error)
- func (c *ApiService) PageUser(params *ListUserParams, pageToken string, pageNumber string) (*ListUserResponse, error)
- func (c *ApiService) PageUserConversation(UserSid string, params *ListUserConversationParams, pageToken string, ...) (*ListUserConversationResponse, error)
- func (c *ApiService) StreamConversation(params *ListConversationParams) (chan ConversationsV1Conversation, error)
- func (c *ApiService) StreamConversationMessage(ConversationSid string, params *ListConversationMessageParams) (chan ConversationsV1ConversationConversationMessage, error)
- func (c *ApiService) StreamConversationMessageReceipt(ConversationSid string, MessageSid string, ...) (chan ConversationsV1ConversationConversationMessageConversationMessageReceipt, ...)
- func (c *ApiService) StreamConversationParticipant(ConversationSid string, params *ListConversationParticipantParams) (chan ConversationsV1ConversationConversationParticipant, error)
- func (c *ApiService) StreamConversationScopedWebhook(ConversationSid string, params *ListConversationScopedWebhookParams) (chan ConversationsV1ConversationConversationScopedWebhook, error)
- func (c *ApiService) StreamCredential(params *ListCredentialParams) (chan ConversationsV1Credential, error)
- func (c *ApiService) StreamParticipantConversation(params *ListParticipantConversationParams) (chan ConversationsV1ParticipantConversation, error)
- func (c *ApiService) StreamRole(params *ListRoleParams) (chan ConversationsV1Role, error)
- func (c *ApiService) StreamService(params *ListServiceParams) (chan ConversationsV1Service, error)
- func (c *ApiService) StreamServiceBinding(ChatServiceSid string, params *ListServiceBindingParams) (chan ConversationsV1ServiceServiceBinding, error)
- func (c *ApiService) StreamServiceConversation(ChatServiceSid string, params *ListServiceConversationParams) (chan ConversationsV1ServiceServiceConversation, error)
- func (c *ApiService) StreamServiceConversationMessage(ChatServiceSid string, ConversationSid string, ...) (chan ConversationsV1ServiceServiceConversationServiceConversationMessage, ...)
- func (c *ApiService) StreamServiceConversationMessageReceipt(ChatServiceSid string, ConversationSid string, MessageSid string, ...) (...)
- func (c *ApiService) StreamServiceConversationParticipant(ChatServiceSid string, ConversationSid string, ...) (chan ConversationsV1ServiceServiceConversationServiceConversationParticipant, ...)
- func (c *ApiService) StreamServiceConversationScopedWebhook(ChatServiceSid string, ConversationSid string, ...) (chan ConversationsV1ServiceServiceConversationServiceConversationScopedWebhook, ...)
- func (c *ApiService) StreamServiceParticipantConversation(ChatServiceSid string, params *ListServiceParticipantConversationParams) (chan ConversationsV1ServiceServiceParticipantConversation, error)
- func (c *ApiService) StreamServiceRole(ChatServiceSid string, params *ListServiceRoleParams) (chan ConversationsV1ServiceServiceRole, error)
- func (c *ApiService) StreamServiceUser(ChatServiceSid string, params *ListServiceUserParams) (chan ConversationsV1ServiceServiceUser, error)
- func (c *ApiService) StreamServiceUserConversation(ChatServiceSid string, UserSid string, ...) (chan ConversationsV1ServiceServiceUserServiceUserConversation, error)
- func (c *ApiService) StreamUser(params *ListUserParams) (chan ConversationsV1User, error)
- func (c *ApiService) StreamUserConversation(UserSid string, params *ListUserConversationParams) (chan ConversationsV1UserUserConversation, error)
- func (c *ApiService) UpdateConfiguration(params *UpdateConfigurationParams) (*ConversationsV1Configuration, error)
- func (c *ApiService) UpdateConfigurationWebhook(params *UpdateConfigurationWebhookParams) (*ConversationsV1ConfigurationConfigurationWebhook, error)
- func (c *ApiService) UpdateConversation(Sid string, params *UpdateConversationParams) (*ConversationsV1Conversation, error)
- func (c *ApiService) UpdateConversationMessage(ConversationSid string, Sid string, params *UpdateConversationMessageParams) (*ConversationsV1ConversationConversationMessage, error)
- func (c *ApiService) UpdateConversationParticipant(ConversationSid string, Sid string, ...) (*ConversationsV1ConversationConversationParticipant, error)
- func (c *ApiService) UpdateConversationScopedWebhook(ConversationSid string, Sid string, ...) (*ConversationsV1ConversationConversationScopedWebhook, 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) (*ConversationsV1ServiceServiceConfiguration, error)
- func (c *ApiService) UpdateServiceConversation(ChatServiceSid string, Sid string, params *UpdateServiceConversationParams) (*ConversationsV1ServiceServiceConversation, error)
- func (c *ApiService) UpdateServiceConversationMessage(ChatServiceSid string, ConversationSid string, Sid string, ...) (*ConversationsV1ServiceServiceConversationServiceConversationMessage, error)
- func (c *ApiService) UpdateServiceConversationParticipant(ChatServiceSid string, ConversationSid string, Sid string, ...) (*ConversationsV1ServiceServiceConversationServiceConversationParticipant, ...)
- func (c *ApiService) UpdateServiceConversationScopedWebhook(ChatServiceSid string, ConversationSid string, Sid string, ...) (*ConversationsV1ServiceServiceConversationServiceConversationScopedWebhook, ...)
- func (c *ApiService) UpdateServiceNotification(ChatServiceSid string, params *UpdateServiceNotificationParams) (*ConversationsV1ServiceServiceConfigurationServiceNotification, error)
- func (c *ApiService) UpdateServiceRole(ChatServiceSid string, Sid string, params *UpdateServiceRoleParams) (*ConversationsV1ServiceServiceRole, error)
- func (c *ApiService) UpdateServiceUser(ChatServiceSid string, Sid string, params *UpdateServiceUserParams) (*ConversationsV1ServiceServiceUser, error)
- func (c *ApiService) UpdateServiceUserConversation(ChatServiceSid string, UserSid string, ConversationSid string, ...) (*ConversationsV1ServiceServiceUserServiceUserConversation, error)
- func (c *ApiService) UpdateUser(Sid string, params *UpdateUserParams) (*ConversationsV1User, error)
- func (c *ApiService) UpdateUserConversation(UserSid string, ConversationSid string, params *UpdateUserConversationParams) (*ConversationsV1UserUserConversation, error)
- type ConversationsV1Configuration
- type ConversationsV1ConfigurationConfigurationWebhook
- type ConversationsV1Conversation
- type ConversationsV1ConversationConversationMessage
- type ConversationsV1ConversationConversationMessageConversationMessageReceipt
- type ConversationsV1ConversationConversationParticipant
- type ConversationsV1ConversationConversationScopedWebhook
- type ConversationsV1Credential
- type ConversationsV1ParticipantConversation
- type ConversationsV1Role
- type ConversationsV1Service
- type ConversationsV1ServiceServiceBinding
- type ConversationsV1ServiceServiceConfiguration
- type ConversationsV1ServiceServiceConfigurationServiceNotification
- type ConversationsV1ServiceServiceConversation
- type ConversationsV1ServiceServiceConversationServiceConversationMessage
- type ConversationsV1ServiceServiceConversationServiceConversationMessageServiceConversationMessageReceipt
- type ConversationsV1ServiceServiceConversationServiceConversationParticipant
- type ConversationsV1ServiceServiceConversationServiceConversationScopedWebhook
- type ConversationsV1ServiceServiceParticipantConversation
- type ConversationsV1ServiceServiceRole
- type ConversationsV1ServiceServiceUser
- type ConversationsV1ServiceServiceUserServiceUserConversation
- type ConversationsV1User
- type ConversationsV1UserUserConversation
- 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) SetDateCreated(DateCreated time.Time) *CreateConversationMessageParams
- func (params *CreateConversationMessageParams) SetDateUpdated(DateUpdated time.Time) *CreateConversationMessageParams
- func (params *CreateConversationMessageParams) SetMediaSid(MediaSid string) *CreateConversationMessageParams
- func (params *CreateConversationMessageParams) SetXTwilioWebhookEnabled(XTwilioWebhookEnabled string) *CreateConversationMessageParams
- type CreateConversationParams
- func (params *CreateConversationParams) SetAttributes(Attributes 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) SetDateCreated(DateCreated time.Time) *CreateServiceConversationMessageParams
- func (params *CreateServiceConversationMessageParams) SetDateUpdated(DateUpdated time.Time) *CreateServiceConversationMessageParams
- func (params *CreateServiceConversationMessageParams) SetMediaSid(MediaSid string) *CreateServiceConversationMessageParams
- func (params *CreateServiceConversationMessageParams) SetXTwilioWebhookEnabled(XTwilioWebhookEnabled string) *CreateServiceConversationMessageParams
- type CreateServiceConversationParams
- func (params *CreateServiceConversationParams) SetAttributes(Attributes 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 ListConversationMessageParams
- type ListConversationMessageReceiptParams
- type ListConversationMessageReceiptResponse
- type ListConversationMessageResponse
- type ListConversationParams
- type ListConversationParticipantParams
- type ListConversationParticipantResponse
- type ListConversationResponse
- type ListConversationResponseMeta
- 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
- type ListServiceConversationMessageReceiptParams
- type ListServiceConversationMessageReceiptResponse
- type ListServiceConversationMessageResponse
- type 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 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) SetXTwilioWebhookEnabled(XTwilioWebhookEnabled string) *UpdateConversationMessageParams
- type UpdateConversationParams
- func (params *UpdateConversationParams) SetAttributes(Attributes 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) SetXTwilioWebhookEnabled(XTwilioWebhookEnabled string) *UpdateServiceConversationMessageParams
- type UpdateServiceConversationParams
- func (params *UpdateServiceConversationParams) SetAttributes(Attributes 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) 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 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) 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) (*ConversationsV1ConversationConversationMessage, error)
Add a new message to the conversation
func (*ApiService) CreateConversationParticipant ¶ added in v0.11.0
func (c *ApiService) CreateConversationParticipant(ConversationSid string, params *CreateConversationParticipantParams) (*ConversationsV1ConversationConversationParticipant, error)
Add a new participant to the conversation
func (*ApiService) CreateConversationScopedWebhook ¶ added in v0.11.0
func (c *ApiService) CreateConversationScopedWebhook(ConversationSid string, params *CreateConversationScopedWebhookParams) (*ConversationsV1ConversationConversationScopedWebhook, 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) (*ConversationsV1ServiceServiceConversation, 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) (*ConversationsV1ServiceServiceConversationServiceConversationMessage, 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) (*ConversationsV1ServiceServiceConversationServiceConversationParticipant, 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) (*ConversationsV1ServiceServiceConversationServiceConversationScopedWebhook, 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) (*ConversationsV1ServiceServiceRole, 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) (*ConversationsV1ServiceServiceUser, 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) 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) FetchConfigurationWebhook ¶ added in v0.11.0
func (c *ApiService) FetchConfigurationWebhook() (*ConversationsV1ConfigurationConfigurationWebhook, 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) (*ConversationsV1ConversationConversationMessage, 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) (*ConversationsV1ConversationConversationMessageConversationMessageReceipt, 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) (*ConversationsV1ConversationConversationParticipant, error)
Fetch a participant of the conversation
func (*ApiService) FetchConversationScopedWebhook ¶ added in v0.11.0
func (c *ApiService) FetchConversationScopedWebhook(ConversationSid string, Sid string) (*ConversationsV1ConversationConversationScopedWebhook, 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) (*ConversationsV1ServiceServiceBinding, error)
Fetch a push notification binding from the conversation service
func (*ApiService) FetchServiceConfiguration ¶ added in v0.11.0
func (c *ApiService) FetchServiceConfiguration(ChatServiceSid string) (*ConversationsV1ServiceServiceConfiguration, error)
Fetch the configuration of a conversation service
func (*ApiService) FetchServiceConversation ¶ added in v0.11.0
func (c *ApiService) FetchServiceConversation(ChatServiceSid string, Sid string) (*ConversationsV1ServiceServiceConversation, 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) (*ConversationsV1ServiceServiceConversationServiceConversationMessage, 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) (*ConversationsV1ServiceServiceConversationServiceConversationMessageServiceConversationMessageReceipt, 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) (*ConversationsV1ServiceServiceConversationServiceConversationParticipant, 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) (*ConversationsV1ServiceServiceConversationServiceConversationScopedWebhook, error)
Fetch the configuration of a conversation-scoped webhook
func (*ApiService) FetchServiceNotification ¶ added in v0.11.0
func (c *ApiService) FetchServiceNotification(ChatServiceSid string) (*ConversationsV1ServiceServiceConfigurationServiceNotification, error)
Fetch push notification service settings
func (*ApiService) FetchServiceRole ¶ added in v0.11.0
func (c *ApiService) FetchServiceRole(ChatServiceSid string, Sid string) (*ConversationsV1ServiceServiceRole, error)
Fetch a user role from your service
func (*ApiService) FetchServiceUser ¶ added in v0.11.0
func (c *ApiService) FetchServiceUser(ChatServiceSid string, Sid string) (*ConversationsV1ServiceServiceUser, 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) (*ConversationsV1ServiceServiceUserServiceUserConversation, error)
Fetch a specific User Conversation.
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) (*ConversationsV1UserUserConversation, error)
Fetch a specific User Conversation.
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) ([]ConversationsV1ConversationConversationMessage, 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) ([]ConversationsV1ConversationConversationMessageConversationMessageReceipt, 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) ([]ConversationsV1ConversationConversationParticipant, 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) ([]ConversationsV1ConversationConversationScopedWebhook, 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) ([]ConversationsV1ServiceServiceBinding, 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) ([]ConversationsV1ServiceServiceConversation, 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) ([]ConversationsV1ServiceServiceConversationServiceConversationMessage, 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) ([]ConversationsV1ServiceServiceConversationServiceConversationMessageServiceConversationMessageReceipt, 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) ([]ConversationsV1ServiceServiceConversationServiceConversationParticipant, 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) ([]ConversationsV1ServiceServiceConversationServiceConversationScopedWebhook, 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) ([]ConversationsV1ServiceServiceParticipantConversation, 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) ([]ConversationsV1ServiceServiceRole, 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) ([]ConversationsV1ServiceServiceUser, 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) ([]ConversationsV1ServiceServiceUserServiceUserConversation, 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) ([]ConversationsV1UserUserConversation, 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) PageConversation ¶ added in v0.13.0
func (c *ApiService) PageConversation(params *ListConversationParams, pageToken string, 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 string, 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 string, 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 string, 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 string, 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 string, 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 string, 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 string, 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 string, 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 string, 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 string, 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 string, 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 string, 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 string, 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 string, 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 string, 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 string, 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 string, 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 string, 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 string, 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 string, pageNumber string) (*ListUserConversationResponse, error)
Retrieve a single page of UserConversation records from the API. Request is executed immediately.
func (*ApiService) StreamConversation ¶ added in v0.13.0
func (c *ApiService) StreamConversation(params *ListConversationParams) (chan ConversationsV1Conversation, 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 ConversationsV1ConversationConversationMessage, 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 ConversationsV1ConversationConversationMessageConversationMessageReceipt, 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 ConversationsV1ConversationConversationParticipant, 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 ConversationsV1ConversationConversationScopedWebhook, 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, 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, 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, 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, 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 ConversationsV1ServiceServiceBinding, 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 ConversationsV1ServiceServiceConversation, 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 ConversationsV1ServiceServiceConversationServiceConversationMessage, 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 ConversationsV1ServiceServiceConversationServiceConversationMessageServiceConversationMessageReceipt, 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 ConversationsV1ServiceServiceConversationServiceConversationParticipant, 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 ConversationsV1ServiceServiceConversationServiceConversationScopedWebhook, 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 ConversationsV1ServiceServiceParticipantConversation, 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 ConversationsV1ServiceServiceRole, 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 ConversationsV1ServiceServiceUser, 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 ConversationsV1ServiceServiceUserServiceUserConversation, 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, 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 ConversationsV1UserUserConversation, 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) UpdateConfigurationWebhook ¶ added in v0.11.0
func (c *ApiService) UpdateConfigurationWebhook(params *UpdateConfigurationWebhookParams) (*ConversationsV1ConfigurationConfigurationWebhook, 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) (*ConversationsV1ConversationConversationMessage, 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) (*ConversationsV1ConversationConversationParticipant, 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) (*ConversationsV1ConversationConversationScopedWebhook, 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) (*ConversationsV1ServiceServiceConfiguration, 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) (*ConversationsV1ServiceServiceConversation, 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) (*ConversationsV1ServiceServiceConversationServiceConversationMessage, 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) (*ConversationsV1ServiceServiceConversationServiceConversationParticipant, 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) (*ConversationsV1ServiceServiceConversationServiceConversationScopedWebhook, error)
Update an existing conversation-scoped webhook
func (*ApiService) UpdateServiceNotification ¶ added in v0.11.0
func (c *ApiService) UpdateServiceNotification(ChatServiceSid string, params *UpdateServiceNotificationParams) (*ConversationsV1ServiceServiceConfigurationServiceNotification, error)
Update push notification service settings
func (*ApiService) UpdateServiceRole ¶ added in v0.11.0
func (c *ApiService) UpdateServiceRole(ChatServiceSid string, Sid string, params *UpdateServiceRoleParams) (*ConversationsV1ServiceServiceRole, 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) (*ConversationsV1ServiceServiceUser, 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) (*ConversationsV1ServiceServiceUserServiceUserConversation, error)
Update a specific User Conversation.
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) (*ConversationsV1UserUserConversation, error)
Update a specific User Conversation.
type ConversationsV1Configuration ¶
type ConversationsV1Configuration struct { // The SID of the Account responsible for this configuration. AccountSid *string `json:"account_sid,omitempty"` // The SID of the default Conversation Service that every new conversation is associated with. DefaultChatServiceSid *string `json:"default_chat_service_sid,omitempty"` // Default ISO8601 duration when conversation will be switched to `closed` state. DefaultClosedTimer *string `json:"default_closed_timer,omitempty"` // Default ISO8601 duration when conversation will be switched to `inactive` state. DefaultInactiveTimer *string `json:"default_inactive_timer,omitempty"` // The SID of the default Messaging Service that every new conversation is associated with. DefaultMessagingServiceSid *string `json:"default_messaging_service_sid,omitempty"` // Absolute URLs to access the webhook and default service configurations. Links *map[string]interface{} `json:"links,omitempty"` // An absolute URL for this global configuration. Url *string `json:"url,omitempty"` }
ConversationsV1Configuration struct for ConversationsV1Configuration
type ConversationsV1ConfigurationConfigurationWebhook ¶
type ConversationsV1ConfigurationConfigurationWebhook struct { // The unique ID of the Account responsible for this conversation. AccountSid *string `json:"account_sid,omitempty"` // The list of webhook event triggers that are enabled for this Service. Filters *[]string `json:"filters,omitempty"` // The HTTP method to be used when sending a webhook request. Method *string `json:"method,omitempty"` // The absolute url the post-event webhook request should be sent to. PostWebhookUrl *string `json:"post_webhook_url,omitempty"` // The absolute url the pre-event webhook request should be sent to. PreWebhookUrl *string `json:"pre_webhook_url,omitempty"` // The routing target of the webhook. Target *string `json:"target,omitempty"` // An absolute URL for this webhook. Url *string `json:"url,omitempty"` }
ConversationsV1ConfigurationConfigurationWebhook struct for ConversationsV1ConfigurationConfigurationWebhook
type ConversationsV1Conversation ¶
type ConversationsV1Conversation struct { // The unique ID of the Account responsible for this conversation. AccountSid *string `json:"account_sid,omitempty"` // An optional string metadata field you can use to store any data you wish. Attributes *string `json:"attributes,omitempty"` Bindings *map[string]interface{} `json:"bindings,omitempty"` // The unique ID of the Conversation Service this conversation belongs to. ChatServiceSid *string `json:"chat_service_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 human-readable name of this conversation. FriendlyName *string `json:"friendly_name,omitempty"` // Absolute URLs to access the participants, messages and webhooks of this conversation. Links *map[string]interface{} `json:"links,omitempty"` // The unique ID of the Messaging Service 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"` // Current state of this conversation. State *string `json:"state,omitempty"` // Timer date values for this conversation. Timers *map[string]interface{} `json:"timers,omitempty"` // An application-defined string that uniquely identifies the resource UniqueName *string `json:"unique_name,omitempty"` // An absolute URL for this conversation. Url *string `json:"url,omitempty"` }
ConversationsV1Conversation struct for ConversationsV1Conversation
type ConversationsV1ConversationConversationMessage ¶
type ConversationsV1ConversationConversationMessage struct { // The unique ID of the Account responsible for this message. AccountSid *string `json:"account_sid,omitempty"` // A string metadata field you can use to store any data you wish. Attributes *string `json:"attributes,omitempty"` // The channel specific identifier of the message's author. Author *string `json:"author,omitempty"` // The content of the message. Body *string `json:"body,omitempty"` // The unique ID of the Conversation for this message. ConversationSid *string `json:"conversation_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 object that contains the summary of delivery statuses for the message to non-chat participants. Delivery *map[string]interface{} `json:"delivery,omitempty"` // The index of the message within the Conversation. Index *int `json:"index,omitempty"` // Absolute URL to access the receipts of this message. Links *map[string]interface{} `json:"links,omitempty"` // An array of objects that describe the Message's media if attached, otherwise, null. Media *[]map[string]interface{} `json:"media,omitempty"` // The unique ID of messages's author participant. ParticipantSid *string `json:"participant_sid,omitempty"` // A 34 character string that uniquely identifies this resource. Sid *string `json:"sid,omitempty"` // An absolute API URL for this message. Url *string `json:"url,omitempty"` }
ConversationsV1ConversationConversationMessage struct for ConversationsV1ConversationConversationMessage
type ConversationsV1ConversationConversationMessageConversationMessageReceipt ¶
type ConversationsV1ConversationConversationMessageConversationMessageReceipt struct { // The unique ID of the Account responsible for this participant. AccountSid *string `json:"account_sid,omitempty"` // A messaging channel-specific identifier for the message delivered to participant ChannelMessageSid *string `json:"channel_message_sid,omitempty"` // The unique ID of the Conversation for this message. ConversationSid *string `json:"conversation_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 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 SID of the message the delivery receipt belongs to MessageSid *string `json:"message_sid,omitempty"` // The unique ID of the participant the delivery receipt belongs to. ParticipantSid *string `json:"participant_sid,omitempty"` // A 34 character string that uniquely identifies this resource. Sid *string `json:"sid,omitempty"` // The message delivery status Status *string `json:"status,omitempty"` // An absolute URL for this delivery receipt. Url *string `json:"url,omitempty"` }
ConversationsV1ConversationConversationMessageConversationMessageReceipt struct for ConversationsV1ConversationConversationMessageConversationMessageReceipt
type ConversationsV1ConversationConversationParticipant ¶
type ConversationsV1ConversationConversationParticipant struct { // The unique ID of the Account responsible for this participant. AccountSid *string `json:"account_sid,omitempty"` // An optional string metadata field you can use to store any data you wish. Attributes *string `json:"attributes,omitempty"` // The unique ID of the Conversation for this participant. ConversationSid *string `json:"conversation_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"` // A unique string identifier for the conversation participant as Conversation User. Identity *string `json:"identity,omitempty"` // Index of last “read” message in the Conversation for the Participant. LastReadMessageIndex *int `json:"last_read_message_index,omitempty"` // Timestamp of last “read” message in the Conversation for the Participant. LastReadTimestamp *string `json:"last_read_timestamp,omitempty"` // Information about how this participant exchanges messages with the conversation. MessagingBinding *map[string]interface{} `json:"messaging_binding,omitempty"` // The SID of a conversation-level Role to assign to the participant RoleSid *string `json:"role_sid,omitempty"` // A 34 character string that uniquely identifies this resource. Sid *string `json:"sid,omitempty"` // An absolute URL for this participant. Url *string `json:"url,omitempty"` }
ConversationsV1ConversationConversationParticipant struct for ConversationsV1ConversationConversationParticipant
type ConversationsV1ConversationConversationScopedWebhook ¶
type ConversationsV1ConversationConversationScopedWebhook struct { // The unique ID of the Account responsible for this conversation. AccountSid *string `json:"account_sid,omitempty"` // The configuration of this webhook. Configuration *map[string]interface{} `json:"configuration,omitempty"` // The unique ID of the Conversation for this webhook. ConversationSid *string `json:"conversation_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"` // A 34 character string that uniquely identifies this resource. Sid *string `json:"sid,omitempty"` // The target of this webhook. Target *string `json:"target,omitempty"` // An absolute URL for this webhook. Url *string `json:"url,omitempty"` }
ConversationsV1ConversationConversationScopedWebhook struct for ConversationsV1ConversationConversationScopedWebhook
type ConversationsV1Credential ¶
type ConversationsV1Credential struct { // The unique ID of the Account responsible for this credential. AccountSid *string `json:"account_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 human-readable name of this credential. FriendlyName *string `json:"friendly_name,omitempty"` // [APN only] Whether to send the credential to sandbox APNs. Sandbox *string `json:"sandbox,omitempty"` // A 34 character string that uniquely identifies this resource. Sid *string `json:"sid,omitempty"` // The type of push-notification service the credential is for. Type *string `json:"type,omitempty"` // An absolute 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 responsible for this conversation. AccountSid *string `json:"account_sid,omitempty"` // The unique ID of the Conversation Service this conversation belongs to. ChatServiceSid *string `json:"chat_service_sid,omitempty"` // An optional string metadata field you can use to store any data you wish. ConversationAttributes *string `json:"conversation_attributes,omitempty"` // Creator of this conversation. ConversationCreatedBy *string `json:"conversation_created_by,omitempty"` // The date that this conversation was created. ConversationDateCreated *time.Time `json:"conversation_date_created,omitempty"` // The date that this conversation was last updated. ConversationDateUpdated *time.Time `json:"conversation_date_updated,omitempty"` // The human-readable name of this conversation. ConversationFriendlyName *string `json:"conversation_friendly_name,omitempty"` // The unique ID of the Conversation this Participant belongs to. ConversationSid *string `json:"conversation_sid,omitempty"` // The current state of this User Conversation ConversationState *string `json:"conversation_state,omitempty"` // Timer date values for this conversation. ConversationTimers *map[string]interface{} `json:"conversation_timers,omitempty"` // An application-defined string that uniquely identifies the Conversation resource ConversationUniqueName *string `json:"conversation_unique_name,omitempty"` // Absolute URLs to access the participant and conversation of this Participant Conversation. Links *map[string]interface{} `json:"links,omitempty"` // A unique string identifier for the conversation participant as Conversation User. ParticipantIdentity *string `json:"participant_identity,omitempty"` // Information about how this participant exchanges messages with the conversation. ParticipantMessagingBinding *map[string]interface{} `json:"participant_messaging_binding,omitempty"` // The unique ID of the Participant. ParticipantSid *string `json:"participant_sid,omitempty"` // The unique ID for the conversation participant as Conversation User. ParticipantUserSid *string `json:"participant_user_sid,omitempty"` }
ConversationsV1ParticipantConversation struct for ConversationsV1ParticipantConversation
type ConversationsV1Role ¶
type ConversationsV1Role struct { // The SID of the Account that created the resource AccountSid *string `json:"account_sid,omitempty"` // The SID of the Conversation Service that the resource is associated with ChatServiceSid *string `json:"chat_service_sid,omitempty"` // The ISO 8601 date and time in GMT when the resource was created DateCreated *time.Time `json:"date_created,omitempty"` // The ISO 8601 date and time in GMT when the resource was last updated DateUpdated *time.Time `json:"date_updated,omitempty"` // The string that you assigned to describe the resource FriendlyName *string `json:"friendly_name,omitempty"` // An array of the permissions the role has been granted Permissions *[]string `json:"permissions,omitempty"` // The unique string that identifies the resource Sid *string `json:"sid,omitempty"` // The type of role Type *string `json:"type,omitempty"` // An absolute 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 responsible for this service. AccountSid *string `json:"account_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 human-readable name of this service. FriendlyName *string `json:"friendly_name,omitempty"` // Absolute URLs to access the conversations, users, roles, bindings and configuration of this service. Links *map[string]interface{} `json:"links,omitempty"` // A 34 character string that uniquely identifies this resource. Sid *string `json:"sid,omitempty"` // An absolute URL for this service. Url *string `json:"url,omitempty"` }
ConversationsV1Service struct for ConversationsV1Service
type ConversationsV1ServiceServiceBinding ¶
type ConversationsV1ServiceServiceBinding struct { // The unique ID of the Account responsible for this binding. AccountSid *string `json:"account_sid,omitempty"` // The push technology to use for the binding. BindingType *string `json:"binding_type,omitempty"` // The SID of the Conversation Service that the resource is associated with. ChatServiceSid *string `json:"chat_service_sid,omitempty"` // The SID of the Credential for the binding. 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. Endpoint *string `json:"endpoint,omitempty"` // The identity of Conversation User associated with this binding. Identity *string `json:"identity,omitempty"` // The Conversation message types the binding is subscribed to. MessageTypes *[]string `json:"message_types,omitempty"` // A 34 character string that uniquely identifies this resource. Sid *string `json:"sid,omitempty"` // An absolute URL for this binding. Url *string `json:"url,omitempty"` }
ConversationsV1ServiceServiceBinding struct for ConversationsV1ServiceServiceBinding
type ConversationsV1ServiceServiceConfiguration ¶
type ConversationsV1ServiceServiceConfiguration struct { // The unique string that identifies the resource ChatServiceSid *string `json:"chat_service_sid,omitempty"` // The service role assigned to users when they are added to the service DefaultChatServiceRoleSid *string `json:"default_chat_service_role_sid,omitempty"` // The role assigned to a conversation creator user when they join a new conversation DefaultConversationCreatorRoleSid *string `json:"default_conversation_creator_role_sid,omitempty"` // The role assigned to users when they are added to a conversation DefaultConversationRoleSid *string `json:"default_conversation_role_sid,omitempty"` // Absolute URL to access the push notifications configuration of this service. Links *map[string]interface{} `json:"links,omitempty"` // Whether the Reachability Indicator feature is enabled for this Conversations Service ReachabilityEnabled *bool `json:"reachability_enabled,omitempty"` // An absolute URL for this service configuration. Url *string `json:"url,omitempty"` }
ConversationsV1ServiceServiceConfiguration struct for ConversationsV1ServiceServiceConfiguration
type ConversationsV1ServiceServiceConfigurationServiceNotification ¶
type ConversationsV1ServiceServiceConfigurationServiceNotification struct { // The unique ID of the Account responsible for this configuration. AccountSid *string `json:"account_sid,omitempty"` // The Push Notification configuration for being added to a Conversation. AddedToConversation *map[string]interface{} `json:"added_to_conversation,omitempty"` // The SID of the Conversation Service that the Configuration applies to. ChatServiceSid *string `json:"chat_service_sid,omitempty"` // Weather the notification logging is enabled. LogEnabled *bool `json:"log_enabled,omitempty"` // The Push Notification configuration for New Messages. NewMessage *map[string]interface{} `json:"new_message,omitempty"` // The Push Notification configuration for being removed from a Conversation. RemovedFromConversation *map[string]interface{} `json:"removed_from_conversation,omitempty"` // An absolute URL for this configuration. Url *string `json:"url,omitempty"` }
ConversationsV1ServiceServiceConfigurationServiceNotification struct for ConversationsV1ServiceServiceConfigurationServiceNotification
type ConversationsV1ServiceServiceConversation ¶
type ConversationsV1ServiceServiceConversation struct { // The unique ID of the Account responsible for this conversation. AccountSid *string `json:"account_sid,omitempty"` // An optional string metadata field you can use to store any data you wish. Attributes *string `json:"attributes,omitempty"` Bindings *map[string]interface{} `json:"bindings,omitempty"` // The unique ID of the Conversation Service this conversation belongs to. ChatServiceSid *string `json:"chat_service_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 human-readable name of this conversation. FriendlyName *string `json:"friendly_name,omitempty"` // Absolute URLs to access the participants, messages and webhooks of this conversation. Links *map[string]interface{} `json:"links,omitempty"` // The unique ID of the Messaging Service 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"` // Current state of this conversation. State *string `json:"state,omitempty"` // Timer date values for this conversation. Timers *map[string]interface{} `json:"timers,omitempty"` // An application-defined string that uniquely identifies the resource UniqueName *string `json:"unique_name,omitempty"` // An absolute URL for this conversation. Url *string `json:"url,omitempty"` }
ConversationsV1ServiceServiceConversation struct for ConversationsV1ServiceServiceConversation
type ConversationsV1ServiceServiceConversationServiceConversationMessage ¶
type ConversationsV1ServiceServiceConversationServiceConversationMessage struct { // The unique ID of the Account responsible for this message. AccountSid *string `json:"account_sid,omitempty"` // A string metadata field you can use to store any data you wish. Attributes *string `json:"attributes,omitempty"` // The channel specific identifier of the message's author. Author *string `json:"author,omitempty"` // The content of the message. Body *string `json:"body,omitempty"` // The SID of the Conversation Service that the resource is associated with. ChatServiceSid *string `json:"chat_service_sid,omitempty"` // The unique ID of the Conversation for this message. ConversationSid *string `json:"conversation_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 object that contains the summary of delivery statuses for the message to non-chat participants. Delivery *map[string]interface{} `json:"delivery,omitempty"` // The index of the message within the Conversation. Index *int `json:"index,omitempty"` // Absolute URL to access the receipts of this message. Links *map[string]interface{} `json:"links,omitempty"` // An array of objects that describe the Message's media if attached, otherwise, null. Media *[]map[string]interface{} `json:"media,omitempty"` // The unique ID of messages's author participant. ParticipantSid *string `json:"participant_sid,omitempty"` // A 34 character string that uniquely identifies this resource. Sid *string `json:"sid,omitempty"` // An absolute URL for this message. Url *string `json:"url,omitempty"` }
ConversationsV1ServiceServiceConversationServiceConversationMessage struct for ConversationsV1ServiceServiceConversationServiceConversationMessage
type ConversationsV1ServiceServiceConversationServiceConversationMessageServiceConversationMessageReceipt ¶
type ConversationsV1ServiceServiceConversationServiceConversationMessageServiceConversationMessageReceipt struct { // The unique ID of the Account responsible for this participant. AccountSid *string `json:"account_sid,omitempty"` // A messaging channel-specific identifier for the message delivered to participant ChannelMessageSid *string `json:"channel_message_sid,omitempty"` // The SID of the Conversation Service that the resource is associated with. ChatServiceSid *string `json:"chat_service_sid,omitempty"` // The unique ID of the Conversation for this message. ConversationSid *string `json:"conversation_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 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 SID of the message the delivery receipt belongs to MessageSid *string `json:"message_sid,omitempty"` // The unique ID of the participant the delivery receipt belongs to. ParticipantSid *string `json:"participant_sid,omitempty"` // A 34 character string that uniquely identifies this resource. Sid *string `json:"sid,omitempty"` // The message delivery status Status *string `json:"status,omitempty"` // An absolute URL for this delivery receipt. Url *string `json:"url,omitempty"` }
ConversationsV1ServiceServiceConversationServiceConversationMessageServiceConversationMessageReceipt struct for ConversationsV1ServiceServiceConversationServiceConversationMessageServiceConversationMessageReceipt
type ConversationsV1ServiceServiceConversationServiceConversationParticipant ¶
type ConversationsV1ServiceServiceConversationServiceConversationParticipant struct { // The unique ID of the Account responsible for this participant. AccountSid *string `json:"account_sid,omitempty"` // An optional string metadata field you can use to store any data you wish. Attributes *string `json:"attributes,omitempty"` // The SID of the Conversation Service that the resource is associated with. ChatServiceSid *string `json:"chat_service_sid,omitempty"` // The unique ID of the Conversation for this participant. ConversationSid *string `json:"conversation_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"` // A unique string identifier for the conversation participant as Conversation User. Identity *string `json:"identity,omitempty"` // Index of last “read” message in the Conversation for the Participant. LastReadMessageIndex *int `json:"last_read_message_index,omitempty"` // Timestamp of last “read” message in the Conversation for the Participant. LastReadTimestamp *string `json:"last_read_timestamp,omitempty"` // Information about how this participant exchanges messages with the conversation. MessagingBinding *map[string]interface{} `json:"messaging_binding,omitempty"` // The SID of a conversation-level Role to assign to the participant RoleSid *string `json:"role_sid,omitempty"` // A 34 character string that uniquely identifies this resource. Sid *string `json:"sid,omitempty"` // An absolute URL for this participant. Url *string `json:"url,omitempty"` }
ConversationsV1ServiceServiceConversationServiceConversationParticipant struct for ConversationsV1ServiceServiceConversationServiceConversationParticipant
type ConversationsV1ServiceServiceConversationServiceConversationScopedWebhook ¶
type ConversationsV1ServiceServiceConversationServiceConversationScopedWebhook struct { // The unique ID of the Account responsible for this conversation. AccountSid *string `json:"account_sid,omitempty"` // The SID of the Conversation Service that the resource is associated with. ChatServiceSid *string `json:"chat_service_sid,omitempty"` // The configuration of this webhook. Configuration *map[string]interface{} `json:"configuration,omitempty"` // The unique ID of the Conversation for this webhook. ConversationSid *string `json:"conversation_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"` // A 34 character string that uniquely identifies this resource. Sid *string `json:"sid,omitempty"` // The target of this webhook. Target *string `json:"target,omitempty"` // An absolute URL for this webhook. Url *string `json:"url,omitempty"` }
ConversationsV1ServiceServiceConversationServiceConversationScopedWebhook struct for ConversationsV1ServiceServiceConversationServiceConversationScopedWebhook
type ConversationsV1ServiceServiceParticipantConversation ¶ added in v0.13.0
type ConversationsV1ServiceServiceParticipantConversation struct { // The unique ID of the Account responsible for this conversation. AccountSid *string `json:"account_sid,omitempty"` // The unique ID of the Conversation Service this conversation belongs to. ChatServiceSid *string `json:"chat_service_sid,omitempty"` // An optional string metadata field you can use to store any data you wish. ConversationAttributes *string `json:"conversation_attributes,omitempty"` // Creator of this conversation. ConversationCreatedBy *string `json:"conversation_created_by,omitempty"` // The date that this conversation was created. ConversationDateCreated *time.Time `json:"conversation_date_created,omitempty"` // The date that this conversation was last updated. ConversationDateUpdated *time.Time `json:"conversation_date_updated,omitempty"` // The human-readable name of this conversation. ConversationFriendlyName *string `json:"conversation_friendly_name,omitempty"` // The unique ID of the Conversation this Participant belongs to. ConversationSid *string `json:"conversation_sid,omitempty"` // The current state of this User Conversation ConversationState *string `json:"conversation_state,omitempty"` // Timer date values for this conversation. ConversationTimers *map[string]interface{} `json:"conversation_timers,omitempty"` // An application-defined string that uniquely identifies the Conversation resource. ConversationUniqueName *string `json:"conversation_unique_name,omitempty"` // Absolute URLs to access the participant and conversation of this Participant Conversation. Links *map[string]interface{} `json:"links,omitempty"` // A unique string identifier for the conversation participant as Conversation User. ParticipantIdentity *string `json:"participant_identity,omitempty"` // Information about how this participant exchanges messages with the conversation. ParticipantMessagingBinding *map[string]interface{} `json:"participant_messaging_binding,omitempty"` // The unique ID of the Participant. ParticipantSid *string `json:"participant_sid,omitempty"` // The unique ID for the conversation participant as Conversation User. ParticipantUserSid *string `json:"participant_user_sid,omitempty"` }
ConversationsV1ServiceServiceParticipantConversation struct for ConversationsV1ServiceServiceParticipantConversation
type ConversationsV1ServiceServiceRole ¶
type ConversationsV1ServiceServiceRole struct { // The SID of the Account that created the resource AccountSid *string `json:"account_sid,omitempty"` // The SID of the Conversation Service that the resource is associated with ChatServiceSid *string `json:"chat_service_sid,omitempty"` // The ISO 8601 date and time in GMT when the resource was created DateCreated *time.Time `json:"date_created,omitempty"` // The ISO 8601 date and time in GMT when the resource was last updated DateUpdated *time.Time `json:"date_updated,omitempty"` // The string that you assigned to describe the resource FriendlyName *string `json:"friendly_name,omitempty"` // An array of the permissions the role has been granted Permissions *[]string `json:"permissions,omitempty"` // The unique string that identifies the resource Sid *string `json:"sid,omitempty"` // The type of role Type *string `json:"type,omitempty"` // An absolute URL for this user role. Url *string `json:"url,omitempty"` }
ConversationsV1ServiceServiceRole struct for ConversationsV1ServiceServiceRole
type ConversationsV1ServiceServiceUser ¶
type ConversationsV1ServiceServiceUser struct { // The SID of the Account that created the resource AccountSid *string `json:"account_sid,omitempty"` // The JSON Object string that stores application-specific data Attributes *string `json:"attributes,omitempty"` // The SID of the Conversation Service that the resource is associated with ChatServiceSid *string `json:"chat_service_sid,omitempty"` // The ISO 8601 date and time in GMT when the resource was created DateCreated *time.Time `json:"date_created,omitempty"` // The ISO 8601 date and time in GMT when the resource was last updated DateUpdated *time.Time `json:"date_updated,omitempty"` // The string that you assigned to describe the resource FriendlyName *string `json:"friendly_name,omitempty"` // The string that identifies the resource's User Identity *string `json:"identity,omitempty"` // Whether the User has a potentially valid Push Notification registration for this Conversations Service IsNotifiable *bool `json:"is_notifiable,omitempty"` // Whether the User is actively connected to this Conversations Service and online IsOnline *bool `json:"is_online,omitempty"` Links *map[string]interface{} `json:"links,omitempty"` // The SID of a service-level Role assigned to the user RoleSid *string `json:"role_sid,omitempty"` // The unique string that identifies the resource Sid *string `json:"sid,omitempty"` // An absolute URL for this user. Url *string `json:"url,omitempty"` }
ConversationsV1ServiceServiceUser struct for ConversationsV1ServiceServiceUser
type ConversationsV1ServiceServiceUserServiceUserConversation ¶ added in v0.12.0
type ConversationsV1ServiceServiceUserServiceUserConversation struct { // The unique ID of the Account responsible for this conversation. AccountSid *string `json:"account_sid,omitempty"` // An optional string metadata field you can use to store any data you wish. Attributes *string `json:"attributes,omitempty"` // The unique ID of the Conversation Service this conversation belongs to. ChatServiceSid *string `json:"chat_service_sid,omitempty"` // The unique ID of the Conversation for this User Conversation. ConversationSid *string `json:"conversation_sid,omitempty"` // The current state of this User Conversation ConversationState *string `json:"conversation_state,omitempty"` // Creator of this conversation. CreatedBy *string `json:"created_by,omitempty"` // The date that this conversation was created. DateCreated *time.Time `json:"date_created,omitempty"` // The date that this conversation was last updated. DateUpdated *time.Time `json:"date_updated,omitempty"` // The human-readable name of this conversation. FriendlyName *string `json:"friendly_name,omitempty"` // The index of the last read Message . LastReadMessageIndex *int `json:"last_read_message_index,omitempty"` // Absolute URLs to access the participant and conversation of this user conversation. Links *map[string]interface{} `json:"links,omitempty"` // The Notification Level of this User Conversation. NotificationLevel *string `json:"notification_level,omitempty"` // Participant Sid. ParticipantSid *string `json:"participant_sid,omitempty"` // Timer date values for this conversation. Timers *map[string]interface{} `json:"timers,omitempty"` // An application-defined string that uniquely identifies the Conversation resource. UniqueName *string `json:"unique_name,omitempty"` // The number of unread Messages in the Conversation. UnreadMessagesCount *int `json:"unread_messages_count,omitempty"` Url *string `json:"url,omitempty"` // The unique ID for the User. UserSid *string `json:"user_sid,omitempty"` }
ConversationsV1ServiceServiceUserServiceUserConversation struct for ConversationsV1ServiceServiceUserServiceUserConversation
type ConversationsV1User ¶
type ConversationsV1User struct { // The SID of the Account that created the resource AccountSid *string `json:"account_sid,omitempty"` // The JSON Object string that stores application-specific data Attributes *string `json:"attributes,omitempty"` // The SID of the Conversation Service that the resource is associated with ChatServiceSid *string `json:"chat_service_sid,omitempty"` // The ISO 8601 date and time in GMT when the resource was created DateCreated *time.Time `json:"date_created,omitempty"` // The ISO 8601 date and time in GMT when the resource was last updated DateUpdated *time.Time `json:"date_updated,omitempty"` // The string that you assigned to describe the resource FriendlyName *string `json:"friendly_name,omitempty"` // The string that identifies the resource's User Identity *string `json:"identity,omitempty"` // Whether the User has a potentially valid Push Notification registration for this Conversations Service IsNotifiable *bool `json:"is_notifiable,omitempty"` // Whether the User is actively connected to this Conversations Service and online IsOnline *bool `json:"is_online,omitempty"` Links *map[string]interface{} `json:"links,omitempty"` // The SID of a service-level Role assigned to the user RoleSid *string `json:"role_sid,omitempty"` // The unique string that identifies the resource Sid *string `json:"sid,omitempty"` // An absolute URL for this user. Url *string `json:"url,omitempty"` }
ConversationsV1User struct for ConversationsV1User
type ConversationsV1UserUserConversation ¶ added in v0.12.0
type ConversationsV1UserUserConversation struct { // The unique ID of the Account responsible for this conversation. AccountSid *string `json:"account_sid,omitempty"` // An optional string metadata field you can use to store any data you wish. Attributes *string `json:"attributes,omitempty"` // The unique ID of the Conversation Service this conversation belongs to. ChatServiceSid *string `json:"chat_service_sid,omitempty"` // The unique ID of the Conversation for this User Conversation. ConversationSid *string `json:"conversation_sid,omitempty"` // The current state of this User Conversation ConversationState *string `json:"conversation_state,omitempty"` // Creator of this conversation. CreatedBy *string `json:"created_by,omitempty"` // The date that this conversation was created. DateCreated *time.Time `json:"date_created,omitempty"` // The date that this conversation was last updated. DateUpdated *time.Time `json:"date_updated,omitempty"` // The human-readable name of this conversation. FriendlyName *string `json:"friendly_name,omitempty"` // The index of the last read Message . LastReadMessageIndex *int `json:"last_read_message_index,omitempty"` // Absolute URLs to access the participant and conversation of this user conversation. Links *map[string]interface{} `json:"links,omitempty"` // The Notification Level of this User Conversation. NotificationLevel *string `json:"notification_level,omitempty"` // Participant Sid. ParticipantSid *string `json:"participant_sid,omitempty"` // Timer date values for this conversation. Timers *map[string]interface{} `json:"timers,omitempty"` // An application-defined string that uniquely identifies the Conversation resource. UniqueName *string `json:"unique_name,omitempty"` // The number of unread Messages in the Conversation. UnreadMessagesCount *int `json:"unread_messages_count,omitempty"` Url *string `json:"url,omitempty"` // The unique ID for the User. UserSid *string `json:"user_sid,omitempty"` }
ConversationsV1UserUserConversation struct for ConversationsV1UserUserConversation
type CreateConversationMessageParams ¶
type CreateConversationMessageParams struct { // The X-Twilio-Webhook-Enabled HTTP request header XTwilioWebhookEnabled *string `json:"X-Twilio-Webhook-Enabled,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 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"` // The Media SID to be attached to the new Message. MediaSid *string `json:"MediaSid,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) 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) 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"` // 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 resource was created. DateCreated *time.Time `json:"DateCreated,omitempty"` // The date that this resource was last updated. DateUpdated *time.Time `json:"DateUpdated,omitempty"` // The human-readable name of this conversation, limited to 256 characters. Optional. FriendlyName *string `json:"FriendlyName,omitempty"` // The unique ID of the [Messaging Service](https://www.twilio.com/docs/sms/services/api) this conversation belongs to. MessagingServiceSid *string `json:"MessagingServiceSid,omitempty"` // Current state of this conversation. Can be either `active`, `inactive` or `closed` and defaults to `active` State *string `json:"State,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"` // ISO8601 duration when conversation will be switched to `inactive` state. Minimum value for this timer is 1 minute. TimersInactive *string `json:"Timers.Inactive,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"` }
Optional parameters for the method 'CreateConversation'
func (*CreateConversationParams) SetAttributes ¶
func (params *CreateConversationParams) SetAttributes(Attributes 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"` // 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 resource was created. DateCreated *time.Time `json:"DateCreated,omitempty"` // The date that 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 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 that is used in Group MMS. Communication mask for the Conversation participant with Identity. MessagingBindingProjectedAddress *string `json:"MessagingBinding.ProjectedAddress,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 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 { // The list of events, firing webhook event for this Conversation. ConfigurationFilters *[]string `json:"Configuration.Filters,omitempty"` // The studio flow SID, where the webhook should be sent to. ConfigurationFlowSid *string `json:"Configuration.FlowSid,omitempty"` // The HTTP method to be used when sending a webhook request. ConfigurationMethod *string `json:"Configuration.Method,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"` // The list of keywords, firing webhook event for this Conversation. ConfigurationTriggers *[]string `json:"Configuration.Triggers,omitempty"` // The absolute url the webhook request should be sent to. ConfigurationUrl *string `json:"Configuration.Url,omitempty"` // The target of this webhook: `webhook`, `studio`, `trigger` Target *string `json:"Target,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 { // [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"` // [APN only] The URL encoded representation of the certificate. For example, `-----BEGIN CERTIFICATE----- MIIFnTCCBIWgAwIBAgIIAjy9H849+E8wDQYJKoZIhvcNAQEF.....A== -----END CERTIFICATE-----`. Certificate *string `json:"Certificate,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 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"` // [FCM only] The **Server key** of your project from the Firebase console, found under Settings / Cloud messaging. Secret *string `json:"Secret,omitempty"` // The type of push-notification service the credential is for. Can be: `fcm`, `gcm`, or `apn`. Type *string `json:"Type,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"` // 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"` // The type of role. Can be: `conversation` for [Conversation](https://www.twilio.com/docs/conversations/api/conversation-resource) roles or `service` for [Conversation Service](https://www.twilio.com/docs/conversations/api/service-resource) roles. Type *string `json:"Type,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"` // 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 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"` // The Media SID to be attached to the new Message. MediaSid *string `json:"MediaSid,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) 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) 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"` // 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 resource was created. DateCreated *time.Time `json:"DateCreated,omitempty"` // The date that this resource was last updated. DateUpdated *time.Time `json:"DateUpdated,omitempty"` // The human-readable name of this conversation, limited to 256 characters. Optional. FriendlyName *string `json:"FriendlyName,omitempty"` // The unique ID of the [Messaging Service](https://www.twilio.com/docs/sms/services/api) this conversation belongs to. MessagingServiceSid *string `json:"MessagingServiceSid,omitempty"` // Current state of this conversation. Can be either `active`, `inactive` or `closed` and defaults to `active` State *string `json:"State,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"` // ISO8601 duration when conversation will be switched to `inactive` state. Minimum value for this timer is 1 minute. TimersInactive *string `json:"Timers.Inactive,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"` }
Optional parameters for the method 'CreateServiceConversation'
func (*CreateServiceConversationParams) SetAttributes ¶
func (params *CreateServiceConversationParams) SetAttributes(Attributes 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"` // 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 resource was created. DateCreated *time.Time `json:"DateCreated,omitempty"` // The date that 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 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 that is used in Group MMS. Communication mask for the Conversation participant with Identity. MessagingBindingProjectedAddress *string `json:"MessagingBinding.ProjectedAddress,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 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 { // The list of events, firing webhook event for this Conversation. ConfigurationFilters *[]string `json:"Configuration.Filters,omitempty"` // The studio flow SID, where the webhook should be sent to. ConfigurationFlowSid *string `json:"Configuration.FlowSid,omitempty"` // The HTTP method to be used when sending a webhook request. ConfigurationMethod *string `json:"Configuration.Method,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"` // The list of keywords, firing webhook event for this Conversation. ConfigurationTriggers *[]string `json:"Configuration.Triggers,omitempty"` // The absolute url the webhook request should be sent to. ConfigurationUrl *string `json:"Configuration.Url,omitempty"` // The target of this webhook: `webhook`, `studio`, `trigger` Target *string `json:"Target,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"` // 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"` // The type of role. Can be: `conversation` for [Conversation](https://www.twilio.com/docs/conversations/api/conversation-resource) roles or `service` for [Conversation Service](https://www.twilio.com/docs/conversations/api/service-resource) roles. Type *string `json:"Type,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 JSON Object string that stores application-specific data. If attributes have not been set, `{}` is returned. Attributes *string `json:"Attributes,omitempty"` // The string that you assigned to describe the resource. FriendlyName *string `json:"FriendlyName,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 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 JSON Object string that stores application-specific data. If attributes have not been set, `{}` is returned. Attributes *string `json:"Attributes,omitempty"` // The string that you assigned to describe the resource. FriendlyName *string `json:"FriendlyName,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 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 ListConversationMessageParams ¶
type ListConversationMessageParams 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 'ListConversationMessage'
func (*ListConversationMessageParams) SetLimit ¶ added in v0.13.0
func (params *ListConversationMessageParams) SetLimit(Limit int) *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 []ConversationsV1ConversationConversationMessageConversationMessageReceipt `json:"delivery_receipts,omitempty"` Meta ListConversationResponseMeta `json:"meta,omitempty"` }
ListConversationMessageReceiptResponse struct for ListConversationMessageReceiptResponse
type ListConversationMessageResponse ¶
type ListConversationMessageResponse struct { Messages []ConversationsV1ConversationConversationMessage `json:"messages,omitempty"` Meta ListConversationResponseMeta `json:"meta,omitempty"` }
ListConversationMessageResponse struct for ListConversationMessageResponse
type ListConversationParams ¶
type ListConversationParams 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 'ListConversation'
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
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 { Meta ListConversationResponseMeta `json:"meta,omitempty"` Participants []ConversationsV1ConversationConversationParticipant `json:"participants,omitempty"` }
ListConversationParticipantResponse struct for ListConversationParticipantResponse
type ListConversationResponse ¶
type ListConversationResponse struct { Conversations []ConversationsV1Conversation `json:"conversations,omitempty"` Meta ListConversationResponseMeta `json:"meta,omitempty"` }
ListConversationResponse struct for ListConversationResponse
type ListConversationResponseMeta ¶
type ListConversationResponseMeta 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"` }
ListConversationResponseMeta struct for ListConversationResponseMeta
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 { Meta ListConversationResponseMeta `json:"meta,omitempty"` Webhooks []ConversationsV1ConversationConversationScopedWebhook `json:"webhooks,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 ListConversationResponseMeta `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 ListConversationResponseMeta `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 { Meta ListConversationResponseMeta `json:"meta,omitempty"` Roles []ConversationsV1Role `json:"roles,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 []ConversationsV1ServiceServiceBinding `json:"bindings,omitempty"` Meta ListConversationResponseMeta `json:"meta,omitempty"` }
ListServiceBindingResponse struct for ListServiceBindingResponse
type ListServiceConversationMessageParams ¶
type ListServiceConversationMessageParams 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 'ListServiceConversationMessage'
func (*ListServiceConversationMessageParams) SetLimit ¶ added in v0.13.0
func (params *ListServiceConversationMessageParams) SetLimit(Limit int) *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 []ConversationsV1ServiceServiceConversationServiceConversationMessageServiceConversationMessageReceipt `json:"delivery_receipts,omitempty"` Meta ListConversationResponseMeta `json:"meta,omitempty"` }
ListServiceConversationMessageReceiptResponse struct for ListServiceConversationMessageReceiptResponse
type ListServiceConversationMessageResponse ¶
type ListServiceConversationMessageResponse struct { Messages []ConversationsV1ServiceServiceConversationServiceConversationMessage `json:"messages,omitempty"` Meta ListConversationResponseMeta `json:"meta,omitempty"` }
ListServiceConversationMessageResponse struct for ListServiceConversationMessageResponse
type ListServiceConversationParams ¶
type ListServiceConversationParams 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 'ListServiceConversation'
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
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 { Meta ListConversationResponseMeta `json:"meta,omitempty"` Participants []ConversationsV1ServiceServiceConversationServiceConversationParticipant `json:"participants,omitempty"` }
ListServiceConversationParticipantResponse struct for ListServiceConversationParticipantResponse
type ListServiceConversationResponse ¶
type ListServiceConversationResponse struct { Conversations []ConversationsV1ServiceServiceConversation `json:"conversations,omitempty"` Meta ListConversationResponseMeta `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 { Meta ListConversationResponseMeta `json:"meta,omitempty"` Webhooks []ConversationsV1ServiceServiceConversationServiceConversationScopedWebhook `json:"webhooks,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 []ConversationsV1ServiceServiceParticipantConversation `json:"conversations,omitempty"` Meta ListConversationResponseMeta `json:"meta,omitempty"` }
ListServiceParticipantConversationResponse struct for ListServiceParticipantConversationResponse
type ListServiceResponse ¶
type ListServiceResponse struct { Meta ListConversationResponseMeta `json:"meta,omitempty"` Services []ConversationsV1Service `json:"services,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 { Meta ListConversationResponseMeta `json:"meta,omitempty"` Roles []ConversationsV1ServiceServiceRole `json:"roles,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 []ConversationsV1ServiceServiceUserServiceUserConversation `json:"conversations,omitempty"` Meta ListConversationResponseMeta `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 { Meta ListConversationResponseMeta `json:"meta,omitempty"` Users []ConversationsV1ServiceServiceUser `json:"users,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 []ConversationsV1UserUserConversation `json:"conversations,omitempty"` Meta ListConversationResponseMeta `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 { Meta ListConversationResponseMeta `json:"meta,omitempty"` Users []ConversationsV1User `json:"users,omitempty"` }
ListUserResponse struct for ListUserResponse
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"` // Default ISO8601 duration when conversation will be switched to `closed` state. Minimum value for this timer is 10 minutes. DefaultClosedTimer *string `json:"DefaultClosedTimer,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"` // The SID of the default [Messaging Service](https://www.twilio.com/docs/sms/services/api) to use when creating a conversation. DefaultMessagingServiceSid *string `json:"DefaultMessagingServiceSid,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 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 HTTP method to be used when sending a webhook request. Method *string `json:"Method,omitempty"` // The absolute url the post-event webhook request should be sent to. PostWebhookUrl *string `json:"PostWebhookUrl,omitempty"` // The absolute url the pre-event webhook request should be sent to. PreWebhookUrl *string `json:"PreWebhookUrl,omitempty"` // The routing target of the webhook. 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"` // 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 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"` }
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) 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"` // 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 resource was created. DateCreated *time.Time `json:"DateCreated,omitempty"` // The date that this resource was last updated. DateUpdated *time.Time `json:"DateUpdated,omitempty"` // The human-readable name of this conversation, limited to 256 characters. Optional. FriendlyName *string `json:"FriendlyName,omitempty"` // The unique ID of the [Messaging Service](https://www.twilio.com/docs/sms/services/api) this conversation belongs to. MessagingServiceSid *string `json:"MessagingServiceSid,omitempty"` // Current state of this conversation. Can be either `active`, `inactive` or `closed` and defaults to `active` State *string `json:"State,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"` // ISO8601 duration when conversation will be switched to `inactive` state. Minimum value for this timer is 1 minute. TimersInactive *string `json:"Timers.Inactive,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"` }
Optional parameters for the method 'UpdateConversation'
func (*UpdateConversationParams) SetAttributes ¶
func (params *UpdateConversationParams) SetAttributes(Attributes 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"` // 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 resource was created. DateCreated *time.Time `json:"DateCreated,omitempty"` // The date that 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 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"` // The address of the Twilio phone number that is used in Group MMS. 'null' value will remove it. MessagingBindingProjectedAddress *string `json:"MessagingBinding.ProjectedAddress,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 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 '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 list of events, firing webhook event for this Conversation. ConfigurationFilters *[]string `json:"Configuration.Filters,omitempty"` // The studio flow SID, where the webhook should be sent to. ConfigurationFlowSid *string `json:"Configuration.FlowSid,omitempty"` // The HTTP method to be used when sending a webhook request. ConfigurationMethod *string `json:"Configuration.Method,omitempty"` // The list of keywords, firing webhook event for this Conversation. ConfigurationTriggers *[]string `json:"Configuration.Triggers,omitempty"` // The absolute url the webhook request should be sent to. ConfigurationUrl *string `json:"Configuration.Url,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 { // [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"` // [APN only] The URL encoded representation of the certificate. For example, `-----BEGIN CERTIFICATE----- MIIFnTCCBIWgAwIBAgIIAjy9H849+E8wDQYJKoZIhvcNAQEF.....A== -----END CERTIFICATE-----`. Certificate *string `json:"Certificate,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 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"` // [FCM only] The **Server key** of your project from the Firebase console, found under Settings / Cloud messaging. Secret *string `json:"Secret,omitempty"` // The type of push-notification service the credential is for. Can be: `fcm`, `gcm`, or `apn`. Type *string `json:"Type,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 service-level role assigned to users when they are added to the service. See the [Conversation Role](https://www.twilio.com/docs/conversations/api/role-resource) for more info about roles. DefaultChatServiceRoleSid *string `json:"DefaultChatServiceRoleSid,omitempty"` // The conversation-level role assigned to a conversation creator when they join a new conversation. See the [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 the [Conversation Role](https://www.twilio.com/docs/conversations/api/role-resource) for more info about roles. DefaultConversationRoleSid *string `json:"DefaultConversationRoleSid,omitempty"` // Whether the [Reachability Indicator](https://www.twilio.com/docs/chat/reachability-indicator) 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"` // 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 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"` }
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) 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"` // 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 resource was created. DateCreated *time.Time `json:"DateCreated,omitempty"` // The date that this resource was last updated. DateUpdated *time.Time `json:"DateUpdated,omitempty"` // The human-readable name of this conversation, limited to 256 characters. Optional. FriendlyName *string `json:"FriendlyName,omitempty"` // The unique ID of the [Messaging Service](https://www.twilio.com/docs/sms/services/api) this conversation belongs to. MessagingServiceSid *string `json:"MessagingServiceSid,omitempty"` // Current state of this conversation. Can be either `active`, `inactive` or `closed` and defaults to `active` State *string `json:"State,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"` // ISO8601 duration when conversation will be switched to `inactive` state. Minimum value for this timer is 1 minute. TimersInactive *string `json:"Timers.Inactive,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"` }
Optional parameters for the method 'UpdateServiceConversation'
func (*UpdateServiceConversationParams) SetAttributes ¶
func (params *UpdateServiceConversationParams) SetAttributes(Attributes 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"` // 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 resource was created. DateCreated *time.Time `json:"DateCreated,omitempty"` // The date that 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 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"` // The address of the Twilio phone number that is used in Group MMS. 'null' value will remove it. MessagingBindingProjectedAddress *string `json:"MessagingBinding.ProjectedAddress,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 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 '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 list of events, firing webhook event for this Conversation. ConfigurationFilters *[]string `json:"Configuration.Filters,omitempty"` // The studio flow SID, where the webhook should be sent to. ConfigurationFlowSid *string `json:"Configuration.FlowSid,omitempty"` // The HTTP method to be used when sending a webhook request. ConfigurationMethod *string `json:"Configuration.Method,omitempty"` // The list of keywords, firing webhook event for this Conversation. ConfigurationTriggers *[]string `json:"Configuration.Triggers,omitempty"` // The absolute url the webhook request should be sent to. ConfigurationUrl *string `json:"Configuration.Url,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 { // Whether to send a notification when a participant is added to a conversation. The default is `false`. AddedToConversationEnabled *bool `json:"AddedToConversation.Enabled,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"` // 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"` // Weather the notification logging is enabled. LogEnabled *bool `json:"LogEnabled,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 new message is added to a conversation. The default is `false`. NewMessageEnabled *bool `json:"NewMessage.Enabled,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"` // 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"` // 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 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"` // 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"` }
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) 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 { // The index of the last Message in the Conversation that the Participant has read. LastReadMessageIndex *int `json:"LastReadMessageIndex,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 Notification Level of this User Conversation. One of `default` or `muted`. NotificationLevel *string `json:"NotificationLevel,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 JSON Object string that stores application-specific data. If attributes have not been set, `{}` is returned. Attributes *string `json:"Attributes,omitempty"` // The string that you assigned to describe the resource. FriendlyName *string `json:"FriendlyName,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 UpdateUserConversationParams ¶ added in v0.12.0
type UpdateUserConversationParams struct { // The index of the last Message in the Conversation that the Participant has read. LastReadMessageIndex *int `json:"LastReadMessageIndex,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 Notification Level of this User Conversation. One of `default` or `muted`. NotificationLevel *string `json:"NotificationLevel,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 JSON Object string that stores application-specific data. If attributes have not been set, `{}` is returned. Attributes *string `json:"Attributes,omitempty"` // The string that you assigned to describe the resource. FriendlyName *string `json:"FriendlyName,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_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_configuration_webhook.go
- model_conversations_v1_conversation.go
- model_conversations_v1_conversation_conversation_message.go
- model_conversations_v1_conversation_conversation_message_conversation_message_receipt.go
- model_conversations_v1_conversation_conversation_participant.go
- model_conversations_v1_conversation_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_service_binding.go
- model_conversations_v1_service_service_configuration.go
- model_conversations_v1_service_service_configuration_service_notification.go
- model_conversations_v1_service_service_conversation.go
- model_conversations_v1_service_service_conversation_service_conversation_message.go
- model_conversations_v1_service_service_conversation_service_conversation_message_service_conversation_message_receipt.go
- model_conversations_v1_service_service_conversation_service_conversation_participant.go
- model_conversations_v1_service_service_conversation_service_conversation_scoped_webhook.go
- model_conversations_v1_service_service_participant_conversation.go
- model_conversations_v1_service_service_role.go
- model_conversations_v1_service_service_user.go
- model_conversations_v1_service_service_user_service_user_conversation.go
- model_conversations_v1_user.go
- model_conversations_v1_user_user_conversation.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_response_meta.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_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