Method: customEmojis.create
HTTP-Anfrage
POST https://chat.googleapis.com/v1/customEmojis
Die URL verwendet die Syntax der gRPC-Transcodierung.
Anfragetext
Der Anfragetext enthält eine Instanz von CustomEmoji
.
Antworttext
Bei Erfolg enthält der Antworttext eine neu erstellte Instanz von CustomEmoji
.
Autorisierungsbereiche
Erfordert den folgenden OAuth-Bereich:
https://www.googleapis.com/auth/chat.customemojis
Weitere Informationen finden Sie im Leitfaden zur Autorisierung.
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2025-05-07 (UTC).
[null,null,["Zuletzt aktualisiert: 2025-05-07 (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"]]