fix(): change botName to name

This commit is contained in:
Morb0
2021-01-05 12:42:41 +03:00
parent 6b89126b43
commit 5fe60dc5b2
2 changed files with 4 additions and 10 deletions

View File

@@ -24,7 +24,7 @@ export interface TelegrafOptionsFactory {
export interface TelegrafModuleAsyncOptions
extends Pick<ModuleMetadata, 'imports'> {
botName?: string;
name?: string;
useExisting?: Type<TelegrafOptionsFactory>;
useClass?: Type<TelegrafOptionsFactory>;
useFactory?: (