LiveChatModerators
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
แหล่งข้อมูล liveChatModerator
แสดงถึงผู้ดูแลแชทสดของ YouTube ผู้ดูแลแชทสามารถแบนหรือเลิกแบนผู้ใช้จากแชท นําข้อความออก และดําเนินการการดูแลระบบอื่นๆ สําหรับแชทสดได้
วิธีการ
API รองรับวิธีต่อไปนี้สําหรับทรัพยากร liveChatModerators
รายการ คําขอทั้งหมดต้องได้รับอนุญาตจากเจ้าของช่องแชทสด
- list
- ผู้ดูแลแชทสําหรับแชทสด
ลองใช้เลย
- แทรก
- เพิ่มผู้ดูแลใหม่สําหรับแชท
ลองใช้เลย
- ลบ
- นําผู้ดูแลแชทออก
ลองใช้เลย
พร็อพเพอร์ตี้
ตารางต่อไปนี้กําหนดพร็อพเพอร์ตี้ที่ปรากฏในทรัพยากรนี้
พร็อพเพอร์ตี้ |
kind |
string
ระบุประเภทของทรัพยากร API ค่านี้จะเป็น youtube#liveChatModerator |
etag |
etag
Etag ของทรัพยากรนี้ |
id |
string
รหัสที่ YouTube กําหนดให้เพื่อระบุผู้ดูแลที่ไม่ซ้ํากัน |
snippet |
object
ออบเจ็กต์ snippet จะมีรายละเอียดเกี่ยวกับผู้ดูแล |
snippet.moderatorDetails |
object
ออบเจ็กต์นี้มีรายละเอียดเกี่ยวกับผู้ดูแล |
snippet.moderatorDetails.channelId |
string
รหัสช่อง YouTube ของผู้ดูแล |
snippet.moderatorDetails.channelUrl |
string
URL ช่อง YouTube ของผู้ดูแล |
snippet.moderatorDetails.displayName |
string
ชื่อที่แสดงของช่อง YouTube ของผู้ดูแล |
snippet.moderatorDetails.profileImageUrl |
string
URL รูปโปรไฟล์ของช่อง YouTube ของผู้ดูแล |
snippet.liveChatId |
string
รหัสของแชทสดที่ผู้ดูแลมีสิทธิ์ดูแล รหัสแชทสดที่เชื่อมโยงกับการออกอากาศจะแสดงในพร็อพเพอร์ตี้ snippet.liveChatId ของทรัพยากร liveBroadcast |
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2023-02-22 UTC
[[["เข้าใจง่าย","easyToUnderstand","thumb-up"],["แก้ปัญหาของฉันได้","solvedMyProblem","thumb-up"],["อื่นๆ","otherUp","thumb-up"]],[["ไม่มีข้อมูลที่ฉันต้องการ","missingTheInformationINeed","thumb-down"],["ซับซ้อนเกินไป/มีหลายขั้นตอนมากเกินไป","tooComplicatedTooManySteps","thumb-down"],["ล้าสมัย","outOfDate","thumb-down"],["ปัญหาเกี่ยวกับการแปล","translationIssue","thumb-down"],["ตัวอย่าง/ปัญหาเกี่ยวกับโค้ด","samplesCodeIssue","thumb-down"],["อื่นๆ","otherDown","thumb-down"]],["อัปเดตล่าสุด 2023-02-22 UTC"],[[["`liveChatModerator` resources represent individuals with the authority to manage a YouTube live chat, including banning/unbanning users and removing messages."],["The API provides methods to list, add, and delete moderators for a live chat, requiring authorization from the live chat's channel owner."],["The `liveChatModerator` resource includes properties like `moderatorDetails`, `liveChatId`, `kind`, `etag`, and `id`, providing comprehensive information about each moderator."],["The `moderatorDetails` section of the resource provides specific information about the moderator, such as their channel ID, URL, display name, and profile image URL."]]],["`liveChatModerator` resources manage YouTube live chat moderators. Moderators can ban/unban users and remove messages. The API methods include: `list` to view moderators, `insert` to add new ones, and `delete` to remove them. Each moderator resource contains properties like `kind`, `etag`, and `id`, alongside `snippet` details such as `moderatorDetails` (including `channelId`, `channelUrl`, `displayName`, and `profileImageUrl`) and the associated `liveChatId`. All requests require authorization from the live chat's channel owner.\n"]]