Skip to main content
Retrieves a paginated list of all broadcasts.

Methods

List

Lists all broadcasts using the default background context.

ListWithContext

Lists all broadcasts with a custom context for cancellation and timeout control.

ListWithOptions

Lists broadcasts with pagination options.

Query Parameters

When using ListWithOptions, you can pass a ListOptions struct with the following fields:
number
The maximum number of broadcasts to return per page.
number
The number of broadcasts to skip before starting to return results.

Response

string
The object type, always list.
Broadcast[]
An array of broadcast objects.
boolean
Indicates whether there are more broadcasts available beyond the current page.

Example

Example with pagination