Class: Twilio::REST::Messaging::V2::ChannelsSenderList::MessagingV2ChannelsSenderProfile
- Inherits:
-
Object
- Object
- Twilio::REST::Messaging::V2::ChannelsSenderList::MessagingV2ChannelsSenderProfile
- Defined in:
- lib/twilio-ruby/rest/messaging/v2/channels_sender.rb,
lib/twilio-ruby/rest/messaging/v2/channels_sender.rb
Instance Attribute Summary collapse
- #about ⇒ Object
- #accent_color ⇒ Object
- #address ⇒ Object
- #banner_url ⇒ Object
- #description ⇒ Object
- #emails ⇒ Object
- #logo_url ⇒ Object
- #name ⇒ Object
- #phone_numbers ⇒ Object
- #privacy_url ⇒ Object
- #terms_of_service_url ⇒ Object
- #use_case ⇒ Object
- #vertical ⇒ Object
- #websites ⇒ Object
Instance Method Summary collapse
-
#initialize(payload) ⇒ MessagingV2ChannelsSenderProfile
constructor
A new instance of MessagingV2ChannelsSenderProfile.
- #to_json(options = {}) ⇒ Object
Constructor Details
#initialize(payload) ⇒ MessagingV2ChannelsSenderProfile
Returns a new instance of MessagingV2ChannelsSenderProfile.
38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 |
# File 'lib/twilio-ruby/rest/messaging/v2/channels_sender.rb', line 38 def initialize(payload) @name = payload["name"] @about = payload["about"] @address = payload["address"] @description = payload["description"] @logo_url = payload["logo_url"] @banner_url = payload["banner_url"] @privacy_url = payload["privacy_url"] @terms_of_service_url = payload["terms_of_service_url"] @accent_color = payload["accent_color"] @use_case = payload["use_case"] @vertical = payload["vertical"] @websites = payload["websites"] @emails = payload["emails"] @phone_numbers = payload["phone_numbers"] end |
Instance Attribute Details
#about ⇒ Object
Parameters:
-
:
(name)
—
[String] The name of the sender. Required for WhatsApp senders and must follow Meta's display name guidelines. On update, a WhatsApp sender's name is not changed synchronously: it is submitted to Meta for review, and
profile.namecontinues to report the current active name until Meta approves the new one and the sender is automatically re-registered. Track progress withpending_display_name_statuson Fetch Sender, and seedisplay_name_statuson the update response for the immediate outcome. Re-submitting the same name is how you retry applying a name Meta has already approved, for example after correcting the sender's two-step verification PIN. Meta permits a limited number of display name changes per 30-day period. -
:
(about)
—
[String] The profile about text for the sender.
-
:
(address)
—
[String] The address of the sender.
-
:
(description)
—
[String] The description of the sender.
-
:
(logo_url)
—
[String] The logo URL of the sender.
-
:
(banner_url)
—
[String] The banner URL of the sender.
-
:
(privacy_url)
—
[String] The privacy URL of the sender. Must be a publicly accessible HTTP or HTTPS URI associated with the sender.
-
:
(terms_of_service_url)
—
[String] The terms of service URL of the sender.
-
:
(accent_color)
—
[String] The color theme of the sender. Must be in hex format and have at least a 4:5:1 contrast ratio against white.
-
:
(use_case)
—
[String] The messaging use case type for the RCS sender. Allowed values are
PROMOTIONAL,TRANSACTIONAL,OTP,MULTI_USE. Defaults toMULTI_USEif not provided. Cannot be modified after launch. -
:
(vertical)
—
[String] The vertical of the sender. Allowed values are: -
Alcohol-Automotive-Beauty, Spa and Salon-Clothing and Apparel-Education-Entertainment-Event Planning and Service-Finance and Banking-Food and Grocery-Hotel and Lodging-Matrimony Service-Medical and Health-Non-profit-Online Gambling-OTC Drugs-Other-Physical Gambling-Professional Services-Public Service-Restaurant-Shopping and Retail-Travel and Transportation -
:
(websites)
—
[Hash] The websites of the sender.
-
:
(emails)
—
[Hash] The emails of the sender.
-
:
(phone_numbers)
—
[Hash] The phone numbers of the sender.
37 38 39 |
# File 'lib/twilio-ruby/rest/messaging/v2/channels_sender.rb', line 37 def about @about end |
#accent_color ⇒ Object
Parameters:
-
:
(name)
—
[String] The name of the sender. Required for WhatsApp senders and must follow Meta's display name guidelines. On update, a WhatsApp sender's name is not changed synchronously: it is submitted to Meta for review, and
profile.namecontinues to report the current active name until Meta approves the new one and the sender is automatically re-registered. Track progress withpending_display_name_statuson Fetch Sender, and seedisplay_name_statuson the update response for the immediate outcome. Re-submitting the same name is how you retry applying a name Meta has already approved, for example after correcting the sender's two-step verification PIN. Meta permits a limited number of display name changes per 30-day period. -
:
(about)
—
[String] The profile about text for the sender.
-
:
(address)
—
[String] The address of the sender.
-
:
(description)
—
[String] The description of the sender.
-
:
(logo_url)
—
[String] The logo URL of the sender.
-
:
(banner_url)
—
[String] The banner URL of the sender.
-
:
(privacy_url)
—
[String] The privacy URL of the sender. Must be a publicly accessible HTTP or HTTPS URI associated with the sender.
-
:
(terms_of_service_url)
—
[String] The terms of service URL of the sender.
-
:
(accent_color)
—
[String] The color theme of the sender. Must be in hex format and have at least a 4:5:1 contrast ratio against white.
-
:
(use_case)
—
[String] The messaging use case type for the RCS sender. Allowed values are
PROMOTIONAL,TRANSACTIONAL,OTP,MULTI_USE. Defaults toMULTI_USEif not provided. Cannot be modified after launch. -
:
(vertical)
—
[String] The vertical of the sender. Allowed values are: -
Alcohol-Automotive-Beauty, Spa and Salon-Clothing and Apparel-Education-Entertainment-Event Planning and Service-Finance and Banking-Food and Grocery-Hotel and Lodging-Matrimony Service-Medical and Health-Non-profit-Online Gambling-OTC Drugs-Other-Physical Gambling-Professional Services-Public Service-Restaurant-Shopping and Retail-Travel and Transportation -
:
(websites)
—
[Hash] The websites of the sender.
-
:
(emails)
—
[Hash] The emails of the sender.
-
:
(phone_numbers)
—
[Hash] The phone numbers of the sender.
37 38 39 |
# File 'lib/twilio-ruby/rest/messaging/v2/channels_sender.rb', line 37 def accent_color @accent_color end |
#address ⇒ Object
Parameters:
-
:
(name)
—
[String] The name of the sender. Required for WhatsApp senders and must follow Meta's display name guidelines. On update, a WhatsApp sender's name is not changed synchronously: it is submitted to Meta for review, and
profile.namecontinues to report the current active name until Meta approves the new one and the sender is automatically re-registered. Track progress withpending_display_name_statuson Fetch Sender, and seedisplay_name_statuson the update response for the immediate outcome. Re-submitting the same name is how you retry applying a name Meta has already approved, for example after correcting the sender's two-step verification PIN. Meta permits a limited number of display name changes per 30-day period. -
:
(about)
—
[String] The profile about text for the sender.
-
:
(address)
—
[String] The address of the sender.
-
:
(description)
—
[String] The description of the sender.
-
:
(logo_url)
—
[String] The logo URL of the sender.
-
:
(banner_url)
—
[String] The banner URL of the sender.
-
:
(privacy_url)
—
[String] The privacy URL of the sender. Must be a publicly accessible HTTP or HTTPS URI associated with the sender.
-
:
(terms_of_service_url)
—
[String] The terms of service URL of the sender.
-
:
(accent_color)
—
[String] The color theme of the sender. Must be in hex format and have at least a 4:5:1 contrast ratio against white.
-
:
(use_case)
—
[String] The messaging use case type for the RCS sender. Allowed values are
PROMOTIONAL,TRANSACTIONAL,OTP,MULTI_USE. Defaults toMULTI_USEif not provided. Cannot be modified after launch. -
:
(vertical)
—
[String] The vertical of the sender. Allowed values are: -
Alcohol-Automotive-Beauty, Spa and Salon-Clothing and Apparel-Education-Entertainment-Event Planning and Service-Finance and Banking-Food and Grocery-Hotel and Lodging-Matrimony Service-Medical and Health-Non-profit-Online Gambling-OTC Drugs-Other-Physical Gambling-Professional Services-Public Service-Restaurant-Shopping and Retail-Travel and Transportation -
:
(websites)
—
[Hash] The websites of the sender.
-
:
(emails)
—
[Hash] The emails of the sender.
-
:
(phone_numbers)
—
[Hash] The phone numbers of the sender.
37 38 39 |
# File 'lib/twilio-ruby/rest/messaging/v2/channels_sender.rb', line 37 def address @address end |
#banner_url ⇒ Object
Parameters:
-
:
(name)
—
[String] The name of the sender. Required for WhatsApp senders and must follow Meta's display name guidelines. On update, a WhatsApp sender's name is not changed synchronously: it is submitted to Meta for review, and
profile.namecontinues to report the current active name until Meta approves the new one and the sender is automatically re-registered. Track progress withpending_display_name_statuson Fetch Sender, and seedisplay_name_statuson the update response for the immediate outcome. Re-submitting the same name is how you retry applying a name Meta has already approved, for example after correcting the sender's two-step verification PIN. Meta permits a limited number of display name changes per 30-day period. -
:
(about)
—
[String] The profile about text for the sender.
-
:
(address)
—
[String] The address of the sender.
-
:
(description)
—
[String] The description of the sender.
-
:
(logo_url)
—
[String] The logo URL of the sender.
-
:
(banner_url)
—
[String] The banner URL of the sender.
-
:
(privacy_url)
—
[String] The privacy URL of the sender. Must be a publicly accessible HTTP or HTTPS URI associated with the sender.
-
:
(terms_of_service_url)
—
[String] The terms of service URL of the sender.
-
:
(accent_color)
—
[String] The color theme of the sender. Must be in hex format and have at least a 4:5:1 contrast ratio against white.
-
:
(use_case)
—
[String] The messaging use case type for the RCS sender. Allowed values are
PROMOTIONAL,TRANSACTIONAL,OTP,MULTI_USE. Defaults toMULTI_USEif not provided. Cannot be modified after launch. -
:
(vertical)
—
[String] The vertical of the sender. Allowed values are: -
Alcohol-Automotive-Beauty, Spa and Salon-Clothing and Apparel-Education-Entertainment-Event Planning and Service-Finance and Banking-Food and Grocery-Hotel and Lodging-Matrimony Service-Medical and Health-Non-profit-Online Gambling-OTC Drugs-Other-Physical Gambling-Professional Services-Public Service-Restaurant-Shopping and Retail-Travel and Transportation -
:
(websites)
—
[Hash] The websites of the sender.
-
:
(emails)
—
[Hash] The emails of the sender.
-
:
(phone_numbers)
—
[Hash] The phone numbers of the sender.
37 38 39 |
# File 'lib/twilio-ruby/rest/messaging/v2/channels_sender.rb', line 37 def banner_url @banner_url end |
#description ⇒ Object
Parameters:
-
:
(name)
—
[String] The name of the sender. Required for WhatsApp senders and must follow Meta's display name guidelines. On update, a WhatsApp sender's name is not changed synchronously: it is submitted to Meta for review, and
profile.namecontinues to report the current active name until Meta approves the new one and the sender is automatically re-registered. Track progress withpending_display_name_statuson Fetch Sender, and seedisplay_name_statuson the update response for the immediate outcome. Re-submitting the same name is how you retry applying a name Meta has already approved, for example after correcting the sender's two-step verification PIN. Meta permits a limited number of display name changes per 30-day period. -
:
(about)
—
[String] The profile about text for the sender.
-
:
(address)
—
[String] The address of the sender.
-
:
(description)
—
[String] The description of the sender.
-
:
(logo_url)
—
[String] The logo URL of the sender.
-
:
(banner_url)
—
[String] The banner URL of the sender.
-
:
(privacy_url)
—
[String] The privacy URL of the sender. Must be a publicly accessible HTTP or HTTPS URI associated with the sender.
-
:
(terms_of_service_url)
—
[String] The terms of service URL of the sender.
-
:
(accent_color)
—
[String] The color theme of the sender. Must be in hex format and have at least a 4:5:1 contrast ratio against white.
-
:
(use_case)
—
[String] The messaging use case type for the RCS sender. Allowed values are
PROMOTIONAL,TRANSACTIONAL,OTP,MULTI_USE. Defaults toMULTI_USEif not provided. Cannot be modified after launch. -
:
(vertical)
—
[String] The vertical of the sender. Allowed values are: -
Alcohol-Automotive-Beauty, Spa and Salon-Clothing and Apparel-Education-Entertainment-Event Planning and Service-Finance and Banking-Food and Grocery-Hotel and Lodging-Matrimony Service-Medical and Health-Non-profit-Online Gambling-OTC Drugs-Other-Physical Gambling-Professional Services-Public Service-Restaurant-Shopping and Retail-Travel and Transportation -
:
(websites)
—
[Hash] The websites of the sender.
-
:
(emails)
—
[Hash] The emails of the sender.
-
:
(phone_numbers)
—
[Hash] The phone numbers of the sender.
37 38 39 |
# File 'lib/twilio-ruby/rest/messaging/v2/channels_sender.rb', line 37 def description @description end |
#emails ⇒ Object
Parameters:
-
:
(name)
—
[String] The name of the sender. Required for WhatsApp senders and must follow Meta's display name guidelines. On update, a WhatsApp sender's name is not changed synchronously: it is submitted to Meta for review, and
profile.namecontinues to report the current active name until Meta approves the new one and the sender is automatically re-registered. Track progress withpending_display_name_statuson Fetch Sender, and seedisplay_name_statuson the update response for the immediate outcome. Re-submitting the same name is how you retry applying a name Meta has already approved, for example after correcting the sender's two-step verification PIN. Meta permits a limited number of display name changes per 30-day period. -
:
(about)
—
[String] The profile about text for the sender.
-
:
(address)
—
[String] The address of the sender.
-
:
(description)
—
[String] The description of the sender.
-
:
(logo_url)
—
[String] The logo URL of the sender.
-
:
(banner_url)
—
[String] The banner URL of the sender.
-
:
(privacy_url)
—
[String] The privacy URL of the sender. Must be a publicly accessible HTTP or HTTPS URI associated with the sender.
-
:
(terms_of_service_url)
—
[String] The terms of service URL of the sender.
-
:
(accent_color)
—
[String] The color theme of the sender. Must be in hex format and have at least a 4:5:1 contrast ratio against white.
-
:
(use_case)
—
[String] The messaging use case type for the RCS sender. Allowed values are
PROMOTIONAL,TRANSACTIONAL,OTP,MULTI_USE. Defaults toMULTI_USEif not provided. Cannot be modified after launch. -
:
(vertical)
—
[String] The vertical of the sender. Allowed values are: -
Alcohol-Automotive-Beauty, Spa and Salon-Clothing and Apparel-Education-Entertainment-Event Planning and Service-Finance and Banking-Food and Grocery-Hotel and Lodging-Matrimony Service-Medical and Health-Non-profit-Online Gambling-OTC Drugs-Other-Physical Gambling-Professional Services-Public Service-Restaurant-Shopping and Retail-Travel and Transportation -
:
(websites)
—
[Hash] The websites of the sender.
-
:
(emails)
—
[Hash] The emails of the sender.
-
:
(phone_numbers)
—
[Hash] The phone numbers of the sender.
37 38 39 |
# File 'lib/twilio-ruby/rest/messaging/v2/channels_sender.rb', line 37 def emails @emails end |
#logo_url ⇒ Object
Parameters:
-
:
(name)
—
[String] The name of the sender. Required for WhatsApp senders and must follow Meta's display name guidelines. On update, a WhatsApp sender's name is not changed synchronously: it is submitted to Meta for review, and
profile.namecontinues to report the current active name until Meta approves the new one and the sender is automatically re-registered. Track progress withpending_display_name_statuson Fetch Sender, and seedisplay_name_statuson the update response for the immediate outcome. Re-submitting the same name is how you retry applying a name Meta has already approved, for example after correcting the sender's two-step verification PIN. Meta permits a limited number of display name changes per 30-day period. -
:
(about)
—
[String] The profile about text for the sender.
-
:
(address)
—
[String] The address of the sender.
-
:
(description)
—
[String] The description of the sender.
-
:
(logo_url)
—
[String] The logo URL of the sender.
-
:
(banner_url)
—
[String] The banner URL of the sender.
-
:
(privacy_url)
—
[String] The privacy URL of the sender. Must be a publicly accessible HTTP or HTTPS URI associated with the sender.
-
:
(terms_of_service_url)
—
[String] The terms of service URL of the sender.
-
:
(accent_color)
—
[String] The color theme of the sender. Must be in hex format and have at least a 4:5:1 contrast ratio against white.
-
:
(use_case)
—
[String] The messaging use case type for the RCS sender. Allowed values are
PROMOTIONAL,TRANSACTIONAL,OTP,MULTI_USE. Defaults toMULTI_USEif not provided. Cannot be modified after launch. -
:
(vertical)
—
[String] The vertical of the sender. Allowed values are: -
Alcohol-Automotive-Beauty, Spa and Salon-Clothing and Apparel-Education-Entertainment-Event Planning and Service-Finance and Banking-Food and Grocery-Hotel and Lodging-Matrimony Service-Medical and Health-Non-profit-Online Gambling-OTC Drugs-Other-Physical Gambling-Professional Services-Public Service-Restaurant-Shopping and Retail-Travel and Transportation -
:
(websites)
—
[Hash] The websites of the sender.
-
:
(emails)
—
[Hash] The emails of the sender.
-
:
(phone_numbers)
—
[Hash] The phone numbers of the sender.
37 38 39 |
# File 'lib/twilio-ruby/rest/messaging/v2/channels_sender.rb', line 37 def logo_url @logo_url end |
#name ⇒ Object
Parameters:
-
:
(name)
—
[String] The name of the sender. Required for WhatsApp senders and must follow Meta's display name guidelines. On update, a WhatsApp sender's name is not changed synchronously: it is submitted to Meta for review, and
profile.namecontinues to report the current active name until Meta approves the new one and the sender is automatically re-registered. Track progress withpending_display_name_statuson Fetch Sender, and seedisplay_name_statuson the update response for the immediate outcome. Re-submitting the same name is how you retry applying a name Meta has already approved, for example after correcting the sender's two-step verification PIN. Meta permits a limited number of display name changes per 30-day period. -
:
(about)
—
[String] The profile about text for the sender.
-
:
(address)
—
[String] The address of the sender.
-
:
(description)
—
[String] The description of the sender.
-
:
(logo_url)
—
[String] The logo URL of the sender.
-
:
(banner_url)
—
[String] The banner URL of the sender.
-
:
(privacy_url)
—
[String] The privacy URL of the sender. Must be a publicly accessible HTTP or HTTPS URI associated with the sender.
-
:
(terms_of_service_url)
—
[String] The terms of service URL of the sender.
-
:
(accent_color)
—
[String] The color theme of the sender. Must be in hex format and have at least a 4:5:1 contrast ratio against white.
-
:
(use_case)
—
[String] The messaging use case type for the RCS sender. Allowed values are
PROMOTIONAL,TRANSACTIONAL,OTP,MULTI_USE. Defaults toMULTI_USEif not provided. Cannot be modified after launch. -
:
(vertical)
—
[String] The vertical of the sender. Allowed values are: -
Alcohol-Automotive-Beauty, Spa and Salon-Clothing and Apparel-Education-Entertainment-Event Planning and Service-Finance and Banking-Food and Grocery-Hotel and Lodging-Matrimony Service-Medical and Health-Non-profit-Online Gambling-OTC Drugs-Other-Physical Gambling-Professional Services-Public Service-Restaurant-Shopping and Retail-Travel and Transportation -
:
(websites)
—
[Hash] The websites of the sender.
-
:
(emails)
—
[Hash] The emails of the sender.
-
:
(phone_numbers)
—
[Hash] The phone numbers of the sender.
37 38 39 |
# File 'lib/twilio-ruby/rest/messaging/v2/channels_sender.rb', line 37 def name @name end |
#phone_numbers ⇒ Object
Parameters:
-
:
(name)
—
[String] The name of the sender. Required for WhatsApp senders and must follow Meta's display name guidelines. On update, a WhatsApp sender's name is not changed synchronously: it is submitted to Meta for review, and
profile.namecontinues to report the current active name until Meta approves the new one and the sender is automatically re-registered. Track progress withpending_display_name_statuson Fetch Sender, and seedisplay_name_statuson the update response for the immediate outcome. Re-submitting the same name is how you retry applying a name Meta has already approved, for example after correcting the sender's two-step verification PIN. Meta permits a limited number of display name changes per 30-day period. -
:
(about)
—
[String] The profile about text for the sender.
-
:
(address)
—
[String] The address of the sender.
-
:
(description)
—
[String] The description of the sender.
-
:
(logo_url)
—
[String] The logo URL of the sender.
-
:
(banner_url)
—
[String] The banner URL of the sender.
-
:
(privacy_url)
—
[String] The privacy URL of the sender. Must be a publicly accessible HTTP or HTTPS URI associated with the sender.
-
:
(terms_of_service_url)
—
[String] The terms of service URL of the sender.
-
:
(accent_color)
—
[String] The color theme of the sender. Must be in hex format and have at least a 4:5:1 contrast ratio against white.
-
:
(use_case)
—
[String] The messaging use case type for the RCS sender. Allowed values are
PROMOTIONAL,TRANSACTIONAL,OTP,MULTI_USE. Defaults toMULTI_USEif not provided. Cannot be modified after launch. -
:
(vertical)
—
[String] The vertical of the sender. Allowed values are: -
Alcohol-Automotive-Beauty, Spa and Salon-Clothing and Apparel-Education-Entertainment-Event Planning and Service-Finance and Banking-Food and Grocery-Hotel and Lodging-Matrimony Service-Medical and Health-Non-profit-Online Gambling-OTC Drugs-Other-Physical Gambling-Professional Services-Public Service-Restaurant-Shopping and Retail-Travel and Transportation -
:
(websites)
—
[Hash] The websites of the sender.
-
:
(emails)
—
[Hash] The emails of the sender.
-
:
(phone_numbers)
—
[Hash] The phone numbers of the sender.
37 38 39 |
# File 'lib/twilio-ruby/rest/messaging/v2/channels_sender.rb', line 37 def phone_numbers @phone_numbers end |
#privacy_url ⇒ Object
Parameters:
-
:
(name)
—
[String] The name of the sender. Required for WhatsApp senders and must follow Meta's display name guidelines. On update, a WhatsApp sender's name is not changed synchronously: it is submitted to Meta for review, and
profile.namecontinues to report the current active name until Meta approves the new one and the sender is automatically re-registered. Track progress withpending_display_name_statuson Fetch Sender, and seedisplay_name_statuson the update response for the immediate outcome. Re-submitting the same name is how you retry applying a name Meta has already approved, for example after correcting the sender's two-step verification PIN. Meta permits a limited number of display name changes per 30-day period. -
:
(about)
—
[String] The profile about text for the sender.
-
:
(address)
—
[String] The address of the sender.
-
:
(description)
—
[String] The description of the sender.
-
:
(logo_url)
—
[String] The logo URL of the sender.
-
:
(banner_url)
—
[String] The banner URL of the sender.
-
:
(privacy_url)
—
[String] The privacy URL of the sender. Must be a publicly accessible HTTP or HTTPS URI associated with the sender.
-
:
(terms_of_service_url)
—
[String] The terms of service URL of the sender.
-
:
(accent_color)
—
[String] The color theme of the sender. Must be in hex format and have at least a 4:5:1 contrast ratio against white.
-
:
(use_case)
—
[String] The messaging use case type for the RCS sender. Allowed values are
PROMOTIONAL,TRANSACTIONAL,OTP,MULTI_USE. Defaults toMULTI_USEif not provided. Cannot be modified after launch. -
:
(vertical)
—
[String] The vertical of the sender. Allowed values are: -
Alcohol-Automotive-Beauty, Spa and Salon-Clothing and Apparel-Education-Entertainment-Event Planning and Service-Finance and Banking-Food and Grocery-Hotel and Lodging-Matrimony Service-Medical and Health-Non-profit-Online Gambling-OTC Drugs-Other-Physical Gambling-Professional Services-Public Service-Restaurant-Shopping and Retail-Travel and Transportation -
:
(websites)
—
[Hash] The websites of the sender.
-
:
(emails)
—
[Hash] The emails of the sender.
-
:
(phone_numbers)
—
[Hash] The phone numbers of the sender.
37 38 39 |
# File 'lib/twilio-ruby/rest/messaging/v2/channels_sender.rb', line 37 def privacy_url @privacy_url end |
#terms_of_service_url ⇒ Object
Parameters:
-
:
(name)
—
[String] The name of the sender. Required for WhatsApp senders and must follow Meta's display name guidelines. On update, a WhatsApp sender's name is not changed synchronously: it is submitted to Meta for review, and
profile.namecontinues to report the current active name until Meta approves the new one and the sender is automatically re-registered. Track progress withpending_display_name_statuson Fetch Sender, and seedisplay_name_statuson the update response for the immediate outcome. Re-submitting the same name is how you retry applying a name Meta has already approved, for example after correcting the sender's two-step verification PIN. Meta permits a limited number of display name changes per 30-day period. -
:
(about)
—
[String] The profile about text for the sender.
-
:
(address)
—
[String] The address of the sender.
-
:
(description)
—
[String] The description of the sender.
-
:
(logo_url)
—
[String] The logo URL of the sender.
-
:
(banner_url)
—
[String] The banner URL of the sender.
-
:
(privacy_url)
—
[String] The privacy URL of the sender. Must be a publicly accessible HTTP or HTTPS URI associated with the sender.
-
:
(terms_of_service_url)
—
[String] The terms of service URL of the sender.
-
:
(accent_color)
—
[String] The color theme of the sender. Must be in hex format and have at least a 4:5:1 contrast ratio against white.
-
:
(use_case)
—
[String] The messaging use case type for the RCS sender. Allowed values are
PROMOTIONAL,TRANSACTIONAL,OTP,MULTI_USE. Defaults toMULTI_USEif not provided. Cannot be modified after launch. -
:
(vertical)
—
[String] The vertical of the sender. Allowed values are: -
Alcohol-Automotive-Beauty, Spa and Salon-Clothing and Apparel-Education-Entertainment-Event Planning and Service-Finance and Banking-Food and Grocery-Hotel and Lodging-Matrimony Service-Medical and Health-Non-profit-Online Gambling-OTC Drugs-Other-Physical Gambling-Professional Services-Public Service-Restaurant-Shopping and Retail-Travel and Transportation -
:
(websites)
—
[Hash] The websites of the sender.
-
:
(emails)
—
[Hash] The emails of the sender.
-
:
(phone_numbers)
—
[Hash] The phone numbers of the sender.
37 38 39 |
# File 'lib/twilio-ruby/rest/messaging/v2/channels_sender.rb', line 37 def terms_of_service_url @terms_of_service_url end |
#use_case ⇒ Object
Parameters:
-
:
(name)
—
[String] The name of the sender. Required for WhatsApp senders and must follow Meta's display name guidelines. On update, a WhatsApp sender's name is not changed synchronously: it is submitted to Meta for review, and
profile.namecontinues to report the current active name until Meta approves the new one and the sender is automatically re-registered. Track progress withpending_display_name_statuson Fetch Sender, and seedisplay_name_statuson the update response for the immediate outcome. Re-submitting the same name is how you retry applying a name Meta has already approved, for example after correcting the sender's two-step verification PIN. Meta permits a limited number of display name changes per 30-day period. -
:
(about)
—
[String] The profile about text for the sender.
-
:
(address)
—
[String] The address of the sender.
-
:
(description)
—
[String] The description of the sender.
-
:
(logo_url)
—
[String] The logo URL of the sender.
-
:
(banner_url)
—
[String] The banner URL of the sender.
-
:
(privacy_url)
—
[String] The privacy URL of the sender. Must be a publicly accessible HTTP or HTTPS URI associated with the sender.
-
:
(terms_of_service_url)
—
[String] The terms of service URL of the sender.
-
:
(accent_color)
—
[String] The color theme of the sender. Must be in hex format and have at least a 4:5:1 contrast ratio against white.
-
:
(use_case)
—
[String] The messaging use case type for the RCS sender. Allowed values are
PROMOTIONAL,TRANSACTIONAL,OTP,MULTI_USE. Defaults toMULTI_USEif not provided. Cannot be modified after launch. -
:
(vertical)
—
[String] The vertical of the sender. Allowed values are: -
Alcohol-Automotive-Beauty, Spa and Salon-Clothing and Apparel-Education-Entertainment-Event Planning and Service-Finance and Banking-Food and Grocery-Hotel and Lodging-Matrimony Service-Medical and Health-Non-profit-Online Gambling-OTC Drugs-Other-Physical Gambling-Professional Services-Public Service-Restaurant-Shopping and Retail-Travel and Transportation -
:
(websites)
—
[Hash] The websites of the sender.
-
:
(emails)
—
[Hash] The emails of the sender.
-
:
(phone_numbers)
—
[Hash] The phone numbers of the sender.
37 38 39 |
# File 'lib/twilio-ruby/rest/messaging/v2/channels_sender.rb', line 37 def use_case @use_case end |
#vertical ⇒ Object
Parameters:
-
:
(name)
—
[String] The name of the sender. Required for WhatsApp senders and must follow Meta's display name guidelines. On update, a WhatsApp sender's name is not changed synchronously: it is submitted to Meta for review, and
profile.namecontinues to report the current active name until Meta approves the new one and the sender is automatically re-registered. Track progress withpending_display_name_statuson Fetch Sender, and seedisplay_name_statuson the update response for the immediate outcome. Re-submitting the same name is how you retry applying a name Meta has already approved, for example after correcting the sender's two-step verification PIN. Meta permits a limited number of display name changes per 30-day period. -
:
(about)
—
[String] The profile about text for the sender.
-
:
(address)
—
[String] The address of the sender.
-
:
(description)
—
[String] The description of the sender.
-
:
(logo_url)
—
[String] The logo URL of the sender.
-
:
(banner_url)
—
[String] The banner URL of the sender.
-
:
(privacy_url)
—
[String] The privacy URL of the sender. Must be a publicly accessible HTTP or HTTPS URI associated with the sender.
-
:
(terms_of_service_url)
—
[String] The terms of service URL of the sender.
-
:
(accent_color)
—
[String] The color theme of the sender. Must be in hex format and have at least a 4:5:1 contrast ratio against white.
-
:
(use_case)
—
[String] The messaging use case type for the RCS sender. Allowed values are
PROMOTIONAL,TRANSACTIONAL,OTP,MULTI_USE. Defaults toMULTI_USEif not provided. Cannot be modified after launch. -
:
(vertical)
—
[String] The vertical of the sender. Allowed values are: -
Alcohol-Automotive-Beauty, Spa and Salon-Clothing and Apparel-Education-Entertainment-Event Planning and Service-Finance and Banking-Food and Grocery-Hotel and Lodging-Matrimony Service-Medical and Health-Non-profit-Online Gambling-OTC Drugs-Other-Physical Gambling-Professional Services-Public Service-Restaurant-Shopping and Retail-Travel and Transportation -
:
(websites)
—
[Hash] The websites of the sender.
-
:
(emails)
—
[Hash] The emails of the sender.
-
:
(phone_numbers)
—
[Hash] The phone numbers of the sender.
37 38 39 |
# File 'lib/twilio-ruby/rest/messaging/v2/channels_sender.rb', line 37 def vertical @vertical end |
#websites ⇒ Object
Parameters:
-
:
(name)
—
[String] The name of the sender. Required for WhatsApp senders and must follow Meta's display name guidelines. On update, a WhatsApp sender's name is not changed synchronously: it is submitted to Meta for review, and
profile.namecontinues to report the current active name until Meta approves the new one and the sender is automatically re-registered. Track progress withpending_display_name_statuson Fetch Sender, and seedisplay_name_statuson the update response for the immediate outcome. Re-submitting the same name is how you retry applying a name Meta has already approved, for example after correcting the sender's two-step verification PIN. Meta permits a limited number of display name changes per 30-day period. -
:
(about)
—
[String] The profile about text for the sender.
-
:
(address)
—
[String] The address of the sender.
-
:
(description)
—
[String] The description of the sender.
-
:
(logo_url)
—
[String] The logo URL of the sender.
-
:
(banner_url)
—
[String] The banner URL of the sender.
-
:
(privacy_url)
—
[String] The privacy URL of the sender. Must be a publicly accessible HTTP or HTTPS URI associated with the sender.
-
:
(terms_of_service_url)
—
[String] The terms of service URL of the sender.
-
:
(accent_color)
—
[String] The color theme of the sender. Must be in hex format and have at least a 4:5:1 contrast ratio against white.
-
:
(use_case)
—
[String] The messaging use case type for the RCS sender. Allowed values are
PROMOTIONAL,TRANSACTIONAL,OTP,MULTI_USE. Defaults toMULTI_USEif not provided. Cannot be modified after launch. -
:
(vertical)
—
[String] The vertical of the sender. Allowed values are: -
Alcohol-Automotive-Beauty, Spa and Salon-Clothing and Apparel-Education-Entertainment-Event Planning and Service-Finance and Banking-Food and Grocery-Hotel and Lodging-Matrimony Service-Medical and Health-Non-profit-Online Gambling-OTC Drugs-Other-Physical Gambling-Professional Services-Public Service-Restaurant-Shopping and Retail-Travel and Transportation -
:
(websites)
—
[Hash] The websites of the sender.
-
:
(emails)
—
[Hash] The emails of the sender.
-
:
(phone_numbers)
—
[Hash] The phone numbers of the sender.
37 38 39 |
# File 'lib/twilio-ruby/rest/messaging/v2/channels_sender.rb', line 37 def websites @websites end |
Instance Method Details
#to_json(options = {}) ⇒ Object
54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 |
# File 'lib/twilio-ruby/rest/messaging/v2/channels_sender.rb', line 54 def to_json(options = {}) { "name": @name, "about": @about, "address": @address, "description": @description, "logo_url": @logo_url, "banner_url": @banner_url, "privacy_url": @privacy_url, "terms_of_service_url": @terms_of_service_url, "accent_color": @accent_color, "use_case": @use_case, "vertical": @vertical, "websites": @websites, "emails": @emails, "phone_numbers": @phone_numbers, }.to_json(options) end |