new_releases আপডেট : নতুন বৈশিষ্ট্য এবং পণ্য আপডেটের জন্য
রিলিজ নোট চেক করুন।
RCS Business Messaging API
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
পরিষেবা: rcsbusinessmessaging.googleapis.com
এই পরিষেবাটি কল করার জন্য, আমরা আপনাকে Google-প্রদত্ত নমুনাগুলি ব্যবহার করার পরামর্শ দিই৷ যদি আপনার অ্যাপ্লিকেশনটিকে এই পরিষেবাটি কল করার জন্য আপনার নিজস্ব লাইব্রেরি ব্যবহার করতে হয়, আপনি API অনুরোধ করার সময় নিম্নলিখিত তথ্য ব্যবহার করুন৷
আবিষ্কার নথি
একটি ডিসকভারি ডকুমেন্ট হল একটি মেশিন-পাঠযোগ্য স্পেসিফিকেশন যা REST API-এর বর্ণনা এবং ব্যবহার করার জন্য। এটি ক্লায়েন্ট লাইব্রেরি, IDE প্লাগইন এবং অন্যান্য টুল তৈরি করতে ব্যবহৃত হয় যা Google API-এর সাথে ইন্টারঅ্যাক্ট করে। একটি পরিষেবা একাধিক আবিষ্কারের নথি প্রদান করতে পারে। এই পরিষেবা নিম্নলিখিত আবিষ্কার নথি প্রদান করে:
পরিষেবা শেষ পয়েন্ট
একটি পরিষেবা শেষ পয়েন্ট হল একটি বেস URL যা একটি API পরিষেবার নেটওয়ার্ক ঠিকানা নির্দিষ্ট করে৷ একটি পরিষেবার একাধিক পরিষেবা শেষ পয়েন্ট থাকতে পারে। এই পরিষেবাটির নিম্নলিখিত পরিষেবা শেষ পয়েন্ট রয়েছে এবং নীচের সমস্ত URIগুলি এই পরিষেবার শেষ পয়েন্টের সাথে সম্পর্কিত:
-
https://rcsbusinessmessaging.googleapis.com
পদ্ধতি |
---|
create | POST /v1/files POST /upload/v1/files মিডিয়া বা রিচ কার্ড বার্তাগুলিতে ব্যবহারের জন্য একটি ফাইল আপলোড করে৷ |
পদ্ধতি |
---|
getCapabilities | GET /v1/{name=phones/*}/capabilities ব্যবহারকারীর RBM-সম্পর্কিত ক্ষমতা পান। |
পদ্ধতি |
---|
create | POST /v1/{parent=phones/*}/agentEvents এজেন্ট থেকে একজন ব্যবহারকারীর কাছে একটি ইভেন্ট পাঠায়। |
পদ্ধতি |
---|
create | POST /v1/{parent=phones/*}/agentMessages এজেন্ট থেকে একজন ব্যবহারকারীকে একটি বার্তা পাঠায়। |
delete | DELETE /v1/{name=phones/*/agentMessages/*} একটি এজেন্ট বার্তা প্রত্যাহার করে যা পাঠানো হয়েছে কিন্তু এখনও বিতরণ করা হয়নি৷ |
পদ্ধতি |
---|
requestCapabilityCallback (deprecated) | POST /v1/{name=phones/*}/capability:requestCapabilityCallback একজন ব্যবহারকারীর ক্ষমতা সম্বলিত একটি কলব্যাকের অনুরোধ করে। |
পদ্ধতি |
---|
create | POST /v1/{parent=phones/*}/dialogflowMessages একটি ডায়ালগফ্লো এজেন্টকে একটি RBM এজেন্টের মাধ্যমে বার্তা পাঠাতে অনুরোধ করে। |
পদ্ধতি |
---|
create | POST /v1/{parent=phones/*}/testers একজন ব্যবহারকারীকে একজন এজেন্ট পরীক্ষা করার জন্য আমন্ত্রণ জানায়। |
পদ্ধতি |
---|
batchGet | POST /v1/users:batchGet ব্যবহারকারীদের একটি তালিকার জন্য RCS-সক্ষম ফোন নম্বর পায়। |
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2024-10-25 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2024-10-25 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003eThe service \u003ccode\u003ercsbusinessmessaging.googleapis.com\u003c/code\u003e uses a Discovery Document for API specifications, with a specific document available at \u003ccode\u003e<https://rcsbusinessmessaging.googleapis.com/$discovery/rest?version=v1>\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe service endpoint for \u003ccode\u003ercsbusinessmessaging.googleapis.com\u003c/code\u003e is \u003ccode\u003ehttps://rcsbusinessmessaging.googleapis.com\u003c/code\u003e, serving as the base URL for all relative URIs.\u003c/p\u003e\n"],["\u003cp\u003eThe API supports various methods for interacting with files, including uploading files via \u003ccode\u003ePOST /v1/files\u003c/code\u003e or \u003ccode\u003ePOST /upload/v1/files\u003c/code\u003e, in addition to managing agent-to-user messages and events, and checking user capabilities.\u003c/p\u003e\n"],["\u003cp\u003eThis API also enables interactions with Dialogflow agents and allows for managing testers for the agent.\u003c/p\u003e\n"],["\u003cp\u003eThe API offers methods to retrieve RCS-enabled phone numbers from a list of users using \u003ccode\u003ePOST /v1/users:batchGet\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# RCS Business Messaging API\n\nService: rcsbusinessmessaging.googleapis.com\n--------------------------------------------\n\nTo call this service, we recommend that you use the Google-provided [samples](/business-communications/rcs-business-messaging/samples). If your application needs to use your own libraries to call this service, use the following information when you make the API requests.\n\n### Discovery document\n\nA [Discovery Document](https://developers.google.com/discovery/v1/reference/apis) is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery document:\n\n- \u003chttps://rcsbusinessmessaging.googleapis.com/$discovery/rest?version=v1\u003e\n\n### Service endpoint\n\nA [service endpoint](https://cloud.google.com/apis/design/glossary#api_service_endpoint) is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:\n\n- `https://rcsbusinessmessaging.googleapis.com`\n\nREST Resource: [v1.files](/business-communications/rcs-business-messaging/reference/rest/v1/files)\n--------------------------------------------------------------------------------------------------\n\n| Methods ||\n|------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------|\n| [create](/business-communications/rcs-business-messaging/reference/rest/v1/files/create) | `POST /v1/files` `POST /upload/v1/files` Uploads a file for use in media or rich card messages. |\n\nREST Resource: [v1.phones](/business-communications/rcs-business-messaging/reference/rest/v1/phones)\n----------------------------------------------------------------------------------------------------\n\n| Methods ||\n|-------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------|\n| [getCapabilities](/business-communications/rcs-business-messaging/reference/rest/v1/phones/getCapabilities) | `GET /v1/{name=phones/*}/capabilities` Get the RBM-related capabilities of a user. |\n\nREST Resource: [v1.phones.agentEvents](/business-communications/rcs-business-messaging/reference/rest/v1/phones.agentEvents)\n----------------------------------------------------------------------------------------------------------------------------\n\n| Methods ||\n|-------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------|\n| [create](/business-communications/rcs-business-messaging/reference/rest/v1/phones.agentEvents/create) | `POST /v1/{parent=phones/*}/agentEvents` Sends an event from the agent to a user. |\n\nREST Resource: [v1.phones.agentMessages](/business-communications/rcs-business-messaging/reference/rest/v1/phones.agentMessages)\n--------------------------------------------------------------------------------------------------------------------------------\n\n| Methods ||\n|---------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------|\n| [create](/business-communications/rcs-business-messaging/reference/rest/v1/phones.agentMessages/create) | `POST /v1/{parent=phones/*}/agentMessages` Sends a message from the agent to a user. |\n| [delete](/business-communications/rcs-business-messaging/reference/rest/v1/phones.agentMessages/delete) | `DELETE /v1/{name=phones/*/agentMessages/*}` Revokes an agent message that has been sent but not yet delivered. |\n\nREST Resource: [v1.phones.capability](/business-communications/rcs-business-messaging/reference/rest/v1/phones.capability)\n--------------------------------------------------------------------------------------------------------------------------\n\n| Methods ||\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------|\n| [requestCapabilityCallback](/business-communications/rcs-business-messaging/reference/rest/v1/phones.capability/requestCapabilityCallback)` ` **(deprecated)** | `POST /v1/{name=phones/*}/capability:requestCapabilityCallback` Requests a callback containing the capabilities of a user. |\n\nREST Resource: [v1.phones.dialogflowMessages](/business-communications/rcs-business-messaging/reference/rest/v1/phones.dialogflowMessages)\n------------------------------------------------------------------------------------------------------------------------------------------\n\n| Methods ||\n|--------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------|\n| [create](/business-communications/rcs-business-messaging/reference/rest/v1/phones.dialogflowMessages/create) | `POST /v1/{parent=phones/*}/dialogflowMessages` Prompts a [Dialogflow](https://dialogflow.com) agent to send messages through an RBM agent. |\n\nREST Resource: [v1.phones.testers](/business-communications/rcs-business-messaging/reference/rest/v1/phones.testers)\n--------------------------------------------------------------------------------------------------------------------\n\n| Methods ||\n|---------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------|\n| [create](/business-communications/rcs-business-messaging/reference/rest/v1/phones.testers/create) | `POST /v1/{parent=phones/*}/testers` Invites a user to test an agent. |\n\nREST Resource: [v1.users](/business-communications/rcs-business-messaging/reference/rest/v1/users)\n--------------------------------------------------------------------------------------------------\n\n| Methods ||\n|----------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------|\n| [batchGet](/business-communications/rcs-business-messaging/reference/rest/v1/users/batchGet) | `POST /v1/users:batchGet` Gets the RCS-enabled phone numbers for a list of users. |"]]