Class CalendarEventActionResponseBuilder
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
বিস্তারিত ডকুমেন্টেশন
add Attachments(attachments)
নির্দিষ্ট করে যে প্রতিক্রিয়াটি ক্যালেন্ডার ইভেন্টে সংযুক্তিগুলি যুক্ত করা উচিত যখন সংশ্লিষ্ট UI পদক্ষেপ নেওয়া হয়৷
পরামিতি
প্রত্যাবর্তন
Calendar Event Action Response Builder
— এই বস্তুটি, চেইনিংয়ের জন্য।
add Attendees(emails)
নির্দিষ্ট করে যে প্রতিক্রিয়াটি নির্দেশিত অংশগ্রহণকারীদের ক্যালেন্ডার ইভেন্টে যুক্ত করা উচিত যখন সংশ্লিষ্ট UI পদক্ষেপ নেওয়া হয়।
পরামিতি
নাম | টাইপ | বর্ণনা |
---|
emails | String[] | ইভেন্টে যোগ করার জন্য ইমেল ঠিকানাগুলির একটি অ্যারে৷ |
প্রত্যাবর্তন
Calendar Event Action Response Builder
— এই বস্তুটি, চেইনিংয়ের জন্য।
নিক্ষেপ করে
Error
— যদি অনেক বেশি অংশগ্রহণকারী যোগ করা হয়।
set Conference Data(conferenceData)
নির্দিষ্ট করে যে প্রতিক্রিয়াটি নির্দেশিত কনফারেন্স ডেটা ক্যালেন্ডার ইভেন্টে সেট করা উচিত যখন সংশ্লিষ্ট UI পদক্ষেপ নেওয়া হয়।
পরামিতি
নাম | টাইপ | বর্ণনা |
---|
conference Data | Conference Data | ইভেন্টে সেট করতে কনফারেন্স ডেটা, একটি অ্যাড অন দ্বারা তৈরি৷ |
প্রত্যাবর্তন
Calendar Event Action Response Builder
— এই বস্তুটি, চেইনিংয়ের জন্য।
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-07-25 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-07-25 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003e\u003ccode\u003eCalendarEventActionResponseBuilder\u003c/code\u003e helps in constructing responses for actions taken on Calendar events within Apps Script.\u003c/p\u003e\n"],["\u003cp\u003eIt provides methods to add attendees, attachments, and conference data to the event.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ebuild()\u003c/code\u003e method finalizes the response and ensures its validity before execution.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can chain methods together for a more fluent and readable code structure.\u003c/p\u003e\n"],["\u003cp\u003eResponses built using this object are ultimately represented by a \u003ccode\u003eCalendarEventActionResponse\u003c/code\u003e instance.\u003c/p\u003e\n"]]],["The `CalendarEventActionResponseBuilder` allows building responses for Calendar event actions. Key actions include adding attachments (`addAttachments`) and attendees (`addAttendees`) to a calendar event, setting conference data (`setConferenceData`), and constructing the final response (`build`). `addAttachments` takes an array of attachments. `addAttendees` accepts an array of email addresses. `setConferenceData` uses `ConferenceData` objects. `build` validates and returns the configured `CalendarEventActionResponse`.\n"],null,["# Class CalendarEventActionResponseBuilder\n\nCalendarEventActionResponseBuilder\n\nA builder for [CalendarEventActionResponse](/apps-script/reference/card-service/calendar-event-action-response) objects. \n\n### Methods\n\n| Method | Return type | Brief description |\n|-------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------|\n| [addAttachments(attachments)](#addAttachments(Attachment)) | [CalendarEventActionResponseBuilder](#) | Specifies that the response should add the attachments to the Calendar event when the associated UI action is taken. |\n| [addAttendees(emails)](#addAttendees(String)) | [CalendarEventActionResponseBuilder](#) | Specifies that the response should add the indicated attendees to the Calendar event when the associated UI action is taken. |\n| [build()](#build()) | [CalendarEventActionResponse](/apps-script/reference/card-service/calendar-event-action-response) | Builds the current Calendar event action response and validates it. |\n| [setConferenceData(conferenceData)](#setConferenceData(ConferenceData)) | [CalendarEventActionResponseBuilder](#) | Specifies that the response should set the indicated conference data to the Calendar event when the associated UI action is taken. |\n\nDetailed documentation\n----------------------\n\n### `add``Attachments(attachments)`\n\nSpecifies that the response should add the attachments to the Calendar event when the\nassociated UI action is taken.\n\n#### Parameters\n\n| Name | Type | Description |\n|---------------|----------------------------------------------------------------|-----------------------------------------------------------------------------------|\n| `attachments` | [Attachment[]](/apps-script/reference/card-service/attachment) | An array of [Attachment](/apps-script/reference/card-service/attachment)s to add. |\n\n#### Return\n\n\n[CalendarEventActionResponseBuilder](#) --- This object, for chaining.\n\n*** ** * ** ***\n\n### `add``Attendees(emails)`\n\nSpecifies that the response should add the indicated attendees to the Calendar event when the\nassociated UI action is taken.\n\n#### Parameters\n\n| Name | Type | Description |\n|----------|------------|--------------------------------------------------|\n| `emails` | `String[]` | An array of email addresses to add to the event. |\n\n#### Return\n\n\n[CalendarEventActionResponseBuilder](#) --- This object, for chaining.\n\n#### Throws\n\n\n[`Error`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error) --- If too many attendees have been added.\n\n*** ** * ** ***\n\n### `build()`\n\nBuilds the current Calendar event action response and validates it.\n\n#### Return\n\n\n[CalendarEventActionResponse](/apps-script/reference/card-service/calendar-event-action-response) --- A validated [CalendarEventActionResponse](/apps-script/reference/card-service/calendar-event-action-response).\n\n#### Throws\n\n\n[`Error`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error) --- If the constructed Calendar event action response isn't valid.\n\n*** ** * ** ***\n\n### `set``Conference``Data(conferenceData)`\n\nSpecifies that the response should set the indicated conference data to the Calendar event when\nthe associated UI action is taken.\n\n#### Parameters\n\n| Name | Type | Description |\n|--------------------|-----------------------------------------------------------|------------------------------------------------------------|\n| `conference``Data` | [ConferenceData](../conference-data/conference-data.html) | Conference data to set to the event, created by an add on. |\n\n#### Return\n\n\n[CalendarEventActionResponseBuilder](#) --- This object, for chaining."]]