Skip to main content

PhoneAutoReceptionists

Struct PhoneAutoReceptionists 

Source
pub struct PhoneAutoReceptionists {
    pub client: Client,
}

Fields§

§client: Client

Implementations§

Source§

impl PhoneAutoReceptionists

Source

pub async fn update_auto_receptionist( &self, auto_receptionist_id: &str, body: &UpdateAutoReceptionistRequest, ) -> Result<Response<()>, ClientError>

Update auto receptionist details.

This function performs a PATCH to the /phone/auto_receptionists/{autoReceptionistId} endpoint.

An auto receptionist answers calls with a personalized recording and routes calls to a phone user, call queue, common area phone, or voicemail. An auto receptionist can also be set up so that it routes calls to an interactive voice response (IVR) system to allow callers to select the routing options.
Use this API to change information such as display name and extension number assigned to the main auto receptionist.

Prerequisites:

  • Pro or higher account with Zoom Phone license.
    Scopes: phone:write:admin

Rate Limit Label: Light

Parameters:

  • auto_receptionist_id: &str – Unique Identifier of the Auto Receptionist. It can be retrieved from the List Sites API.
Source

pub async fn assign_phone_numbers_auto_receptionist( &self, auto_receptionist_id: &str, body: &AddByocNumberResponse, ) -> Result<Response<()>, ClientError>

Assign phone numbers.

This function performs a POST to the /phone/auto_receptionists/{autoReceptionistId}/phone_numbers endpoint.

Assign available phone numbers to an auto receptionist. The available numbers can be retrieved using the List Phone Numbers API with type query parameter set to “unassigned”.

Prerequisites:

  • Pro or higher account plan with Zoom Phone License
  • Account owner or admin permissions
    Scopes: phone:write:admin

Rate Limit Label: Light

Parameters:

  • auto_receptionist_id: &str – Unique Identifier of the Auto Receptionist. It can be retrieved from the List Sites API.
Source

pub async fn unassign_all_phone_nums_auto_receptionist( &self, auto_receptionist_id: &str, ) -> Result<Response<()>, ClientError>

Unassign all phone numbers.

This function performs a DELETE to the /phone/auto_receptionists/{autoReceptionistId}/phone_numbers endpoint.

Unassign all phone numbers that were previously assigned to an auto receptionist.

Prerequisites:

  • Pro or higher account plan with Zoom Phone License
  • Account owner or admin permissions
    Scopes: phone:write:admin

Rate Limit Label: Light

Source

pub async fn unassign_phone_num_auto_receptionist( &self, auto_receptionist_id: &str, phone_number_id: &str, ) -> Result<Response<()>, ClientError>

Unassign a phone number.

This function performs a DELETE to the /phone/auto_receptionists/{autoReceptionistId}/phone_numbers/{phoneNumberId} endpoint.

Unassign a specific phone number that was previously assigned to an auto receptionist.

Prerequisites:

  • Pro or higher account plan with Zoom Phone License
  • Account owner or admin permissions
    Scopes: phone:write:admin

Rate Limit Label: Light

Parameters:

  • auto_receptionist_id: &str – Unique identifier of the auto receptionist. This can be retrieved from the List Phone Sites API.
  • phone_number_id: &str – Unique Identifier of the phone number or provide the actual phone number in e164 format (example: +19995550123).
Source

pub async fn add_auto_receptionist( &self, body: &AddAutoReceptionistRequest, ) -> Result<Response<AddAutoReceptionistResponse>, ClientError>

Add an auto receptionist.

This function performs a POST to the /phone/auto_receptionists endpoint.

Auto receptionists answer calls with a personalized recording and routes calls to a phone user, call queue, common area phone, voicemail or an IVR system. Use this API to add an auto receptionist to a Zoom Phone.

Prerequisites:

  • Pro or higher account with Zoom Phone license.
    Scopes: phone:write:admin
    Rate Limit Label: Light

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> PolicyExt for T
where T: ?Sized,

Source§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Sized + Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow only if self and other return Action::Follow. Read more
Source§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Sized + Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow if either self or other returns Action::Follow. Read more
Source§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more