How to send 2 or more photos downloaded from telegram to OpenAI to be analized as one?

How can I send two or more photos downloaded from Telegram to OpenAI to be analyzed as one input? Right now, when I download two photos from Telegram and send them to OpenAI, I get two separate outputs — one for each photo.