ডেটা আমদানি করতে Google চ্যাট অ্যাপকে অনুমোদন করুন
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
Google Chat API-এর মাধ্যমে, অ্যাপগুলি আমদানি মোড স্পেস ব্যবহার করে Google Chat-এ অন্যান্য মেসেজিং প্ল্যাটফর্ম থেকে ডেটা আমদানি করতে পারে। আরও তথ্যের জন্য, অন্য পরিষেবা থেকে Google চ্যাটে বার্তা ডেটা আমদানি করুন দেখুন।
ইম্পোর্ট মোড স্পেসে রিসোর্স পড়তে এবং লিখতে, আপনাকে অবশ্যই একটি পরিষেবা অ্যাকাউন্ট দিয়ে চ্যাট অ্যাপগুলিকে প্রমাণীকরণ করতে হবে। পরিষেবা অ্যাকাউন্টটিকে একজন প্রশাসকের দ্বারা নিম্নলিখিত চ্যাট API অনুমোদনের সুযোগ প্রদান করুন: https://www.googleapis.com/auth/chat.import
।
শুধুমাত্র Google Workspace ডোমেন অ্যাডমিনিস্ট্রেটররাই ডোমেন-ওয়াইড ডেলিগেশনের মাধ্যমে পরিষেবা অ্যাকাউন্টগুলিতে এই OAuth সুযোগ প্রদান করতে পারেন। একটি চ্যাট অ্যাপ ইম্পোর্ট মোড স্পেস তৈরি করে এমন প্রতিটি ডোমেনে অবশ্যই এই OAuth সুযোগ থাকতে হবে। পরিষেবা অ্যাকাউন্টটিকে এই সুযোগের জন্য ডোমেন-ওয়াইড অথরিটি অর্পণ করার পরে, চ্যাট অ্যাপগুলি ব্যবহারকারীর অ্যাকাউন্টের ছদ্মবেশী করে আমদানি মোড স্পেসগুলি অ্যাক্সেস করতে পারে৷
কিছু পরিস্থিতিতে, ছদ্মবেশের জন্য ব্যবহারকারীর অ্যাকাউন্ট আর উপলব্ধ নাও হতে পারে৷ এই ক্ষেত্রে, চ্যাট অ্যাপ তাদের পরিষেবা অ্যাকাউন্টের শংসাপত্রগুলি ফলব্যাক হিসাবে ব্যবহার করতে পারে। উদাহরণস্বরূপ, আপনি যদি একটি ব্যবহারকারীর অ্যাকাউন্ট মুছে ফেলেন যা বার্তা তৈরির সময় ব্যবহার করা হয়েছিল, চ্যাট অ্যাপ একই বিষয়বস্তু সম্বলিত একটি বার্তা তৈরি করতে তাদের নিজস্ব পরিষেবা অ্যাকাউন্টের শংসাপত্র ব্যবহার করতে পারে। চ্যাট অ্যাপগুলি নিম্নলিখিত OAuth স্কোপের সাথে পরিষেবা অ্যাকাউন্টের শংসাপত্রগুলি ব্যবহার করে অ্যাপ হিসাবে আমদানি মোড স্পেসগুলি অ্যাক্সেস করতে পারে: https://www.googleapis.com/auth/chat.bot
।
কোনো ইম্পোর্ট মোড স্পেসে রিসোর্স ইম্পোর্ট করার সময় অন্য কোনো Google Chat API স্কোপের প্রয়োজন হয় না। চ্যাট অ্যাপগুলি শুধুমাত্র তাদের তৈরি করা ইম্পোর্ট মোড স্পেসে কন্টেন্ট ইম্পোর্ট করতে পারে, অন্য অ্যাপের তৈরি ইম্পোর্ট মোড স্পেসে নয়।
নিম্নলিখিত সারণীতে সেই রিসোর্স পদ্ধতিগুলি তালিকাভুক্ত করা হয়েছে যা চ্যাট অ্যাপগুলি ইম্পোর্ট মোড স্পেসে কল করতে পারে এবং তারা কী ধরনের প্রমাণীকরণ সমর্থন করে:
সম্পদ পদ্ধতি | ব্যবহারকারীর ছদ্মবেশ সমর্থিত | পরিষেবা অ্যাকাউন্ট শংসাপত্র সমর্থিত |
---|
spaces.create | হ্যাঁ | না |
spaces.get | না | হ্যাঁ |
spaces.update | হ্যাঁ | না |
spaces.delete | হ্যাঁ | না |
spaces.completeImport | হ্যাঁ | না |
spaces.messages.create | হ্যাঁ | হ্যাঁ |
spaces.messages.delete | হ্যাঁ | হ্যাঁ |
spaces.messages.get | না | হ্যাঁ |
spaces.messages.list | হ্যাঁ | না |
spaces.messages.update | হ্যাঁ | হ্যাঁ |
spaces.messages.reactions.create | হ্যাঁ | না |
spaces.messages.reactions.delete | হ্যাঁ | না |
spaces.members.create | হ্যাঁ | না |
spaces.members.delete | হ্যাঁ | না |
spaces.members.list | হ্যাঁ | না |
media.upload | হ্যাঁ | না |
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-08-29 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-08-29 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003eGoogle Chat API allows importing data from other platforms into Google Chat using import mode spaces.\u003c/p\u003e\n"],["\u003cp\u003eChat apps require specific authentication and authorization to read and write resources in these spaces, needing domain administrator approval.\u003c/p\u003e\n"],["\u003cp\u003eApps can impersonate user accounts or utilize their service account credentials for specific actions within import mode spaces.\u003c/p\u003e\n"],["\u003cp\u003eImport mode spaces support various resource methods with differing authentication requirements, as detailed in the provided table.\u003c/p\u003e\n"],["\u003cp\u003eChat apps can only import content into spaces they create and not into spaces created by other apps.\u003c/p\u003e\n"]]],["Apps use the Google Chat API's import mode to bring data from other platforms into Google Chat. This requires authentication with a service account granted the `https://www.googleapis.com/auth/chat.import` scope via domain-wide delegation by a Google Workspace admin. Apps can impersonate user accounts or use service account credentials (`https://www.googleapis.com/auth/chat.bot`). Only specific resource methods are supported in import mode spaces. Import mode is exclusive, meaning apps can only modify spaces they create.\n"],null,["# Authorize Google Chat apps to import data\n\nWith the Google Chat API, apps can import data from other messaging platforms into\nGoogle Chat by using *import mode* spaces. For more information, see\n[Import message data to Google Chat from another service](https://support.google.com/a/answer/13465849).\n\nTo read and write resources in import mode spaces, you must\n[authenticate Chat apps with a service account](/workspace/chat/authenticate-authorize-chat-app).\nGrant the service account the following Chat API authorization scope\nby an administrator: `https://www.googleapis.com/auth/chat.import`.\n\nOnly Google Workspace domain administrators can grant this OAuth scope to\nservice accounts through\n[domain-wide delegation](/identity/protocols/oauth2/service-account#delegatingauthority).\nEvery domain that a Chat app creates import mode spaces\nin must have this OAuth scope. After the service account has been delegated\ndomain-wide authority for this scope, Chat apps can access import\nmode spaces by\n[impersonating a user account](/identity/protocols/oauth2/service-account#authorizingrequests).\n\nIn some scenarios, the user account for impersonation might no longer be\navailable. In these cases, the Chat app can use their\nservice account credentials as a fallback. For example, if you delete a user\naccount that was used during message creation, the\nChat app can use their own service account credentials\nto create a message containing the same contents. Chat apps can\naccess import mode spaces as an app using service account credentials with the\nfollowing OAuth scope: `https://www.googleapis.com/auth/chat.bot`.\n\nNo other [Google Chat API scopes](/workspace/chat/authenticate-authorize#scopes)\nare required when importing resources into an import mode space.\nChat apps can only import content into the import mode spaces\nthat they create, and not into the import mode spaces created by other apps.\n\nThe following table lists the resource methods that Chat apps can\ncall in import mode spaces, and what kind of authentication they support:\n\n| Resource method | User impersonation supported | Service account credentials supported |\n|------------------------------------|------------------------------|---------------------------------------|\n| `spaces.create` | Yes | No |\n| `spaces.get` | No | Yes |\n| `spaces.update` | Yes | No |\n| `spaces.delete` | Yes | No |\n| `spaces.completeImport` | Yes | No |\n| `spaces.messages.create` | Yes | Yes |\n| `spaces.messages.delete` | Yes | Yes |\n| `spaces.messages.get` | No | Yes |\n| `spaces.messages.list` | Yes | No |\n| `spaces.messages.update` | Yes | Yes |\n| `spaces.messages.reactions.create` | Yes | No |\n| `spaces.messages.reactions.delete` | Yes | No |\n| `spaces.members.create` | Yes | No |\n| `spaces.members.delete` | Yes | No |\n| `spaces.members.list` | Yes | No |\n| `media.upload` | Yes | No |\n\nRelated topics\n--------------\n\n- To learn more about authentication and authorization, see [Authenticate and authorize Google Chat apps and API requests](/workspace/chat/authenticate-authorize).\n- To learn how to set up a service account to access the Google Chat API, see [Authenticate as a Google Chat app](/workspace/chat/authenticate-authorize-chat-app).\n- To learn how to start importing resources using import mode spaces, see [Import data to Google Chat](/workspace/chat/import-data)."]]