is it possible to use the same module with different view in the same page?

  chat, module, php, symfony

I have created a module in Thelia, which is working very well.
Now, this module I want to modify and to use as a small chat window too enter image description here
y ide how to do this?
the large chat window I want to link with another API and small chat window with different API.
Do you have an

<div class="mat-typography">

Source: Symfony Questions