The API reference for Update Chat settings has two query parameters with user ID requirement.
|broadcaster_id||Yes||String||The ID of the broadcaster whose chat settings you want to update. This ID must match the user ID associated with the user OAuth token.|
|moderator_id||Yes||String||The ID of a user that has permission to moderate the broadcaster’s chat room. This ID must match the user ID associated with the user OAuth token. If the broadcaster wants to update their own settings (instead of having the moderator do it), set this parameter to the broadcaster’s ID, too.|
What’s the point of two different ID parameters if they both have to match the OAuth token?
Or is the documentation wrong and it only requires a broadcaster_id that the moderator_id has moderator rights to?