When using the message initialization option, if there are duplicates of contacts, then a duplicate contact can initiate its own chat and in the future, when combining these contacts (we have a widget Combining duplicate contacts), the final one will have several chats. We have made a solution that can remove duplicates of channels (chats). For example, if you have two identical Telegram chats open. The widget does not delete channels with different sources, for example, if the channels are open in Telegram and it leaves them in Viber, the widget deletes chats from one source.
If this widget does not solve all the tasks and requires improvement, we can refine it for you.