LiveChatModerators
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
liveChatModerator
リソースは、YouTube チャットのモデレーターを表します。チャット モデレーターは、チャットに対するユーザーの参加禁止または停止解除、メッセージの削除、その他の管理操作を行うことができます。
Methods
API は、liveChatModerators
リソースについて以下のメソッドをサポートしています。すべてのリクエストは、チャットのチャンネルの所有者が承認する必要があります。
- list
- チャットの管理メンバーを一覧表示します。
今すぐ試す
- 挿入
- チャットに新しいモデレーターが追加されます。今すぐ試す
- delete
- チャット モデレーターを削除します。
今すぐ試す
プロパティ
次の表は、このリソースで使用されているプロパティの定義を示したものです。
プロパティ |
kind |
string
API リソースのタイプを識別します。値は youtube#liveChatModerator です。 |
etag |
etag
このリソースの Etag。 |
id |
string
モデレーターを一意に識別するために YouTube が割り当てる ID。 |
snippet |
object
snippet オブジェクトには、モデレーターに関する詳細が含まれます。 |
snippet.moderatorDetails |
object
このオブジェクトには、モデレーターに関する詳細が含まれています。 |
snippet.moderatorDetails.channelId |
string
モデレーターの YouTube チャンネル ID。 |
snippet.moderatorDetails.channelUrl |
string
モデレーターの YouTube チャンネルの URL。 |
snippet.moderatorDetails.displayName |
string
モデレーターの YouTube チャンネルの表示名。 |
snippet.moderatorDetails.profileImageUrl |
string
モデレーターの YouTube チャンネルのアバター URL。 |
snippet.liveChatId |
string
モデレーターが管理する権限があるチャットの ID。ブロードキャストに関連付けられているチャット ID は、liveBroadcast リソースの snippet.liveChatId プロパティで返されます。 |
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 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"]]