From 9d8d090c9c6cd5be1f7b578b2f6a6387544f3359 Mon Sep 17 00:00:00 2001 From: didinele Date: Wed, 17 Mar 2021 10:02:14 +0200 Subject: [PATCH] fix(RESTPostAPIChannelMessageJSONBody): mark `tts` as a full boolean (#96) --- deno/v8/rest/channel.ts | 2 +- v8/rest/channel.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/deno/v8/rest/channel.ts b/deno/v8/rest/channel.ts index d51cc0db..4a14c2a7 100644 --- a/deno/v8/rest/channel.ts +++ b/deno/v8/rest/channel.ts @@ -162,7 +162,7 @@ export interface RESTPostAPIChannelMessageJSONBody { /** * `true` if this is a TTS message */ - tts?: true; + tts?: boolean; /** * Embedded `rich` content * diff --git a/v8/rest/channel.ts b/v8/rest/channel.ts index 0f69c883..449e88c1 100644 --- a/v8/rest/channel.ts +++ b/v8/rest/channel.ts @@ -162,7 +162,7 @@ export interface RESTPostAPIChannelMessageJSONBody { /** * `true` if this is a TTS message */ - tts?: true; + tts?: boolean; /** * Embedded `rich` content *