opt_in_phone_number¶
Operation¶
opt_in_phone_number
async
¶
opt_in_phone_number(input: OptInPhoneNumberInput, plugins: list[Plugin] | None = None) -> OptInPhoneNumberOutput
Use this request to opt in a phone number that is opted out, which enables you to resume sending SMS messages to the number.
You can opt in a phone number only once every 30 days.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
OptInPhoneNumberInput
|
An instance of |
required |
plugins
|
list[Plugin] | None
|
A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations. |
None
|
Returns:
| Type | Description |
|---|---|
OptInPhoneNumberOutput
|
An instance of |
Input¶
OptInPhoneNumberInput
dataclass
¶
Output¶
OptInPhoneNumberOutput
dataclass
¶
The response for the OptInPhoneNumber action.