From bb3f114aa34dd50602da794dcb3aa3f28a5a2ed9 Mon Sep 17 00:00:00 2001 From: Luan Date: Sat, 26 Oct 2024 17:40:35 -0300 Subject: [PATCH] fix(LiveChat#sendMessage): Switch to `WEB` client Android no longer works properly with TV OAuth tokens. --- src/parser/youtube/LiveChat.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/parser/youtube/LiveChat.ts b/src/parser/youtube/LiveChat.ts index 7df94aafd..ad3a7dc05 100644 --- a/src/parser/youtube/LiveChat.ts +++ b/src/parser/youtube/LiveChat.ts @@ -267,7 +267,7 @@ export default class LiveChat extends EventEmitter { const response = await this.#actions.execute('/live_chat/send_message', { richMessage: { textSegments: [ { text } ] }, clientMessageId: Platform.shim.uuidv4(), - client: 'ANDROID', + client: 'WEB', parse: true, params });