Embed code:
<script src="https://andchir.github.io/api2app-chat-widget/api2app-chat-widget.js"></script>
<script>
const chatWidget = new Api2AppChatWidget(
'https://api2app.org/ru/apps/embed/your-app-embed-id', {
buttonColor: '#007bff',
hoverColor: '#0056b3',
position: 'bottom-right', // bottom-right, bottom-left, top-right, top-left
useBackDrop: true,
width: 350,
height: 465,
tooltipText: 'Открыть чат', // Optional tooltip text
hoverButtons: [ // Optional hover buttons that appear on hover
{buttonColor: '#25d366', hoverColor: '#128c7e', tooltipText: 'Позвоните нам!', href: 'https://example.com', icon: '<svg />'},
{buttonColor: '#0088cc', hoverColor: '#036ca1', tooltipText: 'Мы в Телеграм!', href: 'https://example.com', icon: '<svg />'}
]
});
</script>