Method: customEmojis.create
HTTP অনুরোধ
POST https://chat.googleapis.com/v1/customEmojis
URL gRPC ট্রান্সকোডিং সিনট্যাক্স ব্যবহার করে।
শরীরের অনুরোধ
অনুরোধের অংশে CustomEmoji
এর একটি উদাহরণ রয়েছে।
প্রতিক্রিয়া শরীর
সফল হলে, রেসপন্স বডিতে CustomEmoji
একটি নতুন তৈরি ইনস্ট্যান্স থাকে।
অনুমোদনের সুযোগ
নিম্নলিখিত OAuth সুযোগ প্রয়োজন:
-
https://www.googleapis.com/auth/chat.customemojis
আরও তথ্যের জন্য, অনুমোদন নির্দেশিকা দেখুন।
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2024-10-21 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2024-10-21 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["This Developer Preview feature enables the creation of custom emojis in Google Chat."],["It necessitates user authentication and uses the `chat.customemojis` OAuth scope."],["The feature functions through an HTTP POST request, utilizing gRPC Transcoding, and involves request and response bodies containing the `CustomEmoji` object."],["To explore its functionality, refer to the \"Try it!\" section within the documentation."]]],["This document outlines how to create a custom emoji using the Google Chat API. A `POST` request to `https://chat.googleapis.com/v1/customEmojis` is required, with the request body containing `CustomEmoji` data. Successful requests return a new `CustomEmoji` instance in the response body. This action is available through the Google Workspace Developer Preview Program and requires user authentication and the `https://www.googleapis.com/auth/chat.customemojis` OAuth scope. The API uses gRPC Transcoding.\n"]]