zoom_api/
deprecated_api_endpoints.rs

1use crate::Client;
2use crate::ClientResult;
3
4pub struct DeprecatedApiEndpoints {
5    pub client: Client,
6}
7
8impl DeprecatedApiEndpoints {
9    #[doc(hidden)]
10    pub fn new(client: Client) -> Self {
11        DeprecatedApiEndpoints { client }
12    }
13
14    /**
15     * List past meeting's files.
16     *
17     * This function performs a `GET` to the `/past_meetings/{meetingId}/files` endpoint.
18     *
19     * **Note: This API has been deprecated and is no longer supported due to GCM encryption updates for security purposes.** To learn about saving the in-meeting chat files via Zoom Client, refer to the [Saving in-meeting chat](https://support.zoom.us/hc/en-us/articles/115004792763-Saving-in-meeting-chat) guide.
20     *
21     * List files sent via in-meeting chat during a meeting. The in-meeting files are deleted after 24 hours of the meeting completion time.
22     * <br><br>
23     * **Scope:** `meeting:read`, `meeting:read:admin`<br>
24     *
25     *  **[Rate Limit Label](https://marketplace.zoom.us/docs/api-reference/rate-limits#rate-limits):** `Medium`
26     *
27     * **Parameters:**
28     *
29     * * `meeting_id: i64` -- The meeting ID in **long** format. The data type of this field is "long"(represented as int64 in JSON).
30     *   
31     *   While storing it in your database, store it as a **long** data type and **not as an integer**, as the Meeting IDs can be longer than 10 digits.
32     */
33    pub async fn list_past_meeting_files(
34        &self,
35        meeting_id: &str,
36    ) -> ClientResult<crate::Response<crate::types::ListPastMeetingFilesResponse>> {
37        let url = self.client.url(
38            &format!(
39                "/past_meetings/{}/files",
40                crate::progenitor_support::encode_path(meeting_id),
41            ),
42            None,
43        );
44        self.client
45            .get(
46                &url,
47                crate::Message {
48                    body: None,
49                    content_type: None,
50                },
51            )
52            .await
53    }
54    /**
55     * List past webinar files.
56     *
57     * This function performs a `GET` to the `/past_webinars/{webinarId}/files` endpoint.
58     *
59     * **Note: This API has been deprecated and is no longer supported due to GCM encryption updates for security purposes.**
60     *
61     * List files sent via in-meeting chat during a meeting. The in-meeting files are deleted after 24 hours of the meeting completion time.
62     * <br><br>
63     * **Scope:** `webinar:read`, `webinar:read:admin`<br>
64     *
65     *  **[Rate Limit Label](https://marketplace.zoom.us/docs/api-reference/rate-limits#rate-limits):** `Medium`<br>
66     *
67     *
68     *
69     * **Parameters:**
70     *
71     * * `webinar_id: &str` -- User's first name.
72     */
73    pub async fn list_past_webinar_files(
74        &self,
75        webinar_id: &str,
76    ) -> ClientResult<crate::Response<crate::types::ListPastMeetingFilesResponse>> {
77        let url = self.client.url(
78            &format!(
79                "/past_webinars/{}/files",
80                crate::progenitor_support::encode_path(webinar_id),
81            ),
82            None,
83        );
84        self.client
85            .get(
86                &url,
87                crate::Message {
88                    body: None,
89                    content_type: None,
90                },
91            )
92            .await
93    }
94}