Skip to content

fetchRoomGiftsFromEulerRoute

const fetchRoomGiftsFromEulerRoute: HttpRoute<RoomGiftsFromEulerRouteParams, RoomGiftsResponse>

Defined in: src/lib/web/routes/euler/fetch-room-gifts-euler.ts:23

Fetches the list of gifts available in a TikTok LIVE room from Euler Stream’s premium endpoint. If roomId is not provided, the roomId currently set on the webClient is used.

apiClient

The Euler Stream API client to use for the request.

webClient

The HTTP client instance, used as the source of roomId when one is not provided.

roomId

The ID of the room whose gift list to fetch. Optional if the webClient has a roomId context.

webcastLanguage

Optional language used to localize the returned gift names and descriptions.