Edits history of script submission #6145 for ' Update Webinar (zoom)'

  • bun
    One script reply has been approved by the moderators
    Ap­pro­ved
    import zoomApi from 'zoomapi'
    
    type Zoom = {
    	accountId: string
    	oauthClientId: string
    	oauthClientSecret: string
    	webhookSecretToken: string
    }
    
    export async function main(
    	resource: Zoom,
    	webinarId: string,
    	webinar: {
    		uuid?: string
    		id?: number
    		host_id?: string
    		topic?: string
    		type?: 5 | 6 | 9
    		duration?: number
    		timezone?: string
    		created_at?: string
    		join_url?: string
    		agenda?: string
    		start_time?: string
    	}
    ) {
    	const client = zoomApi(resource)
    	const createdMeeting = await client.webinars.UpdateWebinar(webinarId, webinar)
    	return createdMeeting
    }
    

    Submitted by hugo697 399 days ago

  • bun
    import zoomApi from 'zoomapi'
    
    type Zoom = {
    	accountId: string
    	oauthClientId: string
    	oauthClientSecret: string
    	webhookSecretToken: string
    }
    
    export async function main(
    	resource: Zoom,
    	webinarId: string,
    	webinar: {
    		uuid?: string
    		id?: number
    		host_id?: string
    		topic?: string
    		type?: 5 | 6 | 9
    		duration?: number
    		timezone?: string
    		created_at?: string
    		join_url?: string
    		agenda?: string
    		start_time?: string
    	}
    ) {
    	const client = zoomApi(resource)
    	const createdMeeting = await client.webinars.UpdateWebinar(webinarId, webinar)
    	return createdMeeting
    }
    

    Submitted by hugo697 764 days ago