Method: customEmojis.get
Permintaan HTTP
GET https://chat.googleapis.com/v1/{name=customEmojis/*}
URL menggunakan sintaksis gRPC Transcoding.
Parameter jalur
Parameter |
name |
string
Wajib. Nama resource emoji kustom. Format: customEmojis/{customEmoji} Anda dapat menggunakan nama emoji sebagai alias untuk {customEmoji} . Misalnya, customEmojis/:example-emoji: dengan :example-emoji: adalah nama emoji untuk emoji kustom.
|
Isi permintaan
Isi permintaan harus kosong.
Isi respons
Jika berhasil, isi respons memuat instance CustomEmoji
.
Cakupan otorisasi
Memerlukan salah satu cakupan OAuth berikut:
https://www.googleapis.com/auth/chat.customemojis
https://www.googleapis.com/auth/chat.customemojis.readonly
Untuk informasi selengkapnya, lihat Panduan otorisasi.
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2024-11-04 UTC.
[null,null,["Terakhir diperbarui pada 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."]]],[]]