Skip to content

Commit 3b147d7

Browse files
ratijasivan tkachenko
andauthored
🤖 Merge PR DefinitelyTyped#72875 [node-telegram-bot-api] Add update Sticker and StickerSet interfaces by @ratijas
Co-authored-by: ivan tkachenko <[email protected]>
1 parent 2ec4a53 commit 3b147d7

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

‎types/node-telegram-bot-api/index.d.ts‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -911,22 +911,21 @@ declare namespace TelegramBot {
911911
is_video: boolean;
912912
width: number;
913913
height: number;
914-
thumb?: PhotoSize | undefined;
914+
thumbnail?: PhotoSize | undefined;
915915
emoji?: string | undefined;
916916
set_name?: string | undefined;
917917
premium_animation?: File | undefined;
918918
mask_position?: MaskPosition | undefined;
919919
custom_emoji_id?: string | undefined;
920+
needs_repainting?: boolean | undefined;
920921
}
921922

922923
interface StickerSet {
923924
name: string;
924925
title: string;
925926
sticker_type: StickerType;
926-
is_animated: boolean;
927-
is_video: boolean;
928927
stickers: Sticker[];
929-
thumb?: PhotoSize | undefined;
928+
thumbnail?: PhotoSize | undefined;
930929
}
931930

932931
interface CreateStickerSetOptions {

0 commit comments

Comments
 (0)