Viber 12.8.1 on Mac OS has no option to turn off the icon in the top menu. How this icon can be disabled using the terminal? I got rid of the Skype icon in the top menu with the following command:
LC_ALL=C sed -i '' -e "s/this._tray =/\\/\\/is._tray =/" -e "s/this._trayBaseToolTip =/return;\\/\\/yBaseToolTip =/" /Applications/Skype.app/Contents/Resources/app.asar
There may be a way for Viber to do that.