• Find a folder by its parameter.

    Note: Searching by title and/or emoji might not be accurate since you can set the same title and/or emoji to multiple folders.

    Parameters

    • client: ITelegramClient
    • params: { emoji?: string; id?: number; title?: string }

      Search parameters. At least one must be set.

      • Optionalemoji?: string

        Folder emoji

      • Optionalid?: number

        Folder ID

      • Optionaltitle?: string

        Folder title

    Returns Promise<tl.RawDialogFilter | null>