<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def attach_many(self, *medias: typing.Union[InputMedia, typing.Dict]):
 """ Attach list of media :param medias: """

        for media in medias:
            self.attach(media)