When it shows that you was online a moment ago or many minutes ago, does this mean that you have been chatting on Viber those minutes/moments ago? If not, what else could it mean, if you haven't been chatting on Viber?
No, the time shown means that a user has WiFi/Data connection active and available on Viber that time ago. Viber doesn't give you information about the operations a user might have. This time strictly refers to the online part, when a user enabled his/her WiFi connection to check the messages on Viber or any other chat application.