Pergunta de entrevista da empresa Careem

In the second interview: -SOLID Principles - They asked me to design a chat system. What APIs would you need, what class would you write?