Method: customEmojis.get
คำขอ HTTP
GET https://chat.googleapis.com/v1/{name=customEmojis/*}
URL ใช้ไวยากรณ์การแปลง gRPC
พารามิเตอร์เส้นทาง
พารามิเตอร์ |
name |
string
ต้องระบุ ชื่อทรัพยากรของอีโมจิที่กำหนดเอง รูปแบบ: customEmojis/{customEmoji} คุณสามารถใช้ชื่ออีโมจิเป็นชื่อแทนสำหรับ {customEmoji} ได้ ตัวอย่างเช่น customEmojis/:example-emoji: โดยที่ :example-emoji: เป็นชื่ออีโมจิสำหรับอีโมจิที่กำหนดเอง
|
เนื้อหาของคำขอ
เนื้อหาของคำขอต้องว่างเปล่า
เนื้อหาการตอบกลับ
หากทำสำเร็จ เนื้อหาการตอบกลับจะมีอินสแตนซ์ CustomEmoji
ขอบเขตการให้สิทธิ์
ต้องใช้ขอบเขต OAuth ต่อไปนี้
https://www.googleapis.com/auth/chat.customemojis
https://www.googleapis.com/auth/chat.customemojis.readonly
สำหรับข้อมูลเพิ่มเติม โปรดดูที่คู่มือการให้สิทธิ์
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-11-04 UTC
[null,null,["อัปเดตล่าสุด 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."]]],[]]