fix: correctly pass disableUpdates
to constructor
This commit is contained in:
parent
2a34a681f0
commit
e567966f67
4 changed files with 4 additions and 0 deletions
|
@ -68,6 +68,7 @@ export class TelegramClient extends TelegramClientBase {
|
||||||
|
|
||||||
super({
|
super({
|
||||||
client: new BaseTelegramClient(opts),
|
client: new BaseTelegramClient(opts),
|
||||||
|
disableUpdates: opts.disableUpdates,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -68,6 +68,7 @@ export class TelegramClient extends TelegramClientBase {
|
||||||
|
|
||||||
super({
|
super({
|
||||||
client: new BaseTelegramClient(opts),
|
client: new BaseTelegramClient(opts),
|
||||||
|
disableUpdates: opts.disableUpdates,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -82,6 +82,7 @@ export class TelegramClient extends TelegramClientBase {
|
||||||
|
|
||||||
super({
|
super({
|
||||||
client: new BaseTelegramClient(opts),
|
client: new BaseTelegramClient(opts),
|
||||||
|
disableUpdates: opts.disableUpdates,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -64,6 +64,7 @@ export class TelegramClient extends TelegramClientBase {
|
||||||
|
|
||||||
super({
|
super({
|
||||||
client: new BaseTelegramClient(opts),
|
client: new BaseTelegramClient(opts),
|
||||||
|
disableUpdates: opts.disableUpdates,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue