Class ActionResponse

অ্যাকশন রেসপন্স

অ্যাড-অনগুলি কার্ড বা হোস্ট অ্যাপ্লিকেশনে যে ক্রিয়াগুলি ব্যবহার করতে পারে।

Google Workspace অ্যাড-অনগুলির জন্য উপলব্ধ যা Google Chat প্রসারিত করে।

const notification = AddOnsResponseService.newNotification().setText("You closed a dialog!");

const navigation = AddOnsResponseService.newNavigation()
    .setEndNavigation(AddOnsResponseService.EndNavigation.CLOSE_DIALOG);

// An action that closes the dialog and shows a notification.
const action = AddOnsResponseService.newActionResponseBuilder()
    .setNavigation(navigation)
    .setNotification(notification)
    .build();

পদ্ধতি

পদ্ধতি রিটার্ন টাইপ সংক্ষিপ্ত বিবরণ
print Json() String এই অবজেক্টের JSON উপস্থাপনা প্রিন্ট করে।

বিস্তারিত ডকুমেন্টেশন

print Json()

এই অবজেক্টের JSON উপস্থাপনা প্রিন্ট করে। এটি শুধুমাত্র ডিবাগিংয়ের জন্য।

প্রত্যাবর্তন

String