getChannels

suspend fun getChannels(page: Int = 0, pageSize: Int = DEFAULT_PAGE_SIZE): VoiceChannelPage

Fetches the available voice channels.

Return

A VoiceChannelPage containing the available voice channels.

Parameters

page

Page to be fetched.

pageSize

Maximum number of channels to fetch per page.

Throws

If the request cannot be completed.


Fetches the available voice channels using cursor pagination and optional filters.