TelegramClientOptions: (PartialOnly<Omit<BaseTelegramClientOptions, "storage">, "transport" | "crypto"> & {
    storage?: string | ITelegramStorageProvider;
} | {
    client: ITelegramClient;
}) & {
    disableUpdates?: boolean;
    skipConversationUpdates?: boolean;
    updates?: Omit<ParsedUpdateHandlerParams, "onUpdate">;
}

Type declaration

  • OptionaldisableUpdates?: boolean

    If true, all API calls will be wrapped with tl.invokeWithoutUpdates, effectively disabling the server-sent events for the clients. May be useful in some cases.

    false
    
  • OptionalskipConversationUpdates?: boolean

    If true, the updates that were handled by some Conversation will not be dispatched any further.

    true
    
  • Optionalupdates?: Omit<ParsedUpdateHandlerParams, "onUpdate">