Method: customEmojis.get
Żądanie HTTP
GET https://chat.googleapis.com/v1/{name=customEmojis/*}
Adres URL używa składni transkodowania gRPC.
Parametry ścieżki
Parametry |
name |
string
Wymagane. Nazwa zasobu niestandardowego emotikona. Format: customEmojis/{customEmoji} Możesz użyć nazwy emotikonu jako aliasu elementu {customEmoji} . Przykład: customEmojis/:example-emoji: , gdzie :example-emoji: to nazwa niestandardowego emotikona.
|
Treść żądania
Treść żądania musi być pusta.
Treść odpowiedzi
W przypadku powodzenia treść odpowiedzi obejmuje wystąpienie elementu CustomEmoji
.
Zakresy autoryzacji
Wymaga jednego z tych zakresów protokołu OAuth:
https://www.googleapis.com/auth/chat.customemojis
https://www.googleapis.com/auth/chat.customemojis.readonly
Więcej informacji znajdziesz w przewodniku na temat autoryzacji.
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2024-11-04 UTC.
[null,null,["Ostatnia aktualizacja: 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."]]],[]]