@toil/vk-audio - v0.0.5
    Preparing search index...

    Class VKAudio

    Index
    client: BaseClient
    lang: VKLang
    refreshSettings: VKAudioRefreshSettings
    • Get search suggestions

      Parameters

      • query: string

        Search query

      Returns Promise<string[]>

    • Get section

      Parameters

      • sectionId: string

        Id of the section

      • OptionalstartFrom: string

        Id of the offset

      Returns Promise<AudioSection>

    • Get available sections

      Parameters

      • OptionalownerId: string

        User or community id. If not specified, current user audios will be returned

      Returns Promise<AudioSectionList>

      need_blocks param

    • Get section raw data

      Parameters

      • sectionId: string

        Id of the section

      • OptionalstartFrom: string

        Id of the offset

      Returns Promise<GetAudioSectionData>

    • Get available sections raw data

      Parameters

      • OptionalownerId: string

        User or community id. If not specified, current user audios will be returned

      Returns Promise<GetAudioData>

      need_blocks param

    • Search audio

      Parameters

      • query: string

        Search query

      • Optionaloffset: number

        Offset for search results

      Returns Promise<SearchAudioData>