Method: customEmojis.get
Richiesta HTTP
GET https://chat.googleapis.com/v1/{name=customEmojis/*}
L'URL utilizza la sintassi di transcodifica gRPC.
Parametri del percorso
Parametri |
name |
string
Obbligatorio. Nome risorsa dell'emoji personalizzata. Formato: customEmojis/{customEmoji} Puoi usare il nome dell'emoji come alias per {customEmoji} . Ad esempio, customEmojis/:example-emoji: , dove :example-emoji: è il nome dell'emoji personalizzata.
|
Corpo della richiesta
Il corpo della richiesta deve essere vuoto.
Corpo della risposta
In caso di esito positivo, il corpo della risposta contiene un'istanza di CustomEmoji
.
Ambiti di autorizzazione
Richiede uno dei seguenti ambiti OAuth:
https://www.googleapis.com/auth/chat.customemojis
https://www.googleapis.com/auth/chat.customemojis.readonly
Per ulteriori informazioni, consulta la Guida all'autorizzazione.
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2024-11-04 UTC.
[null,null,["Ultimo aggiornamento 2024-11-04 UTC."],[[["This feature lets you retrieve details about a specific custom emoji using the emoji name or ID."],["You can access this feature during the Google Workspace Developer Preview Program and it requires user authentication."],["The request is made via a `GET` method to a specific URL with the emoji name or ID."],["The response will contain information on the custom emoji in the `CustomEmoji` format."],["You'll need specific authorization scopes related to custom emojis to use this functionality."]]],["This document outlines how to retrieve details about a custom emoji via the Google Chat API. It utilizes a `GET` HTTP request to `https://chat.googleapis.com/v1/{name=customEmojis/*}`, requiring a resource name in the path parameter `name`. The request body must be empty. A successful response returns a `CustomEmoji` instance. User authentication is mandatory, needing one of the specified OAuth scopes, and the process is part of the Google Workspace Developer Preview Program.\n"]]