umbot
    Preparing search index...
    • Определяет универсальный тип события по типу сообщения Viber.

      Parameters

      • type: string | undefined

        Поле message.type из события Viber ('text', 'picture', 'video', 'file', 'contact', 'location', 'sticker', 'rich_media', …)

      Returns TEventType

      TEventType (см. umbot / src/core/events.ts): 'document' для file; audio и остальные типы без отдельной ветки распознаются как 'message'