github.com/twilio/twilio-go@v1.20.1/rest/messaging/v1/model_messaging_v1_channel_sender.go (about) 1 /* 2 * This code was generated by 3 * ___ _ _ _ _ _ _ ____ ____ ____ _ ____ ____ _ _ ____ ____ ____ ___ __ __ 4 * | | | | | | | | | __ | | |__| | __ | __ |___ |\ | |___ |__/ |__| | | | |__/ 5 * | |_|_| | |___ | |__| |__| | | | |__] |___ | \| |___ | \ | | | |__| | \ 6 * 7 * Twilio - Messaging 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 import ( 18 "time" 19 ) 20 21 // MessagingV1ChannelSender struct for MessagingV1ChannelSender 22 type MessagingV1ChannelSender struct { 23 // The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the ChannelSender resource. 24 AccountSid *string `json:"account_sid,omitempty"` 25 // The SID of the [Service](https://www.twilio.com/docs/messaging/services) the resource is associated with. 26 MessagingServiceSid *string `json:"messaging_service_sid,omitempty"` 27 // The unique string that we created to identify the ChannelSender resource. 28 Sid *string `json:"sid,omitempty"` 29 // The unique string that identifies the sender e.g whatsapp:+123456XXXX. 30 Sender *string `json:"sender,omitempty"` 31 // A string value that identifies the sender type e.g WhatsApp, Messenger. 32 SenderType *string `json:"sender_type,omitempty"` 33 // The 2-character [ISO Country Code](https://www.iso.org/iso-3166-country-codes.html) of the number. 34 CountryCode *string `json:"country_code,omitempty"` 35 // The date and time in GMT when the resource was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. 36 DateCreated *time.Time `json:"date_created,omitempty"` 37 // The date and time in GMT when the resource was last updated specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. 38 DateUpdated *time.Time `json:"date_updated,omitempty"` 39 // The absolute URL of the ChannelSender resource. 40 Url *string `json:"url,omitempty"` 41 }