AI-generated Key Takeaways
-
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.
Creates a custom emoji.
Custom emojis are only available for Google Workspace accounts, and the administrator must turn custom emojis on for the organization. For more information, see Learn about custom emojis in Google Chat and Manage custom emoji permissions.
Requires user authentication with the authorization scope:
https://www.googleapis.com/auth/chat.customemojis
HTTP request
POST https://chat.googleapis.com/v1/customEmojis
The URL uses gRPC Transcoding syntax.
Request body
The request body contains an instance of CustomEmoji
.
Response body
If successful, the response body contains a newly created instance of CustomEmoji
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/chat.customemojis
For more information, see the Authorization guide.