github.com/twilio/twilio-go@v1.20.1/rest/content/v1/model_whatsapp_card.go (about)

     1  /*
     2   * This code was generated by
     3   * ___ _ _ _ _ _    _ ____    ____ ____ _    ____ ____ _  _ ____ ____ ____ ___ __   __
     4   *  |  | | | | |    | |  | __ |  | |__| | __ | __ |___ |\ | |___ |__/ |__|  | |  | |__/
     5   *  |  |_|_| | |___ | |__|    |__| |  | |    |__] |___ | \| |___ |  \ |  |  | |__| |  \
     6   *
     7   * Twilio - Content
     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  // WhatsappCard whatsapp/card is a structured template which can be used to send a series of related information. It must include a body and at least one additional field.
    18  type WhatsappCard struct {
    19  	Body       string       `json:"body"`
    20  	Footer     string       `json:"footer,omitempty"`
    21  	Media      []string     `json:"media,omitempty"`
    22  	HeaderText string       `json:"header_text,omitempty"`
    23  	Actions    []CardAction `json:"actions,omitempty"`
    24  }