LiveChatModerators
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Zasób liveChatModerator
reprezentuje moderatora czatu na żywo w YouTube. Moderator czatu może banować i odbanować użytkowników, usuwać wiadomości oraz wykonywać inne działania administracyjne dotyczące czatu na żywo.
Metody
Interfejs API obsługuje te metody dotyczące zasobów liveChatModerators
: Wszystkie żądania muszą być autoryzowane przez właściciela kanału czatu na żywo.
- list
- Wyświetla listę moderatorów czatu na żywo.
Wypróbuj teraz
- insert
- Dodaje nowego moderatora czatu.
Wypróbuj teraz
- usuń
- Usuwanie moderatora czatu.
Wypróbuj teraz
Właściwości
Właściwości występujące w tym zasobie są opisane w tabeli poniżej:
Właściwości |
kind |
string Określa typ zasobu interfejsu API. Wartość będzie wynosić youtube#liveChatModerator . |
etag |
etag Etag tego zasobu. |
id |
string Identyfikator przypisany przez YouTube do jednoznacznego zidentyfikowania moderatora. |
snippet |
object
Obiekt snippet zawiera informacje o moderatorze. |
snippet.moderatorDetails |
object Ten obiekt zawiera informacje o moderatorze. |
snippet.moderatorDetails.channelId |
string Identyfikator kanału YouTube moderatora. |
snippet.moderatorDetails.channelUrl |
string Adres URL kanału YouTube moderatora |
snippet.moderatorDetails.displayName |
string Wyświetlana nazwa kanału YouTube moderatora. |
snippet.moderatorDetails.profileImageUrl |
string Adres URL awatara kanału YouTube moderatora. |
snippet.liveChatId |
string Identyfikator czatu na żywo, który moderator może administrować. Identyfikator czatu na żywo powiązany z transmisją jest zwracany w właściwości snippet.liveChatId zasobu liveBroadcast . |
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: 2025-06-19 UTC.
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 2025-06-19 UTC."],[[["\u003cp\u003e\u003ccode\u003eliveChatModerator\u003c/code\u003e resources represent individuals with the authority to manage a YouTube live chat, including banning/unbanning users and removing messages.\u003c/p\u003e\n"],["\u003cp\u003eThe API provides methods to list, add, and delete moderators for a live chat, requiring authorization from the live chat's channel owner.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eliveChatModerator\u003c/code\u003e resource includes properties like \u003ccode\u003emoderatorDetails\u003c/code\u003e, \u003ccode\u003eliveChatId\u003c/code\u003e, \u003ccode\u003ekind\u003c/code\u003e, \u003ccode\u003eetag\u003c/code\u003e, and \u003ccode\u003eid\u003c/code\u003e, providing comprehensive information about each moderator.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003emoderatorDetails\u003c/code\u003e section of the resource provides specific information about the moderator, such as their channel ID, URL, display name, and profile image URL.\u003c/p\u003e\n"]]],["`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"],null,[]]