github.com/twilio/twilio-go@v1.20.1/rest/conversations/v1/model_conversations_v1_service_webhook_configuration.go (about)

     1  /*
     2   * This code was generated by
     3   * ___ _ _ _ _ _    _ ____    ____ ____ _    ____ ____ _  _ ____ ____ ____ ___ __   __
     4   *  |  | | | | |    | |  | __ |  | |__| | __ | __ |___ |\ | |___ |__/ |__|  | |  | |__/
     5   *  |  |_|_| | |___ | |__|    |__| |  | |    |__] |___ | \| |___ |  \ |  |  | |__| |  \
     6   *
     7   * Twilio - Conversations
     8   * This is the public Twilio REST API.
     9   *
    10   * NOTE: This class is auto generated by OpenAPI Generator.
    11   * https://openapi-generator.tech
    12   * Do not edit the class manually.
    13   */
    14  
    15  package openapi
    16  
    17  // ConversationsV1ServiceWebhookConfiguration struct for ConversationsV1ServiceWebhookConfiguration
    18  type ConversationsV1ServiceWebhookConfiguration struct {
    19  	// The unique ID of the [Account](https://www.twilio.com/docs/iam/api/account) responsible for this service.
    20  	AccountSid *string `json:"account_sid,omitempty"`
    21  	// The unique ID of the [Conversation Service](https://www.twilio.com/docs/conversations/api/service-resource) this conversation belongs to.
    22  	ChatServiceSid *string `json:"chat_service_sid,omitempty"`
    23  	// The absolute url the pre-event webhook request should be sent to.
    24  	PreWebhookUrl *string `json:"pre_webhook_url,omitempty"`
    25  	// The absolute url the post-event webhook request should be sent to.
    26  	PostWebhookUrl *string `json:"post_webhook_url,omitempty"`
    27  	// The list of events that your configured webhook targets will receive. Events not configured here will not fire. Possible values are `onParticipantAdd`, `onParticipantAdded`, `onDeliveryUpdated`, `onConversationUpdated`, `onConversationRemove`, `onParticipantRemove`, `onConversationUpdate`, `onMessageAdd`, `onMessageRemoved`, `onParticipantUpdated`, `onConversationAdded`, `onMessageAdded`, `onConversationAdd`, `onConversationRemoved`, `onParticipantUpdate`, `onMessageRemove`, `onMessageUpdated`, `onParticipantRemoved`, `onMessageUpdate` or `onConversationStateUpdated`.
    28  	Filters *[]string `json:"filters,omitempty"`
    29  	Method  *string   `json:"method,omitempty"`
    30  	// An absolute API resource URL for this webhook.
    31  	Url *string `json:"url,omitempty"`
    32  }