diff --git a/packages/client/src/client.ts b/packages/client/src/client.ts index 2cdf04ba..8e6932bf 100644 --- a/packages/client/src/client.ts +++ b/packages/client/src/client.ts @@ -160,6 +160,7 @@ import { ChatsIndex, Dialog, FileDownloadParameters, + GameHighScore, InputChatPermissions, InputFileLike, InputInlineResult, diff --git a/packages/client/src/methods/_imports.ts b/packages/client/src/methods/_imports.ts index 4dce8e3b..06cebd30 100644 --- a/packages/client/src/methods/_imports.ts +++ b/packages/client/src/methods/_imports.ts @@ -37,7 +37,8 @@ import { ChatEvent, ChatInviteLink, UsersIndex, - ChatsIndex + ChatsIndex, + GameHighScore } from '../types' // @copy diff --git a/packages/client/src/methods/bots/get-game-high-scores.ts b/packages/client/src/methods/bots/get-game-high-scores.ts index 13e746b8..ac491dc1 100644 --- a/packages/client/src/methods/bots/get-game-high-scores.ts +++ b/packages/client/src/methods/bots/get-game-high-scores.ts @@ -1,6 +1,9 @@ import { TelegramClient } from '../../client' -import { InputPeerLike, MtCuteInvalidPeerTypeError } from '../../types' -import { GameHighScore } from '../../types/bots/game-high-score' +import { + InputPeerLike, + MtCuteInvalidPeerTypeError, + GameHighScore, +} from '../../types' import { tl } from '@mtcute/tl' import { createUsersChatsIndex, diff --git a/packages/client/src/types/bots/index.ts b/packages/client/src/types/bots/index.ts index 5d91c796..3b44ff18 100644 --- a/packages/client/src/types/bots/index.ts +++ b/packages/client/src/types/bots/index.ts @@ -3,3 +3,4 @@ export * from './input' export * from './keyboards' export * from './inline-query' export * from './callback-query' +export * from './game-high-score'