src/api/ChannelsAPI.js
/**
   * POST /channels/{channelId}/silence
   *
   * Play silence to a channel. Using media operations such as /play on a
   * channel playing silence in this manner will suspend silence without
   * resuming it automatically.
   *
   * @param {object} params
   * @param {string} params.channelId The id of the channel to play silence to.
   * @returns {Promise} Resolves when the silence is successfully playing to
   *  the channel. Rejects when the channel is not found (status 404) or the
   *  channel is not in a stasis application (status 409).
   */
POST /channels/{channelId}/silence
Play silence to a channel. Using media operations such as /play on a
channel playing silence in this manner will suspend silence without
resuming it automatically.

@param {object} params
@param {string} params.channelId The id of the channel to play silence to.
@returns {Promise} Resolves when the silence is successfully playing to
the channel. Rejects when the channel is not found (status 404) or the
channel is not in a stasis application (status 409).
POST / channels / { channelId } / silence Play silence to a channel . Using media operations such as / play on a channel playing silence in this manner will suspend silence without resuming it automatically . @param { object } params @param { string } params . channelId The id of the channel to play silence to . @returns { Promise } Resolves when the silence is successfully playing to the channel . Rejects when the channel is not found ( status 404 ) or the channel is not in a stasis application ( status 409 ) .
startSilence(params) {
    const { channelId } = params;
    const id = encodeURIComponent(channelId);
    return this._request({
      method: "POST",
      url: `${this._baseUrl}/channels/${id}/silence`,
    });
  }
startSilence ( params ) { const { channelId } = params ; const id = encodeURIComponent ( channelId ) ; return this . _request ( { method : "POST" , url : ` ${ this . _baseUrl } ${ id } ` , } ) ; }
POST /channels/{channelId}/silence
 Play silence to a channel.
POST / channels / { channelId } / silence Play silence to a channel .