Skip to content

Commit

Permalink
439c00b558f55c1455e173fe3432211e969f5b79
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Apr 10, 2024
1 parent 7522bcb commit a901aa1
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion esm/types/0_chat_photo.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ export interface _ChatPhotoBase {
bigFileUniqueId: string;
/** Whether the chat photo is animated. */
hasVideo: boolean;
strippedThumbnail?: Uint8Array;
}
/** @unlisted */
export interface ChatPhotoUser extends _ChatPhotoBase {
Expand Down
2 changes: 0 additions & 2 deletions esm/types/0_chat_photo.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ export function constructChatPhoto(photo, chatId, chatAccessHash) {
bigFileId,
bigFileUniqueId,
hasVideo: photo.has_video || false,
strippedThumbnail: photo.stripped_thumb,
});
}
else {
Expand All @@ -53,7 +52,6 @@ export function constructChatPhoto(photo, chatId, chatAccessHash) {
bigFileId,
bigFileUniqueId,
hasVideo: photo.has_video || false,
strippedThumbnail: photo.stripped_thumb,
});
}
}
1 change: 0 additions & 1 deletion script/types/0_chat_photo.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ export interface _ChatPhotoBase {
bigFileUniqueId: string;
/** Whether the chat photo is animated. */
hasVideo: boolean;
strippedThumbnail?: Uint8Array;
}
/** @unlisted */
export interface ChatPhotoUser extends _ChatPhotoBase {
Expand Down
2 changes: 0 additions & 2 deletions script/types/0_chat_photo.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ function constructChatPhoto(photo, chatId, chatAccessHash) {
bigFileId,
bigFileUniqueId,
hasVideo: photo.has_video || false,
strippedThumbnail: photo.stripped_thumb,
});
}
else {
Expand All @@ -56,7 +55,6 @@ function constructChatPhoto(photo, chatId, chatAccessHash) {
bigFileId,
bigFileUniqueId,
hasVideo: photo.has_video || false,
strippedThumbnail: photo.stripped_thumb,
});
}
}
Expand Down

0 comments on commit a901aa1

Please sign in to comment.