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 { normalizeToInputChannel } from '../utils/peer-utils'
|
||||||
import { extractChannelIdFromUpdate } from '../utils/misc-utils'
|
import { extractChannelIdFromUpdate } from '../utils/misc-utils'
|
||||||
import { MtArgumentError, PeersIndex } from '../types'
|
import { MtArgumentError, PeersIndex } from '../types'
|
||||||
import { _parseUpdate } from '../utils/parse-update'
|
import { _parseUpdate } from '../types/updates/parse-update'
|
||||||
|
|
||||||
// @copy
|
// @copy
|
||||||
import { ConditionVariable } from '@mtcute/core/src/utils/condition-variable'
|
import { ConditionVariable } from '@mtcute/core/src/utils/condition-variable'
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import { tl } from '@mtcute/tl'
|
import { tl } from '@mtcute/tl'
|
||||||
|
|
||||||
import { TelegramClient } from '../client'
|
import { TelegramClient } from '../../client'
|
||||||
import {
|
import {
|
||||||
BotChatJoinRequestUpdate,
|
BotChatJoinRequestUpdate,
|
||||||
BotStoppedUpdate,
|
BotStoppedUpdate,
|
||||||
|
@ -18,7 +18,7 @@ import {
|
||||||
PollVoteUpdate,
|
PollVoteUpdate,
|
||||||
UserStatusUpdate,
|
UserStatusUpdate,
|
||||||
UserTypingUpdate,
|
UserTypingUpdate,
|
||||||
} from '../types'
|
} from '../index'
|
||||||
|
|
||||||
type ParserFunction = (
|
type ParserFunction = (
|
||||||
client: TelegramClient,
|
client: TelegramClient,
|
Loading…
Reference in a new issue