Google Cloud Ces V1 Client - Class WhatsAppConfig (0.3.0)

Reference documentation and code samples for the Google Cloud Ces V1 Client class WhatsAppConfig.

Configuration specific to WhatsApp deployments.

Generated from protobuf message google.cloud.ces.v1.ChannelProfile.WhatsAppConfig

Namespace

Google \ Cloud \ Ces \ V1 \ ChannelProfile

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ waba_id string

Required. The WhatsApp Business Account ID.

↳ phone_number_id string

Required. The Meta phone number ID.

↳ phone_number string

Optional. The phone number in E.164 format.

↳ display_name string

Output only. The fetched Meta business page name.

↳ thumbnail_url string

Output only. The fetched Meta business profile thumbnail URL.

↳ description string

Output only. The description of the Meta business page or profile.

getWabaId

Required. The WhatsApp Business Account ID.

Returns
Type Description
string

setWabaId

Required. The WhatsApp Business Account ID.

Parameter
Name Description
var string
Returns
Type Description
$this

getPhoneNumberId

Required. The Meta phone number ID.

Returns
Type Description
string

setPhoneNumberId

Required. The Meta phone number ID.

Parameter
Name Description
var string
Returns
Type Description
$this

getPhoneNumber

Optional. The phone number in E.164 format.

Returns
Type Description
string

setPhoneNumber

Optional. The phone number in E.164 format.

Parameter
Name Description
var string
Returns
Type Description
$this

getDisplayName

Output only. The fetched Meta business page name.

Returns
Type Description
string

setDisplayName

Output only. The fetched Meta business page name.

Parameter
Name Description
var string
Returns
Type Description
$this

getThumbnailUrl

Output only. The fetched Meta business profile thumbnail URL.

Returns
Type Description
string

setThumbnailUrl

Output only. The fetched Meta business profile thumbnail URL.

Parameter
Name Description
var string
Returns
Type Description
$this

getDescription

Output only. The description of the Meta business page or profile.

Returns
Type Description
string

setDescription

Output only. The description of the Meta business page or profile.

Parameter
Name Description
var string
Returns
Type Description
$this