refactor(client): moved parse-update.ts to types/updates
This commit is contained in:
parent
77f1429b05
commit
f5986e694a
2 changed files with 3 additions and 3 deletions
|
@ -13,7 +13,7 @@ import { TelegramClient } from '../client'
|
|||
import { normalizeToInputChannel } from '../utils/peer-utils'
|
||||
import { extractChannelIdFromUpdate } from '../utils/misc-utils'
|
||||
import { MtArgumentError, PeersIndex } from '../types'
|
||||
import { _parseUpdate } from '../utils/parse-update'
|
||||
import { _parseUpdate } from '../types/updates/parse-update'
|
||||
|
||||
// @copy
|
||||
import { ConditionVariable } from '@mtcute/core/src/utils/condition-variable'
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { tl } from '@mtcute/tl'
|
||||
|
||||
import { TelegramClient } from '../client'
|
||||
import { TelegramClient } from '../../client'
|
||||
import {
|
||||
BotChatJoinRequestUpdate,
|
||||
BotStoppedUpdate,
|
||||
|
@ -18,7 +18,7 @@ import {
|
|||
PollVoteUpdate,
|
||||
UserStatusUpdate,
|
||||
UserTypingUpdate,
|
||||
} from '../types'
|
||||
} from '../index'
|
||||
|
||||
type ParserFunction = (
|
||||
client: TelegramClient,
|
Loading…
Reference in a new issue