# This file was auto-generated by Fern from our API Definition.

import typing

import typing_extensions
from .error import ErrorParams
from .retrieve_channel_response import RetrieveChannelResponseParams


class BulkRetrieveChannelsResponseParams(typing_extensions.TypedDict):
    """
    Defines the fields that are included in the request body for the
    [BulkRetrieveChannels](api-endpoint:Channels-BulkRetrieveChannels) endpoint.
    """

    errors: typing_extensions.NotRequired[typing.Sequence[ErrorParams]]
    """
    Information about errors encountered during the request.
    """

    responses: typing_extensions.NotRequired[typing.Dict[str, RetrieveChannelResponseParams]]
    """
    A map of channel IDs to channel responses which tell whether
    retrieval for a specific channel is success or not.
    Channel response of a success retrieval would contain channel info
    whereas channel response of a failed retrieval would have error info.
    """
