github.com/twilio/twilio-go@v1.20.1/rest/conversations/v1/model_conversations_v1_configuration_webhook.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  // ConversationsV1ConfigurationWebhook struct for ConversationsV1ConfigurationWebhook
    18  type ConversationsV1ConfigurationWebhook struct {
    19  	// The unique ID of the [Account](https://www.twilio.com/docs/iam/api/account) responsible for this conversation.
    20  	AccountSid *string `json:"account_sid,omitempty"`
    21  	Method     *string `json:"method,omitempty"`
    22  	// The list of webhook event triggers that are enabled for this Service: `onMessageAdded`, `onMessageUpdated`, `onMessageRemoved`, `onConversationUpdated`, `onConversationRemoved`, `onParticipantAdded`, `onParticipantUpdated`, `onParticipantRemoved`
    23  	Filters *[]string `json:"filters,omitempty"`
    24  	// The absolute url the pre-event webhook request should be sent to.
    25  	PreWebhookUrl *string `json:"pre_webhook_url,omitempty"`
    26  	// The absolute url the post-event webhook request should be sent to.
    27  	PostWebhookUrl *string `json:"post_webhook_url,omitempty"`
    28  	Target         *string `json:"target,omitempty"`
    29  	// An absolute API resource API resource URL for this webhook.
    30  	Url *string `json:"url,omitempty"`
    31  }